Some PDIs are currently unavailable, and PDI actions are paused. View the latest updates here. Read More

Form controller data resource not available for page collection

gjz
Mega Sage

I'm trying to create my first page collection but I have run into an issue.  I'm trying to create a simple page collection just to see how it works.

 

In my custom workspace, I have a Standard Record page.  Following how a page collection was created in the NowLearning course UI Builder Advanced, here are the steps I took:

 

1. Opened by Standard Record page - this page doesn't have any customization on it, I just used the SRP template when I created it.

2. In the SRP, found the Tab sidebar component.

3. In the Configuration panel, Clicked +Add in "Tabs"

4. Selected "Add a page collection"

5. Selected "Tabs" as the component and on the next screen selected "Form" as the controller.

6. Gave it a name and selected Build responsive and opened the editor.

 

When I look at the Data resources, I don't see Form Controller as an inherited data resource.  What am I missing?  My understanding is it should be there so I can communicate with the parent page.

 

 

5 REPLIES 5

Tanushree Maiti
Tera Patron

Hi @gjz 

 

Check if it helps:

https://www.servicenow.com/community/developer-forum/record-page-in-custom-configurable-workspace-no....

 

 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti

Thanks for trying, but that is not the solution.  Since this is a Page Collection, any page I create in the collection is supposed to inherit the Form controller (which is on a standard record page) since I used Form as the controller - but it isn't appearing.  My issue is a page collection, not missing data resources on a record page.

tomasscerba
Mega Sage

Hi @gjz ,

create new page collection, do not use any template, start with blank page, add Form component on the page which will automatically add Form Controller. Save.

@tomasscerba - You are close to what I needed and your instructions are correct, but it turns out the form controller was available in my page collection.  I was looking for "Form Controller" like it was listed in the NowLearning course, but finally figured out the name is "<your page collection name> Form Controller".  Once I figured that out I was able to use the data and get my page working and returning data.