"portal" object in Service Portal widget scripts

Wasif
Giga Guru

I was going through a widget script- 'Stock Header' (a header widget) which is out of the box. ( cloned it for my use.

I was able to understand the use of 'data' object and the 'input' object in various places like HTML/ Client Script/ Server Script in the widget configuration;

But in the HTML component of the widget, an object, "portal" has been used to fetch the value of 'logo' or 'logoutUrl' (see the highlighted areas in the attached screenshot), but I don't seem to see the object anywhere.

 

After understanding, I need to do some POC the logout functionality whose URL is being fetched via portal.logoutUrl.

 

Any help on this front would really expedite my work!

0 REPLIES 0