 Hello friends. I'm Sanjay Gupta. I welcome you on Sanjay Gupta Tech School. In this video, I'm going to demonstrate you how to create pick list and multi select pick list data type related fields in Salesforce Lightning. Before starting, let me share you how you can search me on YouTube. You can type my name and my channel will be available there. You can watch various Salesforce related videos there. So now I'm searching for one object that is booked on which I'm going to create these fields. I'm clicking on new, scrolling down. So here you can see pick list and pick list multi select both data types are available. So you can read their descriptions. So pick list says it allows users to select a value from a list you define and pick list multi select says allow users to select multiple values from a list you define. So first I'm going to create a list field. Field level will be category. Now here you can see two options use global pick list value set or enter values with each, sorry, enter values with each value separated by a new line. So right now I'm selecting enter values with or you can see second option in my another video in this playlist you can watch how you can use global pick list value set. So here I'm entering values in different lines. So I'm entering some values that those are related to category of books. So I'm entering these seven values as pick list value. Now there are certain options. First is display values alphabetically not in the order entered. So if you want to display values alphabetically so you can choose this option. Second is use first value at the default value. So I'm not picking this. In our case default value will be none. If you enter a valid default value formula it overrides this setting. So this is the help text. So I hope you understood this. So default value formula we enter here. So if you enter default value formula then this will be overridden. Then this option restrict pick list to the values defined in the value set. So here again help text is available. If it enforce data integrated with restricted pick list this setting limits the field to accept only values from your pick list even if the field is updated through the API. So if this is check it means the list values will be restricted. Otherwise will not then API name will be category description help text these are optional and then required. So these are now I hope you are familiar because I already explained these things in my previous videos. And you can also create a formula for default value. Now clicking on next. So field of security I'm setting visible and editable for all the profiles. Clicking on next. So this will be added on the page layout. Clicking on save. So now you can see pick list category field is created. So now I'm going to open my university app. There we have book tab related to book object. So I'm going to create new record. So here you can see this pick list is available default value is none. And all other values are available in alphabetical order along with scroll bar. So this way you can create the list field. Before creating record let me create one more field that is the list multi select. I'm choosing this. This is available in now I'm going to enter the values for this. So first is online stores. Second is the stores library. So through this field we are going to pick or track the values like where this book is available. Is it available on online store details store or library or all. So there are a possibility that we need to choose multiple options. So that's why we are picking up a pick list multi select. You can also enter more values as per your requirement. Then display values alphabetically. So I'm choosing this one default value. I'm not choosing this and then restrict pick list. So this is I'm choosing then visible lines for you can also increase decrease this. If you need API is available and the score and then description and text and required and default value. So these options are available. Clicking on next visible for all the profiles. It should be available on the layout and clicking on save. So now I'm going to refresh it. So if you want to create new record. So you will see both pick list. This is a single selection pick list and this is multi select pick list. So from here you can select any category and from here these are the available option and these are the chosen. So this way you can choose the options. And the book name suppose Java price three hundred three thousand and I'm leaving these fields as of now. So clicking on save. So on detail page you can see this way pick list and multi select pick list values are stored. So multi select pick list are stored separated by a semi color and a simple pick list value will be stored. Normally as it is only one value. Now if you want to open existing records. So there also you will see these fields, but they are not having any value. So you can double click to convert this detail page and edit more. And here also you can select like it is related to it. So we can choose options like this. So this record is updated now. All the values are available here. So I hope you understood how we can create pick list and pick list multi select and how we can use them. If you want to learn about global pick list value set and dependent pick list. So you can watch my next video in this playlist. So I hope you understood whatever I demonstrated in this video. You can search me on YouTube by my name if you want to follow more Salesforce related videos. Thank you for watching this video.