ui macro not rendered in service portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2016 09:20 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2016 09:10 AM
No, the script doesn't work in either place. I got setFieldPlaceholder() from the link you posted (documentation/client_scripting.md at master · service-portal/documentation · GitHub ).
I've tried other methods from that GitHub page and they all work fine. Apparently setFieldPlaceholder() doesn't do what I thought it did. The Service Portal documentation is seriously lacking.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2017 07:01 AM
Here is a solution that worked for us: Catalog Item Annotation HTML Variable Instructions on form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2019 02:46 PM
Hi Nathan,VenkatRaman,
I am having the same issue with Service Portal. I tried to implement the widget in the place of Macros but say if the macro has divs and are updated by onLoad and onChange client scripts. How can i make them work in Portal.
I was not sure if I have to use the client controller from widgets to accomplish this .
Say if there is a UI Macro which was initially loaded with some data by OnLoad script and the Same UI macro is updated with some other data by onchange script. How can this be achieved by Service Portal.
Please Help.
Thanks,
Nithya
