I have Gallery1 with a summary of item from SPList1.
I have Gallery2 with the detail of the item from SPList1, as chosen by user in Gallery1.
Gallery1 has an 'Edit' icon and an 'Add' icon. The 'Edit' icon has Set(varEditPO, ThisItem), which populates and fields in Gallery2 with specific information from SPList1.
I also want the ability for the user to be able to create a new purchase order, using limited information from SPList1, by clicking the 'Add' icon in Gallery1.
Can the items property of Gallery2 have a reference to two different inputs?
I've tried to add a Set(varNewPO, "") in the 'Add' icon of Gallery1 and then put both variables in the Gallery2 items (such as: varEditPO || varNewPO), but I got an error.
Is what I want to do possible?
Goal: varEditPO returns (with appropriate 'ThisItem' in fields Gallery2) all said data.
varNewPO returns minimal data, as determined by additional coding in Gallery2.

Report
All responses (
Answers (