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
  • @chetany No problem, I would like to suggest you to reproduce the problem first. If you are successful in reproducing the problem(I hope you will because I tried the same example which you are trying), then I would like to suggest to try various rule (the one which gets you exportable datasubset) names such as 61LexportDataForExcelReports/ L_exportDataForExcelReports/ 61_exportDataForExcelReports etc. Then we can conclude the reason of the behavior and decide if the culprit is underscore or the letters before underscore or the numbers etc. I have seen some other posts in the forum that were discussing about 'Download Datasubset' plugin and their rule name is making use of underscore. Let's know if there are any findings from your side.
Reply
  • @chetany No problem, I would like to suggest you to reproduce the problem first. If you are successful in reproducing the problem(I hope you will because I tried the same example which you are trying), then I would like to suggest to try various rule (the one which gets you exportable datasubset) names such as 61LexportDataForExcelReports/ L_exportDataForExcelReports/ 61_exportDataForExcelReports etc. Then we can conclude the reason of the behavior and decide if the culprit is underscore or the letters before underscore or the numbers etc. I have seen some other posts in the forum that were discussing about 'Download Datasubset' plugin and their rule name is making use of underscore. Let's know if there are any findings from your side.
Children
No Data