How do I change the Title for a data table instance widget
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-02-2017 04:09 PM
How do I change the data table label in the data table instance widget
Anything I try is not working.
The Configuration Title is not working when I set the title on the widget instance
I tried cloning the widget and using an option schema for title but I still cannot get it to work.
Any help please?
Also there does not seem to be much help out there on customizing and using widgets
Any links and reference/tutorials/youtubes out there that will speed up this learning curve would be greatly appreciated.
Thank you
Tricia
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-26-2017 07:24 AM
Hi Harry,
No, I tried changing the code in the widget server script but was not able to change the Title.
If you find an answer please do share!
Thank you
Tricia
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-17-2018 02:49 PM
I'm also facing this same challenge. I've cloned Data Table from Instance, changed the Title yet it's still displaying the Table Name of "Computers" when I have the title as "Your Hardware". Any help would be greatly appreciated!
Instance Options:
Service Portal view:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-20-2021 05:18 AM
You can use the below code:
spUtil.get('widget-data-table', params).then(function(response) {
// response.data.table_label='Test';
$scope.data.widgets = response;
$scope.data.widgets.data.table_plural = 'Test';
});
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-20-2021 08:52 AM
Hi there,
Can you please advise where to add this code?
Thanks!
Alex