4 Replies Latest reply on Sep 9, 2013 2:45 PM by JennySemmler

    Script to manually relate records

    JennySemmler

      Title

      Script to manually relate records

      Post

           I have two related tables Blends---< components.

           I have embedded a portal in Blends layout to show Components records, however I need to pick a component from a found set and manually link it to the blend by putting the Blend:BlendID value in the Component:BlendID field when a button is pressed to select that component.

           Can you please advise how I assign the Blend:BlendID value from the open related record behind into the selected Component record? I have included my current script, which was designed to copy this over before committing the record and closing the found set window. I would prefer to have this happen automatically so I don't have to remember the Belnd ID and add it manually.

           Many thanks!

      ScriptScreenshot.jpg