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
07-19-2016 10:47 PM
Hi Nathan,
Is there a way to access a record producer variable from within the widget?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2016 11:51 AM
Yes, but I don't know that I would recommend doing that... since the widget is for all record producers. You can actually nest a widget as a variable for a catalog item, that way you can write a custom widget that interacts with that catalog item or record producer. If you look around on the variable form you will notice a reference field to sp_widget table. In order for it to render I believe it has to be ui_macro or label (off the top of my head so I could be wrong).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2016 05:42 PM
Would you happen to know if the same widget-alternative solution works for Catalog Variables of the type UI Page? All variable types seem to have the Widget field available, but getting the Widget to come up when set seems inconsistent, and the only types mentioned (here and in the github unofficial docs) seems to be Macro and Macro with Label. Which seems odd, with how similar a case replacing UI Page and UI Macro should be.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2016 06:05 PM
I agree I think it makes sense to work for UI Page variables, however I do not believe this works. My suggestion is to put this in as a defect on the github account and hope they can fix it in a patch:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2016 09:31 AM
So as a follow up in case anyone else is wondering about this as well: Found from some reaching out that there is indeed a defect logged for this, and from what I could gather it does only seem to work with UI Macros (though our testing with Labels seems to work as well). Unfortunately I was also told that this defect is categorized as "cosmetic" so I suppose we'll just have to see how soon it gets addressed.