You need to sign in to do that
Don't have an account?

Attempting to create a button to update a field
Hi Everyone,
Thank you for taking the time to read this. I am new to salesforce, visualforce and apex and am hoping that someone on the board can at least point me in the right direction for what I am attempting to do.
Intent:
1) Go to Customer Assets Tab
2) From Search list, select multiple accounts.
3) Click on a button labeled "Update Build Version"
4) From a picklist, change the version from x to y.
5) Save.
6) Selected Assets Build Version changed.
I started to look through the visualforce documentation but I can't seem to find what I am looking for.
I attempted to customize the code from:
I can see how it is supposed to work, but I know that I am missing several steps.
Field Label: Build / Mod / Version
Object Name: Customer Asset
Field Name: Mod_Version
Data Type: Picklist
API Name: Mod_Version__c
Hi Bill,
If I understand correctly, you are trying to do a mass update from a list view (where you need features like Inline editing in lists and enhanced list views). Though you can do this using Visual Force but I believe there is also a custom app available for this on the AppExchange:
Mass Update And Mass Edit From List View
https://appexchange.salesforce.com/listingDetail?listingId=a0N300000018mbBEAQ
Good part is that this is a free app from Force.com Labs. So would be worth exploring this before you start writing your own code.
Hope this helps! Let me know if you need further help
All Answers
Hi Bill,
If I understand correctly, you are trying to do a mass update from a list view (where you need features like Inline editing in lists and enhanced list views). Though you can do this using Visual Force but I believe there is also a custom app available for this on the AppExchange:
Mass Update And Mass Edit From List View
https://appexchange.salesforce.com/listingDetail?listingId=a0N300000018mbBEAQ
Good part is that this is a free app from Force.com Labs. So would be worth exploring this before you start writing your own code.
Hope this helps! Let me know if you need further help
Thanks CK I'll try that out tomorrow!
CloudKnight,
Thank you so much. That worked perfectly!
Only issue I have now is that when I use the massupdate instead of the Asset Name I am getting the Salesforce Guid (15 digit code) instead.. Any advise on how to fix that?