action.get('sysparm_link_collection');
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-24-2018 03:51 AM
Hi Community,
var linkedM2MTable = action.get('sysparm_link_collection');
Can you please interpret the above line of code. This I found in out-of-box script include 'ActionUtils'. This script include is being used in global submit button which redirect to previous page after submitting the record.
- Labels:
-
Change Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-24-2018 03:55 AM
Hello,
I believe this is fetching the value for sysparm_link_collection attribute from the URL which can be a SYS_ID relating to a record where submit button is present
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-24-2018 04:07 AM
Hi Alikutty,
Thanks for your reply. but I checked url there is no such parameter called 'sysparm_link_collection'. moreover there are many parameter in the script starting with sysparm like sysparm_collection_relationship, sysparm_collectionID, sysparm_collection_related_field which I am not able to relate.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-24-2018 04:18 AM
I could not find this script in OOB instance. Is this a custom script in your instance or really OOB?
You can search in the Script column of your business rules or script includes or any UI actons to see if the sysparm_link_collection being passed or called in it. This can help in determining its source.