action.get('sysparm_link_collection');

Vijayata Manche
Kilo Expert

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. 

 

3 REPLIES 3

Alikutty A
Tera Sage

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!

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.

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.