next out though new eye customization okay so up till now what we have discussed is how to create a data model how to create a schema how to add the fields how to create the validation rules how to create the relationships cross object formula fiends do roll-up summary fields lookup results and everything else so that's okay but what about the UI so whenever we added a new field on to any of our sales for certain so if you'll open the student any of the record of the student object you'll see all the fields one by one lined up on to this column what if I want of this batch time to be up or this other card number to be up overhead I want to rearrange the fields in here how I'm gonna do that and exactly so so I mean this is one problem that we want to solve okay there are relatedness coming up over their notes and attachments wooden matches rating so what I want is readings to be up and then fill in batches and I don't want notes and attachments at all and yeah student should be there so I want to modify this UI I want to modify this layout so in order to do that what I need to do is I need to know about the finding like tools that are available to modify the UI without actually writing a single line of code I want to do that and in this chapter in UI customization chapter what we can understand is we're gonna understand like how to modify the UI without actually writing a single line of code getting it with the help of chronicling tools so that's what we're gonna talk about a new a customization chapter okay so the first topic in UI customization chapter is base layout okay page layout controls two things number one detail page of record and number two edit page of a report okay so what is the detailed page this is a retail page so if you want to modify this one you can do it with the help of page layout and if I'll create a new student the page which opens up over here is edit page whenever I create a new student it is the edit page or if I edit the existing record it opens the same page this is also edit page so if I want to control the fields in every girl and the layout of the fields in the related list on to detail page or edit page where I'm gonna go page layouts and with the help of pages I will be able to control what fields are there or what fields should be there what religion they should be there in everything rest is that clear good so shall we like just go to the page layout and do it how to go to the page Layout tab object manager object with the student in this case the video that you guys are seeing is like similar to the one that you used to see it's something different maybe I can see there is a difference let me know in some relationships and details in relationship okay over here this page level like this all right here this two ventes there I'll just click on to it I'll go down over here if I want to rearrange the fields I can do that just by drag and drop if I put email in here then there is contact number below that then so let's do let me let me do one thing let me create multiple sections I'll create a new section for fee related information and by the way this section should be available on detailed page and edit page both of them then in that case check both of them otherwise you can just deselect whichever one you want to one column or two column two column basically means they'll be filled on the left-hand side as well as inside there'll be only one field on a single row then tab key order whenever we submit a form we press tab to go to the next week so whether it should it should go from left to right and then down and feel if like right and then down something like that like in a set position or they said way or other like else it can go like this like first you'll complete all the fields are on the left and then you will come on to the right the field which are on the right let's say also is how you want to go ahead with that but I'll go with initial fields over here I'll drop it in here then there is fee deposited and then there is total piece right if I if I want to create one more section I can create it I can read as many sections as I want to call them or other naming it as rating sectional name does I'll then total number of ratings and then average rating and by the way it's not even complicity to put all the fields I can remove this what will I do with some of already nothing right so I'll remove it there is one way drag and drop on the pallet this is called as pallet or you can just remove it like that here is half is greater and if you can see there is a lock why it's a formula V and this one is also a formula P and earlier with other ones as well you see in that log because those who are role of somebody roll out so many fields and formula fields are always will remove the raided not delete the needle removed not even remove the data it will remove the field from the pin there that's always what we'll do and then let's say if you want to create a section proportional information contact info now drag the email and the contact all our numbers then then throw five-state yeah both it on a space between other our card numbers so I will drag blank space and again that grants waste and space between the engine profile and students contact as well stream opted for softer than al create a section one column so you create one column section for text area text rich and being similar to that with you may done the fields aside according to you and click Save contact info we related info rating in for addition that's it whichever you want to go with that it will create a new student so named stream opted course opted blank space blank space 12 percentage to one location age everything else the space between our initial piece we deposited total fees is a formula field because it is not come in here that's it it's easy right anyway since in page that's how Paige network and that's how you need to modify the page nails okay so how many peas nodes can we create one we can create as many videos as we want and we can assign different different ways down to different different users getting it so like imagine how you are sitting on the registration desk then we want different ways out for you you're sitting on the man you're a manager so we want different ways out for you you're the CEO then in that case we need a different page out for you so in this case we create three different page layouts and then assign these page layouts to different different people different people and different not to users but to different different profiles I mean so how do assign different different ways now let me do one thing let me make a copy of this page I'll copy or let's say sternly out to okay so there's another page layout created in which we do not want our card number in which we do not want linked in profile in this we do not want birthdate stay Twitter's we are not looking for we just want to see the total P is positive this complete section should be gone just like this and now I will save it so there are two page layouts now and if I want to assign different pages also different profiles how I'm gonna do that is out assignment I'm gonna hit edit assignment and for system admin sure do you want student layout if you want soon layout to selects would never do that and it's done for marketing profile you want to lay out two like this one and make sense so if I'll makes two men lay out two for just one two let's you he or she will be able to see I've saved assignment if I let me show ready that's it nothing else why is the page layout that the system initiator is using it's change so that's how we go now if I want to change this assignment once again then how I'm going to do that again I'm going to go to page layouts and then page layout so I'm gonna hit findout assignment and in phased-out assignment I'm gonna hit edit assignment and then ctrl select no that's it I'll just say I hope it make sense to everyone good now the fields which I have which I have removed from the page layout that means the user will not be able to see the values of those fields right so that means I've made those field hidden for that particular user yes or no okay it's not true the users can see the value of that field somewhere else as well so with the help of page layout you only control detail page and edit page nothing else what if the user opens the students this and he or she is able to see that field in there they can see it over here if you will click on all they can see the dot field in here as well over here currently we are the only showing student ID but later I'm gonna show you or tell you that how to show different fields over here as well so in that case even if it is hidden on the page layout user can see it from here or from somewhere else or from a related list of another record so listen to this it's a note in your notes as well do not hide the field only onto the page they are if you do not want the user to see you need to do that with the help of field level security so if you want to hide a field from a particular user make sure to implement field level security do not be dependent on to the page layout only they only control the view of that field on the page there on to the detail and edit page nowhere else but if you'll make if you'll make the field hidden for a particular profile on like on field level security then in that case that fee will not be visible to that user anywhere getting it that user will not be able to see that will anywhere so always and always make sure that if you want to hide a field or if you want the field to be read only then you are not being dependent on to the page layout but you are implementing field level security that we have already seen but we are going to learn more about it in what data security chapter that that's going to come down the line I hope it is clear to everyone yeah