You need to sign in to do that
Don't have an account?
Ian Gendreau
Create an action to run on command
Total Apex newbie here, but here is what i need. Hopingn someone can point me in the right direction to start.
If I want to run an action on my Contact records all at once, what's the best way to make that happen? Specifics...
Each Contact record has a custom check box and a custom date field.
I want to be able to "tell" the system to find all records where the checkbox is checked, clear it out, and add today's date to the date field for those records. I want to be able to do that on an "on demand" basis, not a one time thing.
Is that possible? And if so, where would I begin?
If I want to run an action on my Contact records all at once, what's the best way to make that happen? Specifics...
Each Contact record has a custom check box and a custom date field.
I want to be able to "tell" the system to find all records where the checkbox is checked, clear it out, and add today's date to the date field for those records. I want to be able to do that on an "on demand" basis, not a one time thing.
Is that possible? And if so, where would I begin?
However, if you must create an on-demand functionality you can try building a custom interface with Visualforce and an Apex controller class. Below link should get your started.
https://developer.salesforce.com/page/An_Introduction_to_Visualforce