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
adi salesforceadi salesforce 

How to add new picklist values to industry in account dynamically.

Dinesh Kumar 405Dinesh Kumar 405
use the below syntax for fetching picklist values
<lightning:inputField fieldName="industry" />
adi salesforceadi salesforce
Hi Dinesh,
Thank you for quick response. But it is not the requirement to fetch picklist fields.could you see the requirement once.
Sohan Raj GuptaSohan Raj Gupta
Hi Adi,

You can refer ​http://www.forcetree.com/2009/06/dynamically-add-values-to-picklist.html link to under how to add new values in picklist dynamically.

Hope this will help you. Let me know if it helped or you need any more assistance. 

Please mark this is as the solution if it solved your purpose.

Thanks,
Sohan Raj Gupta