function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
nisha c onisha c o 

auto populating a vaule from a picklist field

hi ,

 

i need some guidance on how to perform this task. i have a custom field - user license in a custom object. this field should populate the value from standard license i.e from profile . how can i do this?

snippets@sfsnippets@sf

you can achive this by Formula field.

 

or share some code snippet or approach that your trying to look at

 

Thanks 

 

@anilbathula@@anilbathula@
Hi nisha c o

Try this :-
Create user license as formula field and return type text.
Put this formula in that field Text($Profile.UserType).
nisha c onisha c o
thank you. i shall try that