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
NItesh SaxenaNItesh Saxena 

Creating custom widget

Hi Experts,

 

I have a custom field of type picklist in User object. I need users to change the value of this field using a custom sidebar widget. The widget just needs to have a picklist custom field with data and a save button which will save the value in the User object.

How can I possibly achieve this functionality. Please suggest.

 

Thanks & Regards,

Nitesh Saxena

sreenivasAppssreenivasApps
Hi Nitesh,

Through visual force Home page component we can achieve this. 
Query Current user in controller and display the picklist field (whatever the fields you want) on the page. Use a button to save the changes.
NItesh SaxenaNItesh Saxena

Hi App cs,

 

Thanks for the response, I am not familiar with Visual force pages, Can you please give me a link where I can learn about how to use Visual force pages and resolve the above given issue.

 

Thanks & Regards,

Nitesh Saxena

Kunal GhoshKunal Ghosh
https://developer.salesforce.com/page/An_Introduction_to_Visualforce