Getting data from internal widget unable to pass the added options schema from called widget
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2025 07:53 AM
Hi Community,
I have requirement to show the data from table in table format but only latest 3 records so I have copied the 'Data table from instance definition' and added the record_limit option in option schema, but this widget is calling a internal widget (data.dataTableWidget = $sp.getWidget('widget-data-table', options);), so I have copied the this internal widget as well, and this is working fine as expected without record limit. I wanted to add the setLimit before query, and that will be from option schema(record_limit), but unable to access options.record_limit in internal widget mean it is not returning any data.
Please suggest any solutions how I can achieve this.
POV: These widgets are available in PDI.
Thanks,
Bhimashankar