- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-21-2016 04:50 AM
Hi, anyone that have knowledge to the Widgets on Service Portal, named: "Data Table from instance Definition"..?
I want to change the layout in 2 ways:
1) I would like to remove the breadcrumb. This is critical, because the user should not be able to select "All".
2) I would like to change the Table name/headline. I have change the name, color and Glyph-icon in the edit-menu on the Widget..
but my changes do not break through to the service portal view.
This is what I get on the service portal, although I have made the changes to in the widget-menu. It seems that this is controlled another place.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-21-2016 07:07 AM
Your filter is set to a dynamic filter showing whoever the logged in user is. If you clear the value in the "filter" box it should clear it.
I would look at making a copy of the widget and customizing the code. If you make a copy, you can go in and look at where the panel title is coming from, and change it if need be. this will also let you change colors as necessary.
Also, I would be sure that you're looking at the page from the right portal. Sometimes the default "sp" portal gets selected when viewing a widget, and you have to switch it back to the right one.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-21-2016 07:07 AM
Your filter is set to a dynamic filter showing whoever the logged in user is. If you clear the value in the "filter" box it should clear it.
I would look at making a copy of the widget and customizing the code. If you make a copy, you can go in and look at where the panel title is coming from, and change it if need be. this will also let you change colors as necessary.
Also, I would be sure that you're looking at the page from the right portal. Sometimes the default "sp" portal gets selected when viewing a widget, and you have to switch it back to the right one.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-21-2016 07:15 AM
Hi Andrew, thank you for the reply and help. I have now removed the breadcrump be editing the widget. Next I have to learn how to change the headline text to the widget. I believe that you are right that this can be done by editing the HTML-code in the Widget-script. But this is hot stuff when you are not strong in coding .. I was hoping that the edit-form related to the widget had worked. I believe that this as an error to the widget.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-21-2016 07:31 AM
IF the code doesn't pull the title from the options schema, you can actually make it do that in the code. You can add whatever options you want, and tie those features in the code to the option you created to make your custom version super configurable. I've done this with several widgets.
Lets say you had an option called "title", and you wanted to have the panel header be whatever you had set the title to be:
A few angular basics:
the curly braces: {{}} These tell Angular that the value inside the curly braces is bound to something. In this case, C is equal to the scope of your widget, options is an object in that scope, and title is a parameter of the options object. the double colons, :: tell angular that this data is not changing dynamically, so it only needs to look at it once.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-23-2017 10:38 AM
Hi ,
I know its old post but i bring here what i have done.
put the below json data to the Additional Options , JSON format of the instance
{
"show_breadcrumbs":{
"value":false,
"displayValue":false
}