Title not working in the "Data Table from Instance Definition" widget
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2017 09:13 PM
Hello experts,
I am using Data Table Instance Definition wigdet to show the information of Incident.
I have set the title as 'My BDC Resolved Incidents' but it showing as Incident only.How can I change it?
Thanks
saranya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-05-2017 05:06 AM
I cloned data table with instance definition and in the html template i changed line 3 to
html template line 3
${Table not defined} '{{data.options.title}}'
However the custom title shows while page is loading but once the page gets loaded the title changes to table name due to line 37 in server side script that over rides all our custom bindings.
server script line 37
data.table_label = gr.getLabel();
For now i have cloned data table instance for definition and hardcoded the title.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-06-2017 12:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-05-2017 07:09 AM
Seems like you found a work around. From the problem you are trying to solve I would also suggest that you might have a boolean field that gets passed down from the server to the client. What that boolean field will do is check what page it is on (use $sp.getParameter('id') for this) if it is the page of the widget with the unique query then display the correct title with an ng-hide and ng-show.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2017 11:33 PM
Hi Saranya,
You are actually passing some parameters in the server side script... from data table widget...
so when you are using "data table from instance definition" you are actually passing the widget params from "data table" widget...
you have to clone both the widgets and hardcode in the html template in the "data table" widget.
and also (say)change data_label value to "My Incidents" if you want to change the title from "Incidents".