08-05-2018 09:48 AM
Dear all,
In Mapp Enterprise, I have a list having rowaction as in the the following picture
What I want from this rowaction is to open the file path in the second field,
Could anyone help in what to write in this script
I tried
SC.Media.showFile(Sc.getFieldByName('path').getValue())
but with no response
Regards
khaled
Solved! Go to Solution.
08-06-2018 12:27 AM
Hi Khaled,
to interact with the form content you can always use IG object. In your case to get the value from another formfield you can use:
IG.getItemById('FORMFIELDNAME').getValue();
HTH,
Stefano
08-06-2018 12:56 AM - edited 08-06-2018 01:41 AM
Hi Stefano,
In my case, I want to open a file which its path is written in a field called 'path' in the same list opened not in another form,
note: I tried the script you have posted but no action happened.
Could you help with your support please
Khaled
08-06-2018 05:38 AM
if you define the action script directly in the action property (not in a custom script) you can access {ROW.columnname} placeholder, so you don't have to use IG methods.
Stefano