Portal Menu Instance Additional Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2018 09:48 AM
Can anyone tell us what one can do with the Additional options, JSON format field we find within the Portal Instance Menus one creates ?
It referernces an object called widget_parameters. So what can we do with that ?
For example, can one change the menu background color using this field ?
Can we override some of the portal menu elements, like the portal logo ?
I was unable to find any useful documentation on this particular subject.
Thanks.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2018 12:02 PM
Using JSON format, you can pass inputs to the widget.
If you want to change background you can do it in the CSS of the widget itself or you can do it from the page designer properties where there is a css section.
Portal logo etc can be changed from Service Portal Configuration->Branding editor
Please mark this response as correct or helpful if it assisted you with your question.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2018 08:43 AM
From what I can tell, this provides a means of passing in option values to the widget that renders the header, e.g. the "Header Menu" widget. It's comparable to setting the "Instance options" on any given instance of a widget when you Ctrl+Right-click on it from the portal and select "Instance Options", but you do it through JSON on this form. I believe these values are always stored in JSON; you just don't always enter them that way, depending on where you're setting them.
What options are available? The OOB "Header Menu" doesn't seem to provide any options schema and has only the "title" field added to the list of options. The only two options I see in the scripts for this widget are "enable_cart" and "auto_update_cart". I believe the former is used to add the cart icon & menu item to the menu. I haven't used the latter.
If you created a custom version of the widget, you could make use of any number of options, depending on what you added to the markup/scripts.