
Announcements
I have a customized form that uses two lists. The primary list is a bunch of requests. Each item/request in the primary list has cooresponding records in the secondary list. When you view a request (in the primary list), the cooresponding records from the secondary list should display in a gallery at the bottom of the customized form. However, what's been happening when you click on a request is, the form displays, but the gallery does not.
There are actually two scenarios where the gallery/collection does not display. The first is from the SPO home page. I have a web part that displays the primary list. If you click on a record/request, it opens a new webpage for the form, but the gallery isn't visible. If you go back to the home page and click the same record again, the gallery still does not render. The second occurs if you're in the primary list, and select a record. The form opens from the side of the screen, but the gallery is not visible. If you click X or click away to close the form, then click on the same record again, the gallery becomes visible.
I really don't understand this behavior. What is different between the initial click versus the following click?
Hi @lumberjacklurch ,
Do you mean that when you open a sharepoint custom form, the form display while the gallery doesn't?
Please check these properties:
SharePointIntegration's OnView,OnEdit,OnNew
These three properties decide which screen displays when you open the form (click view,edit,create).
In my test, I all set it about SharePointForm1, so it will display form automatically.
If you want to display form and gallery at the same time, I suggest you put these two controls in the same screen: FormScreen1.
If you want to display gallery firstly, you could change these properties to :
Navigate(Gallery screen)
Then when you open the form, it will automatically jump to the gallery screen.
Best regards,