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
prasad@s.ax832prasad@s.ax832 

How to add a dropdown to custom object's edit page

I need to create a dropdown which should get its values from a query. I need this dropdown to be visible in the edit page of my custom object so user can select the values. How can I do this?

Best Answer chosen by Admin (Salesforce Developers) 
Ispita_NavatarIspita_Navatar

Do you want this drop-down to appear in the standard edit page of your custom object?

If the answer to this is yes, then it is not achievable.

You can apply this sort of implementation in a visual force page, wherein you can fetch the values you wish to be populated in the selectlist in  a query of the controller method and assign it to a select list in the VF Page.

 

Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.