Perform script on portal items
I have a portal displaying a single field (displays directory name) and a button on each row that performs a script (it is a plugin that checks whether the directory exists). The script uses a setfield command on the related record of the portal.
I 'd like to be able to check all the portal row items with a single button/script (i.e. perform the script in sequential steps on each portal row and exit after the last one). I tried the Goto object defining a repetition that increases, but it doesn't work. I think that the problem lies that with Goto Object the portal row number is not activated as when someone clicks on it, so FM can't return the proper related record content for the setfield command.
Any help is appreciated