I am studying plug-in - Download DataSubset (On-Premise) to export data from sai

I am studying plug-in - Download DataSubset (On-Premise) to export data from sail form to excel.
Found that the input of rule: getdatasubsetdownloadlinkfromrule() must be rules that return the exportable datasubet.

My question is: On a sail form, there is a edit section that allow user to update some fields within datasubset. I am not able to get the latest data if i use rule to retrieve data from database. How could I export the on-screen data(CDT) to an excel?

Please help! Million thanks!!

OriginalPostID-152928

OriginalPostID-152928

  Discussion posts and replies are publicly visible

Parents
  • The function getdatasubsetdownloadlinkfromrule() needs to take a rule that returns a datasubset, it doesn't need to pull the data from a database. For example, you could have the SAIL form editing the datasubset, and save the new datasubset into a process variable, and then define a rule that returns the process variable you have just created. The download link for the excel document would have to be on the second form of a wizard. This doesn't seem like a particularly elegant solution, but from my understanding the plugin is not really designed to return form data.
Reply
  • The function getdatasubsetdownloadlinkfromrule() needs to take a rule that returns a datasubset, it doesn't need to pull the data from a database. For example, you could have the SAIL form editing the datasubset, and save the new datasubset into a process variable, and then define a rule that returns the process variable you have just created. The download link for the excel document would have to be on the second form of a wizard. This doesn't seem like a particularly elegant solution, but from my understanding the plugin is not really designed to return form data.
Children
No Data