Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
12 replies
Subscribers
5 subscribers
Views
5101 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
I am using getdatasubsetdownloadlinkfromrule and following the steps in document
kumaraveln
over 9 years ago
I am using getdatasubsetdownloadlinkfromrule and following the steps in documentation.
forum.appian.com/.../Download_DataSubset_Plugin.html
When I complete selecting the filter, URL is getting generated but when I click on the link, 500 - Internal Server Error is showing up. We tried several solution provided in other post but nothing worked. We were forced to move the report to a process model using a different plugin. Attaching the code snippet here. Appreciate any help.
Report_HomeScreen.txt
OriginalPostID-164135
OriginalPostID-164135
Discussion posts and replies are publicly visible
Parents
0
jeromew
over 9 years ago
I forgot to report back, but I've figured out my issue.
a!toJson and a!fromJson cause issues when sending through a large datasubset. It seems to have a character limit, because I could send a varying amount of data through, but once it hit the limit (unsure of exact character limit) it would not convert back to a datasubset and it would cause the getdatasubsetdownloadlinkfromrule to break.
What I am doing now is passing just the search criteria in, and then using that to bring back the datasubset at the CTQG_ToExportableDataSubset level instead of passing the datasubset into it.
This means I could not make the exportable data subset rule generic. It's a shame but hopefully this knowledge helps others.
Thanks for your suggestions kumaravein
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
jeromew
over 9 years ago
I forgot to report back, but I've figured out my issue.
a!toJson and a!fromJson cause issues when sending through a large datasubset. It seems to have a character limit, because I could send a varying amount of data through, but once it hit the limit (unsure of exact character limit) it would not convert back to a datasubset and it would cause the getdatasubsetdownloadlinkfromrule to break.
What I am doing now is passing just the search criteria in, and then using that to bring back the datasubset at the CTQG_ToExportableDataSubset level instead of passing the datasubset into it.
This means I could not make the exportable data subset rule generic. It's a shame but hopefully this knowledge helps others.
Thanks for your suggestions kumaravein
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data