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.

Use Template in UI Page

Community Alums
Not applicable

Hello guys,

 

I´m tryingo to call a template (sp_ng_template) from a UI Page in order to draw a tree of Services and CIs related to a contract using it as a recursive function.

 

I know templates can be called from a widget, but for some reasons we need to use a UI Page instead.

 

This is the call in the UI Page:

<div ng-include="'tree_paint'"></div>

 

And the template:

Enrique_lvarez_1-1667380337485.png

 

We are getting the following message in the page:

Enrique_lvarez_2-1667380403622.png

 

 

Any ideas if it´s possible to use templates in UI Pages without using a widget?

 

Thanks.

 

0 REPLIES 0