Hi @johnjohn123,
Here is my edited reply.
Do you want to customize forms for your Master list?
According to your scenario, I have a test on my side, please try the following workaround:
I created three lists named ‘Master Record’, ’Child Record-1’, ’Child Record-2’ in SP.
In Master Record list, I create two look up column to find the ID column of the other two lists, like this:
Then customize the form in Master Record.
I create a Component1 like this.
Set the MenuItem property of Component1 to following:
Table(
{
SampleStringField: "Master Record",
MenuScreenNavigate: App.ActiveScreen
},
{
SampleStringField: "Child Record-1",
MenuScreenNavigate: App.ActiveScreen
},
{
SampleStringField: "Child Record-2",
MenuScreenNavigate: App.ActiveScreen
}
)
Add a Gallery named galMenu, Set the Items property of galMenu to following:
Component1.MenuItem
Add Button in Gallery, Set the OnSelect property of Button to following:
Navigate(ThisItem.MenuScreenNavigate)
Click Screens ,create three screens like this:
In screen Master, add a Form and the Component.
Set the MenuItem property of Component1_1 to:
Table(
{
SampleStringField: "Master Record",
MenuScreenNavigate: Master
},
{
SampleStringField: "Child Record-1",
MenuScreenNavigate: 'Child-1'
},
{
SampleStringField: "Child Record-2",
MenuScreenNavigate: 'Child-2'
}
)
Set the Item property of SharePointForm1 to:
SharePointIntegration.Selected
In screen Child-1, add a Horizontal Gallery, a Form and the Component.
Set the MenuItem property of Component1_2 to:
Table(
{
SampleStringField: "Master Record",
MenuScreenNavigate: Master
},
{
SampleStringField: "Child Record-1",
MenuScreenNavigate: 'Child-1'
},
{
SampleStringField: "Child Record-2",
MenuScreenNavigate: 'Child-2'
}
)
Set the Items property of Gallery1_1 to:
SharePointIntegration.Selected.'Lookup child-1'
Set the Text property of Title2_1 to:
ThisItem.ID
Set the Item property of SharePointForm1_1 to:
LookUp('Child Record-1',ID=Gallery1_1.Selected.Id)
Same settings for the Child-2 screens
Save, publish and back to the sharepoint, you could see this:
Best Regards,
Zhi Chen