lad.s...@gmail.com
unread,Apr 6, 2017, 5:04:18 AM4/6/17Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Fujitsu RunMyProcess Developer Community
Hello Team,
As per client requirement we are using external database(sql server) to save and load the data into RMP web interfaces. In one Web interface we have to display data in table format. The rows are dynamic and rows count depends on data present in database tables. To implement this functionality first we tried with JavaScript report. By using JavaScript report we are able to load data from sql server(using Capi) to Web interface in table format but paging and filtering is not working with JavaScript report. Due to this issue later we have replaced JavaScript repot with collection. First of all we created Composite API to load all the data from sql database and then we are saving these data into collection using col_License.saveCallback(object,add_ok,add_ko); method and the we have used this collection in report widget to display data in table format. Data is loaded successfully and paging, filtering is also working fine but when we refresh web interface url it is adding another set of same data into collection and it causes duplication of data.Also we are opening popup window(custom widget) on each row of data to update the specific row using (update process). Data is successfully updated into sql database but collection is not updating.
I have attached JavaScript code to load data from CAPI to collection and output of report.
Please let us know what changes need to do in code so that it will work fine
Any help on this would be much appreciated.
Thanks,
Satish Lad