Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

Getting data from internal widget unable to pass the added options schema from called widget

Bhimashankar H
Mega Sage

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

0 REPLIES 0