Duplicate UI Actions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-21-2024 05:50 AM
Pardon the total newbie question.
I have two UI actions, Add to Visual Task Board, different sys_ids, and slightly different scripts, but both the the same name, same order, and are active. Both appear to have been altered from the baseline when I do a Point Scan. My questions are:
1. What happens when you have duplicates of UI actions, BRs, etc.?
2. Which one runs first?
3. Since both were changed (in the script I'm guessing) both would stay active during an upgrade and would not be upgraded if we skipped the records, right?
4. Would the only way to determine which really is out of the box would be to go to a PDI and compare sys_ids?
5. How can I get it back to OOB if I didn't want either of the changed scripts?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-21-2024 06:53 AM
I have 5 UI Actions named "Add to Visual Task Board" defined on the task table in my PDI. Each definition differs slightly, the script logic is different. So I don't believe more than one runs in a given situation. You could test by adding and "alert("UI action sys_id <sys_id of the ui action> ran"); to each script.
There is a "Versions" tab on the UI action form. if there are previous versions, open the desired one and click the "Revert to this version" link.