- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-02-2014 06:57 AM
I'm trying to make a UI action that will update a record's status to pass/fail and then go to the next record in a list. We're looking for similar functionality to the up/down arrows you get when tabbing through rows in a list but we want to be able to update the record before it goes to the next item. I've tried using two functions that are attached to the OOB actions, gsftSubmit(true) and iterateList() but I haven't found a way to make either of those work. gsftSubmit() just submits the record, and we have no way yet to duplicate the dynamic parts of the iterateList() method. Has anyone found a way to do something like this?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-02-2014 01:35 PM
What we ended up doing to solve this was we updated the record via a GlideAjax call and the value returned from the server was a string that was the URL of our next record, which we then loaded into the current frame.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-02-2014 07:07 AM
This UI action will be a list button right ? and are there any specific record which you want to update in a list ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-02-2014 07:22 AM
Actually it will be a form action. From a record, we're clicking a form link action that will open up the first item on one of its related lists in a new window, then from there the Pass/Fail actions will go through each item on that related list, much like when you click into the first item on a list and use the arrows to go up and down. You're in the record, but the UI Action knows you're trying to loop through the items from a list...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-02-2014 01:35 PM
What we ended up doing to solve this was we updated the record via a GlideAjax call and the value returned from the server was a string that was the URL of our next record, which we then loaded into the current frame.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-31-2014 06:24 AM
Can you provide your solution?