1 00:00:00,940 --> 00:00:07,300 Pelosi in this lecture we are going to perform some basic karad functions. 2 00:00:07,380 --> 00:00:10,130 Crowd meaning create read. 3 00:00:10,170 --> 00:00:12,030 Date and delete. 4 00:00:12,030 --> 00:00:16,300 So will perform a couple of these functions. 5 00:00:17,600 --> 00:00:24,400 So I'm going to log in as this standard Apex user wishes Joe Blogs. 6 00:00:32,000 --> 00:00:33,530 Put my password in 7 00:00:37,430 --> 00:00:41,520 and then click on the log in tab so I am logged in as Joe Blogs. 8 00:00:41,900 --> 00:00:46,690 So you know there's a lot you can perform with this application. 9 00:00:46,700 --> 00:00:55,720 You can do a search save file wanted to search for anyone called smitt typists me and click on go. 10 00:00:56,150 --> 00:00:59,590 And it took giving me a return. 11 00:00:59,600 --> 00:01:00,900 Off to Rose. 12 00:01:00,920 --> 00:01:07,430 So there are two people quod Smith in this application say. 13 00:01:07,490 --> 00:01:09,680 I wanted to say it for everyone. 14 00:01:09,790 --> 00:01:15,960 Hallward see James. 15 00:01:17,680 --> 00:01:18,200 Okay. 16 00:01:18,230 --> 00:01:18,920 Nothing. 17 00:01:18,920 --> 00:01:26,110 Not in fownes house just see Brown Brown it's another common name. 18 00:01:28,350 --> 00:01:31,330 K. Let's go but one. 19 00:01:32,910 --> 00:01:33,710 Whoops. 20 00:01:33,810 --> 00:01:42,640 I have logged in tubful combi cookie let's for loose surname Brown looking girl. 21 00:01:43,200 --> 00:01:45,270 No data found. 22 00:01:45,360 --> 00:01:49,430 K we have found Smith. 23 00:01:49,680 --> 00:01:53,090 We did a search for Smith earlier. 24 00:01:54,720 --> 00:01:57,480 Okay let's go back. 25 00:01:58,940 --> 00:02:00,580 A map one again. 26 00:02:00,710 --> 00:02:01,840 Anyway this is where. 27 00:02:01,850 --> 00:02:07,220 So for example we've got a laimbeer called King call Austin. 28 00:02:07,640 --> 00:02:09,590 You know there's more rows here. 29 00:02:09,590 --> 00:02:15,190 You can escape so rather than if you wanted to search for answers. 30 00:02:15,190 --> 00:02:24,710 David let's see how many people caught David here this David on their actions are different things he 31 00:02:24,710 --> 00:02:25,070 can do. 32 00:02:25,070 --> 00:02:26,820 You can filter. 33 00:02:28,190 --> 00:02:29,000 Okay. 34 00:02:29,030 --> 00:02:31,200 Saying here. 35 00:02:32,180 --> 00:02:35,060 What does that cross says remore field. 36 00:02:35,050 --> 00:02:42,470 I mean that there are filters applied so you can remove the filter if you wish. 37 00:02:42,470 --> 00:02:49,190 Anyway this is a search field for searching for items within the application so you can search for things 38 00:02:49,190 --> 00:02:51,670 like name and stuff. 39 00:02:51,890 --> 00:02:54,130 There are you can use this actions here. 40 00:02:54,140 --> 00:02:56,400 You can select the column names. 41 00:02:56,840 --> 00:03:03,350 You can apply a filter you can select the range and or kind of thing so feel free to try some of these 42 00:03:03,350 --> 00:03:04,290 options. 43 00:03:04,510 --> 00:03:10,970 If you are going to create a new record you be using this quick button and you'll be filling out the 44 00:03:10,970 --> 00:03:19,860 records inside the form based on the format already in the table right. 45 00:03:19,880 --> 00:03:22,910 She wanted to add date an existing record. 46 00:03:22,910 --> 00:03:25,090 You click on this button here. 47 00:03:25,100 --> 00:03:31,940 Notice that the standard user hasn't called direct access to the database so don't be doing stuff with 48 00:03:31,940 --> 00:03:32,720 the application. 49 00:03:32,720 --> 00:03:38,310 True the application interface we should this so you click on that to edit. 50 00:03:38,360 --> 00:03:44,430 It for example they wanted to you've got the summary here. 51 00:03:44,590 --> 00:03:47,840 This column is hidden. 52 00:03:47,840 --> 00:03:51,800 You can make amendments here if you wish to. 53 00:03:52,130 --> 00:03:59,990 So for example you wanted to change the day from all three to all four years compeer and change to all 54 00:04:00,090 --> 00:04:03,470 four uncle if applied changes. 55 00:04:03,950 --> 00:04:15,410 So if we go back now to home page and we click on kink here now we did changes to 56 00:04:18,030 --> 00:04:23,720 a notice to show in as we did click on apply changes. 57 00:04:23,980 --> 00:04:33,210 Okay so I'll just good bad one and do a refresh. 58 00:04:33,290 --> 00:04:35,220 Go back. 59 00:04:39,960 --> 00:04:40,880 K. 60 00:04:49,050 --> 00:04:57,310 So if you notice here we did change we made here the higher date we changed from 17 June 0 3 to all 61 00:04:57,330 --> 00:04:58,150 4. 62 00:04:58,380 --> 00:05:01,620 So we've made a change for you only to change it back. 63 00:05:01,880 --> 00:05:11,510 We just click on edit and come here and just type it in and click apply changes. 64 00:05:13,490 --> 00:05:19,940 One good thing when you create applications is always good to testee that properly. 65 00:05:20,120 --> 00:05:26,190 So if 5 for example here clicked on this edit note is there are some who use that heading here. 66 00:05:26,540 --> 00:05:32,630 If I click Edit notice here list salary here and is not visible on the form. 67 00:05:32,780 --> 00:05:36,900 The standard user can still see that saw. 68 00:05:36,920 --> 00:05:43,870 That is a security breach on this application. 69 00:05:43,880 --> 00:05:50,090 In that the people who won on men to see this view can see this salary details even though they can't 70 00:05:50,090 --> 00:05:51,760 see it in the actual application of you. 71 00:05:51,770 --> 00:05:53,380 They can still see seed here. 72 00:05:53,690 --> 00:06:00,870 So if we had tested this application thoroughly we would have spotted this error here. 73 00:06:01,100 --> 00:06:03,890 Thus why it's always good to test the application. 74 00:06:04,130 --> 00:06:05,770 Easy for you deployed. 75 00:06:05,780 --> 00:06:06,710 Finally code. 76 00:06:06,710 --> 00:06:08,260 This is a demo. 77 00:06:08,480 --> 00:06:14,750 It doesn't really matter what is really important in a life production environment to test properly 78 00:06:15,590 --> 00:06:17,650 before you deploy. 79 00:06:18,940 --> 00:06:26,290 You can also delete record few on the list recall you click on that and there's an option here for you 80 00:06:26,320 --> 00:06:27,800 to delete. 81 00:06:28,150 --> 00:06:35,550 I'm not going to do that now because as you can see all of the options appears to still be active. 82 00:06:35,740 --> 00:06:45,400 So a standard user should not see this option and this standard user also should not have access to 83 00:06:45,430 --> 00:06:48,830 deletes or records or what they can. 84 00:06:48,830 --> 00:06:51,570 So there should be some restriction in place. 85 00:06:51,730 --> 00:06:58,970 So this was a real production application which would have tested it thoroughly to make sure that the 86 00:06:58,990 --> 00:07:04,970 standard user doesn't have access to perform certain function as it is. 87 00:07:04,970 --> 00:07:12,040 It looks like he can delete and this should be able to create records. 88 00:07:12,040 --> 00:07:16,270 This should be able to date records. 89 00:07:16,270 --> 00:07:19,300 Not all of them should be allowed to delete. 90 00:07:19,330 --> 00:07:24,780 So even within the standard user there are you can designate people who can delete records. 91 00:07:24,790 --> 00:07:31,000 If not you may have a lot of data being removed or necessarily. 92 00:07:32,900 --> 00:07:43,610 So darbies it crowd functions that is standard use at will perform will be to create a new new record 93 00:07:44,020 --> 00:07:48,950 is that option as one function to read. 94 00:07:48,950 --> 00:07:53,150 You can read data just by clicking on this edit here. 95 00:07:53,420 --> 00:07:55,810 You can also say you can see the data. 96 00:07:55,970 --> 00:08:00,610 If you click on that you can see more of the data to read the data. 97 00:08:00,960 --> 00:08:02,360 They can also delete. 98 00:08:02,430 --> 00:08:05,640 I click in and use the delete button. 99 00:08:05,650 --> 00:08:13,490 That's not a function so they can create they can read thinking create read of date and delete. 100 00:08:13,760 --> 00:08:15,720 That's what cross stands for. 101 00:08:16,020 --> 00:08:17,450 Saw that is it. 102 00:08:17,450 --> 00:08:23,930 The application is not perfect because he hasn't been thoroughly tested as you can see the standard 103 00:08:23,930 --> 00:08:30,500 user can do certain things and can see setting records even though we've hid in them from the view they 104 00:08:30,510 --> 00:08:35,910 can see to see it via the edit button which should not be the case. 105 00:08:35,960 --> 00:08:37,740 So thanks so much for watching. 106 00:08:37,760 --> 00:08:39,710 Take care and bye for now.