I am using the Download datasubset plugin for generating download link of Excel

I am using the Download datasubset plugin for generating download link of Excel file from a Tempo Report.
I have created the rule which returns an ExportableDataSubset.

I get the error: Expression evaluation error at function 'getdatasubsetdownloadlinkfromrule' [line 20]: Error evaluating function 'getdatasubsetdownloadlinkfromrule' : 0.

I have ensured that the rule which returns Exportable Data Subset returns it correctly. Also went through the sample Application which demonstrates its usage. But I am not able to figure out the issue. For reference, I have attached the SAIL code in a text file to this post.

If anyone has used this plugin before, please check my code and let me know if I am doing it incorrectly. Please note that ri!input is of type Number(Integer). I have set it to Numeric Type as per the Sample Application given for the plugin

Issue_DownloadDataSubsetPlugin.txt

OriginalPostID-170148

OriginalPostID-170148

  Discussion posts and replies are publicly visible

Parents
  • Thank you Sikhi. My guess is that the error is consistent with Java's variable naming rules. Variables in Java cannot start with a number but they are allowed at other positions in the name. Since the plugins are developed in Java, I think this might be the fundamental issue. This is just my guess- I could be wrong. One will need to dig deeper into the exception stacktrace to find the exact reason.
Reply
  • Thank you Sikhi. My guess is that the error is consistent with Java's variable naming rules. Variables in Java cannot start with a number but they are allowed at other positions in the name. Since the plugins are developed in Java, I think this might be the fundamental issue. This is just my guess- I could be wrong. One will need to dig deeper into the exception stacktrace to find the exact reason.
Children
No Data