Hello CS Experts,
I have place a custom button on the home tab of Contact entity.
The purpose of this button is to update the selected records wherein a date field will be updated to current date.
I used ribbon workbench to add the custom button. Everything went well when I published the solution that contains the button.
When I got to My Active Contacts view and select 2 or more records there, the button becomes visible.
However, the javascript code that will update the selected records does not work.
Please see below for the button:
Below is my javascript code:
I could not point out what is wrong with the code. Please help me correct it.
Thank you very much in advance!
Regards,
Jolas365
HI Jolas,
In addition to Andrew's comment. There is a type in the code. Please update "
parameters.emtity = entity; //Change the above spelling error to parameters.entity = entity;
Hello Jolas,
Replace SelectedRecords(i) with SelectedRecords[i].
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,782 Super User 2024 Season 2
Martin Dráb 229,067 Most Valuable Professional
nmaenpaa 101,150