You need to sign in to do that
Don't have an account?
Raveendra Raju 5
Need to display popup window with the list of users in visual force
Hi All,
I have a visual force page with the input field name "owner". I want to add an icon to this field and when ever it is clicked, I want to display a popup window with all the users who are available in the users object . Once the user name is selected from the popup then that user name should be populated into the input field which is available in visual force page. If there is any standard functionality, please let me know.
If there is no standard functionality then please send me the sample code to achive this requirment.
I have a visual force page with the input field name "owner". I want to add an icon to this field and when ever it is clicked, I want to display a popup window with all the users who are available in the users object . Once the user name is selected from the popup then that user name should be populated into the input field which is available in visual force page. If there is any standard functionality, please let me know.
If there is no standard functionality then please send me the sample code to achive this requirment.
http://blog.jeffdouglas.com/2011/08/12/roll-your-own-salesforce-lookup-popup-window/
http://blog.jeffdouglas.com/2011/08/12/roll-your-own-salesforce-lookup-popup-window/
It serves your purpose
If this is the case, why dont you change the type of field Owner to "Lookup(On User) object. If you do that the VF will automatically show the lookup Icon and the whole functionality will be replicated.
If you cannot d=change the type, create a technical hidded lookup field on the object, expose it on the VF page and copy the value from this field to your field in the VF page's controller.
Veenesh
Could you help me how to change the field type in visual force?