List and multi selected list as we learn of the different field types that are available to us in sales
force.
Now let's understand what's this big list field type and what stuff multi select backless field type
basically while using these field types these fields that is a big list field and the multi select because
fields they offer a set of predefined values for us to select from while creating data pretty much like
the dropdown feature that is available in almost all websites in our data model.
We have a couple of big list values and we have a couple of my to select backless field types especially
for this instructor object.
We see that as a field called US position with the field type aspect list and then that is another field
a subject areas that might be selected list field type.
So now let's quickly create these two fields.
So let's go to the same schools application go to the instructors object view fields hit the new button
and the field type that we are going to use this big list so to speak list and it gives a description
allows users to select a value from the list that is already defined hit the next button.
And here it asks for the fee label but other than that we see that as another option that is using a
global pick list value sick or giving a fresh set of values.
So what is this.
So using a global pick list value set meaning we can define a value set and that we can use it globally
to load our application.
Say for example like.
Yes.
No not applicable.
These are some of the very common options that we have for big list and that might be used in different
places in the application.
Right.
So instead of recreating that every single time we can create a global pick list value set.
Have it ready and use it whenever applicable.
So now First let's say not create a global business value set and then use it here
search for big list value sets and here as such there are a null global value sets right now available
should the new button.
It's asking for a label.
Let me say generally
big list value set
and give a meaningful description.
And for the values.
Let me say yes no not applicable.
And these are options available to you if you want to display the values alphabetically.
And if you want to use the fullest value as the default value so that the story up to the business scenario
had the same button.
So now we have successfully created our global value set.
And this is now ready to be used anywhere in the application when it will be cleared up because doesn't
like to select biggest field types.
So now let's go to the instructor's object and let's try recreating that field
the big list data type and the field that we had going to create as a position
and that is basically the instructive position so we know your instructor can be a lecturer or assistant
lecturer or a professor.
Head off the department right like that.
But he does ask no not not applicable is really not applicable in this scenario.
However like I just showed you how to use that global pick list value said so in case we want to use
that.
You know this generally pick list value said that we just created is available here for us to choose.
But otherwise in the scenario as it is not applicable.
Let me go for the other option.
And here let me choose those values.
I've given all the values here.
And if you're going to be contrasted the pictures to the values defined in the value set otherwise on
top of the values that does that in the pick list uses are welcome to enter more unique values more
custom values than that to automatically get added to the pick list.
So that is this option.
And the feeling given a proper description and help X if needed and then hit the next button go save
the field now
but fact our biggest field is created that does this position backless feet for the object departments.
So from this we understood how we can create a global pick list value set and use it in a pick list.
We did not use at all.
However we know how to use that.
And here in pick list there are different options that are available.
The generally options are whether it does a required and if there is a default value and the pick list
options that we can drastic to the big list of the values that is defined in the value set or if we
can allow the users to enter more custom values.
So that does option is also available and a controlling field.
Yeah.
We can define whether a big class is a controlling pick list order dependent pick list.
We'll discuss on that later field dependencies you don't feel dependencies began.
I used to create those dependencies and pick list validation rules.
We can create validation rules are based on this pick list values and then these are the various values
that is available for us.
Here we can see all these values are active.
So that is why this deactivate button is available and in case if we want to deactivate any of the values
we can hit the deactivate button and that will automatically fall on the inactive values section so
these are different options that are available for us while creating the class feel like as we can see
this field is definitely different from the other field types that we haven't since force you know the
options that we have for here to define the validation rules that we can use for defining on that particular
field type the various values the active values the inactive values and hold begin to reorder them and
hope we can replace them and how we can add charred colors to those.
All right so definitely this is one of a different field type that I thought we should discuss for getting
some knowledge about it.
All right so and now that we are done creating of upper class field type now let's create a field using
the multi select pick list field type.
So let's go to the data model that has one other field called a subject areas in the instructors object
and that does of the type mark to select pick list.
So let me again go to the same department's object create another field
and select the field type to be a pick list might be select the next button and a fill in all the details
here.
Note that even for multi select backlist the option of the global pick list value set is available.
The one that we created was a generally pick list value Sec.
So you know we can reuse that.
So this that that is the main use of this big list value set once created we can use it anywhere in
the application world for the big class field types and for multi select pick list field types.
So once given all the values let's go ahead and save the field.
All right.
Now let me enter the values for the multi select bit list.
I have given some sample data and once done.
Let's go ahead and create the Ft.
Perfect.
Now that we have created both our fields.
Let me quickly create a record for the instructor object.
The instructor last name position just fill in the details the position.
This is the position pictures that we created.
Let me say lecturer and save the record however for in the department's object the one that we created
is a multi select pick list value.
So here fill in the details.
And here you can see that the multi select pick list values it appears way different than the regular
pick list because in regular pictures you can hold only one value.
But here as the name says it can hold multiple pick list values.