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.

ui macro not rendered in service portal

rvenkataraman
Kilo Contributor

Hi,

I have some ui macro variables in my service catalog item, basically this ui macro displays some text.   However, when i am trying to view the item in the service portal, the form does not show the ui macro at all. Is this a constaint in Helsinki or am i missing something.

Regards,

Raj

22 REPLIES 22

nathanfirth
Tera Guru

UI Macros and UI pages are based on Jelly... Service Portal is a Jelly free environment and as such Ui Macros and Ui Pages will not render in the Service Portal. This is by design. Jelly is also a server side template, so I'm not even sure how it would work to have this display in a client side single page app such as Service Portal.



The alternative Service Portal provides is the ability to render a widget inside the catalog variable. If you look through the variable form, you should notice a widget field.


Nathan,



I am searching for the widget field in the variable form of the catalog, but can't seem to find it anywhere. Is it possible to get a more explicit path to be able to find the field?



Thank you!


Screen Shot 2016-07-06 at 10.18.02 AM.png


Nathan,



I am on Helsinki and my interface for catalog variables (even that very same Apple iPad 3 var) is missing that textfield for Widget. Am I missing an advanced options menu? Or am I on the wrong release for this?