How to set data to a report widget more than visible?

72 views
Skip to first unread message

lagavulin.isla...@gmail.com

unread,
Jun 2, 2016, 8:13:34 AM6/2/16
to Fujitsu RunMyProcess Developer Community
Hi,

I'm using a report widget in a web interface to show a certain kind of data. However, if the number of data is more than visible lines of a report, it's ignored. In other words, the data shown is only on one page of the report.

I'm using setData method to register data.

How can I set data to a report widget like when using a collection? I'm looking for a solution without using a collection now.

Thanks in advance.
Takafumi Sakai

Murali

unread,
Jun 3, 2016, 8:05:35 AM6/3/16
to Fujitsu RunMyProcess Developer Community, lagavulin.isla...@gmail.com
Hi Takafumi,

Could you please let us know, how you are setting the report Data; and what is the exact business requirement to help you further.

Also refer to related guidelines explained in user guide.

Regards,
Murali
Fujitsu RunMyProcess Support

lagavulin.isla...@gmail.com

unread,
Jun 5, 2016, 8:12:33 PM6/5/16
to Fujitsu RunMyProcess Developer Community
Hi Murali,

Thank you for your reply.

Under a certain circumstance, I can't use a collection to show data from an outside resource. I'm trying to use a report directly setting data as follows.

report1.setData(data);

"data" has more than 100 lines. Then the report shows only 30, which is set as a number of lines shown in one page, and I can't see more pages like when I set the data to a collection.

If you need more, let me know.

Thanks,
Takafumi Sakai

Murali

unread,
Jun 6, 2016, 3:26:03 AM6/6/16
to Fujitsu RunMyProcess Developer Community, lagavulin.isla...@gmail.com
Hi Takafumi,

Firstly, the pagination on Report widget has to be managed by your code for dynamic data/ Javascript Reports; similar to the collection example in user-guide.

You could alternatively store the data into Custom List saved on your Project, create a CAPI to fetch its values and update JS code for Report widget. Attached the CAPI configs for your reference.

Hope this helps for your requirement.
CAPI - to retrieve data from list.PNG

lagavulin.isla...@gmail.com

unread,
Jun 6, 2016, 6:20:09 AM6/6/16
to Fujitsu RunMyProcess Developer Community
Murali,

Thank you for your swift solution. I'll try this and if having other issues, I'll get back to you.

Thanks,
Takafumi Sakai

Reply all
Reply to author
Forward
0 new messages