You need to sign in to do that
Don't have an account?
Kyle Freeman
Transfer to a lookup field from a list view
I need to make a list view button that allows me to transfer checked objects. However, I would like to select the objects (check them off), click the button, and then have a pop-up dialog where I could either use the lookup to select where to transfer the objects, or a less preferred way of manually typing in the object's ID.
I have currently created Mass Delete & Mass Update (to a static value) buttons for the list view, but am wondering if something like this has been done or is possible.
Thanks in advance!
Anything is possible if you're willing to work for it. I'm not sure if it's been done (before today), but here's my solution:
I configured this for oportunities, but you could easily replace it for any standard or custom object. Brings up a list of users, and transfers records to the selected user if you select a user. Could break at any time, etc, etc. This was a marriage of an S-Control that I have that uses a lookup window and a button that I have that transfers ownership of records (because I wanted one for custom objects).
Edit: Fixed another broken question mark, compliements of SRC.
Message Edited by sfdcfox on 01-07-2008 05:08 PM
This version works around the lack of a second window by setting up a timeout loop. I had to do it this way because OnChange won't trigger based on the Lookup doing it's thing. Hopefully the rest of the code won't need to change, but always remember; salesforce.com reserves the right to change any undocumented features in order to better the service or adapt to new technologies.
Message Edited by sfdcfox on 01-09-2008 02:09 PM
Message Edited by sfdcfox on 01-09-2008 02:10 PM