I wish to know if there is a way to auto select the only record retrieve from the Relational Grid Widget when the form with the Widget is loaded
Cybersecurity
DevOps Cloud
IT Operations Cloud
If an answer to your question is correct, click on "Verify Answer" under the "More" button. The answer will now appear with a checkmark. Please be sure to always mark answers that resolve your issue as verified. Your fellow Community members will appreciate it!  Learn more
I wish to know if there is a way to auto select the only record retrieve from the Relational Grid Widget when the form with the Widget is loaded
Assuming that the Relational Grid Widget is using a multi-something field and that it's on a Transition form, you can add a form action that runs the 2 statements below in JavaScript after the form loads:
jQuerySBM('a:contains("Unselect All")')[0].click();
jQuerySBM('a:contains("Select All")')[0].click();
What those do:
The first line finds all "Anchor" elements that display the text "Unselect All" (upper/lower case is important!!), then extracts the first element, then simulates the user clicking that link. Basically it will simulate the user clicking the "Unselect All" link under the Widget.
The second line simulates the user clicking the "Select All" link under the Widget.
I like this idea!