Implementing drag-n-drop between two different portals

UPDATE: I have reworked the file.
Now you can drag the contents of a container in the source portal to a record in one of several target portals to transfer data from one record to another.

DragBetweenPortals_v3.fmp12.zip (8,1 MB)

HOW TO:

  • The source container gets an OnObjectEnter script trigger - see script "Trigger OnObjectEnter Source Container › get details".

  • The target containers get an auto-enter calculation: see containers in tables Target1 and Target2.

  • The target portals should get names: e.g. "Portal.Target1". The respective name is written into a variable in the auto-enter calculation of the target container.

  • In the layout the target containers get an OnObjectModify script trigger - see script: "Trigger OnObjectModify Target Container › write to target".

Hope that helps.