UI Page Variable in Catalog Item/Record Producer will not display on portal

marclindsay
Tera Guru

I have a simple UI Page that just displays Hello World!!

 

<?xml version="1.0" encoding="utf-8" ?>
<j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null">

	<p>Hello World!!</p>
</j:jelly>
	

I have a Record Producer where I have add a Variable of type UI Page and assigned the above UI Page to the variable. 

When I use the "Try It" button on the UI Page and on the Record Producer, screen shows fine. 

find_real_file.png

Put when I display the record producer through the portal the "Hello World!!" text does not show. 

find_real_file.png

Don't know if there is a plugin or something I need to configure in order for this to work. I have tried this in our London environment. And in my Personal instance that is set with Madrid. Have not been able to get this to work in either instance. 

Thanks

Marc........

 

1 ACCEPTED SOLUTION

Josh Virelli
Tera Guru

Hi Marc,

The Service Portal runs on Angular v1.5.11, and UI Pages use Rhino Javascript and Apache Jelly. These are not compatible languages, meaning unfortunately you'll have to recreate the UI Page as a Service Portal widget for it to work on the Service Portal. I'd recommend you use a Macro variable in your Service Catalog Item, and that way you can create a UI Macro and Service Portal widget so that you can have it available to you on the platform site and the Service Portal.

find_real_file.png

If my answer was helpful or answered your question, please mark it as 'Helpful' or 'Correct'

Thanks!

Josh

View solution in original post

6 REPLIES 6

But Macro variable is not available in rome version right,Is their any alternate we have for that.

When i see now, there is no Macro type available under variable type. I tried using UI page type. But it is not working. Any suggestions pls?