Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to create one reusable page in UI builder

Michal S1
Tera Contributor

Hi! 

This may be a newbie question, but, I'm migrating currently Agent Workspace to Configurable Workspaceand trying to do this in the most correct way. 

On the homepage we are having following data visualisations: 

find_real_file.png

 

So I created another page (with URL: /orders_list) in my experience, I set the correct filters,set event handler, List with Open Orders is opening correctly. I could repeat that for Tasks, Unassigned Tasks, (different pages, different URL) etc but I realized that in the old Agent Workspace all these data visualizations were opened under one URL. All details were set by params. 

And I started thinking that quite probably in this Configurable Workspace this should be achieved as well. am I right? We could create one reusable page that would be queried by URL params? Question is, how to do this in the easiest way. 

1 REPLY 1

Brad Tilton
ServiceNow Employee
ServiceNow Employee

You can absolutely add required and optional parameters to a page and then bind those to client state parameters, data resource properties, or component properties to make a page more dynamic. 

If you're not sure how to do that, you might run through the UI Builder training we have on NowLearning and the Dev Site.