Hi there,
I am building an app for 'internal audits' connected to a single SharePoint List.
One item on the list = one audit record.
The list supports four types of audits using content types.
So far, the app consists of:
- one 'gallery page' (to view all existing items, use filters to find them, select the one you want)
- one 'set up page' to complete/edit a form applicable to all audit records
- four audit pages, one applicable to each type of supported audit
My question is: how do I get the form on the set up page to open the correct item whether the use has chosen to create a new item from SharePoint, edit an existing item from SharePoint or edit an existing item by selecting it from the gallery page gallery?
App: On start: Set(SELECTED_AUDIT_ID,SharePointIntegration.Selected.ID)
Gallery screen: select arrow: OnSelect: Set(SELECTED_EXISTING_AUDIT, Label_ID_Hidden); Navigate(Welcome_Screen)
SharePoint integration: OnNew: Set(SharePointFormMode, "CreateForm"); NewForm(Form_1); Navigate(Welcome_Screen, ScreenTransition.None)
SharePoint integration: OnEdit: Set(SharePointFormMode, "EditForm"); EditForm(Form_1); Navigate(Welcome_Screen, ScreenTransition.None)
Set Up Screen: Form_1: Item: ???
- To see the first item in the list First('Internal Audits')
- To use the item the user opened from SP: SharePointIntegration.Selected
- To open a blank form and create a new item: Defaults('Internal Audits')
- To edit the item selected from the gallery: ?? SELECTED_EXISTING_AUDIT (this is a List item ID number)??
- Logic to combine the three? ??
Thoughts?

Report
All responses (
Answers (