1 of 1 people found this helpful
A script trigger on the field where you enter "mirror" could run a script that opens the popover and displays items in a portal where a button outside the portal could add all listed items and a button in the portal row could add just the item listed in the portal row.
To to open a popover, use the inspector to give the popover panel an object name and then your script can use go to object to open the popover.
If my original line items are in a portal, can I do that? I thought you could have a popover in a portal as long as the popover itself does not contain a portal
You are correct, but the popover button does not have to be placed inside the line items portal. This does require setting up both relationships and scripting so that your script that opens the popover first sets the needed match field for the popover's portal in order to display the correct items.
I often make a popover button only a few pixels wide close to an upper corner of a portal. I color it bright red but set its "hide object when" property to True so that it is not visible in Browse mode. (The bright color helps me spot it when in layout mode.). The popover then appears to pop out of the line items portal, but this is actually an illusion created by my layout design.
Thank you, that helps quite a bit. I will try that