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
+1
person also asked this
people also asked this
Replies
7 replies
Subscribers
5 subscribers
Views
3998 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
getdatasubsetdownloadlinkfromrule() Functionality
Dastagiri Dudekula
over 7 years ago
I would like to export specific grid data to an Excel Sheet using getdatasubsetdownloadlinkfromrule().
I implemented it with reference to
forum.appian.com/.../Download_DataSubset_Plugin.html.
Implementation details are as follows:
1. I created a rule that returns object of type ExportableDataSubset for a specific input of type a!PagingInfo.
2. I configured it as follows
local!processURI: getdatasubsetdownloadlinkfromrule(rule: rule!INF_allEmployeeDataFun_2, input:ri!pagingInfo)
Result:
Error 500 - Internal Server Error
Sorry, your request could not be processed.
Note:
Paging Info instilling its data perfectly on the way of process flow.
Rules are functioning healthy way with targeted output.
OriginalPostID-236308
Discussion posts and replies are publicly visible
0
sikhivahans
over 7 years ago
@dastagirid Isn't it that the data type of 'input' argument should be Text rather than pagingInfo(Refer the 'input' argument under 'Get DataSubset Link (From Rule) Expression' section)? In case if you want pagingInfo as a filter to the ExportableDataSubset rule, try converting the value to Text using a!toJson while invoking getdatasubsetdownloadlinkfromrule() and in the Exportable DataSubset rule, convert it back using a!fromJson(). This has been mentioned under 'Using JSON Strings for Complex Input' section.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Alok Patro
over 7 years ago
for me also not working .. i guess the plug in is having issues. before it was fine
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sikhivahans
over 7 years ago
@alokp Would you be able to discuss your implementation details and findings from logs?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Jamie Loizou
Appian Employee
over 7 years ago
Sikhi is correct: This plugin requires that the input be labeled "input" and be of Text data type. It's expected that the rules and process will function just fine without being used by the plugin's function, as you've noticed, since the limitation lies with the plugin. For troubleshooting, you'll need to view the logs (see "Error and Performance Logging" section of
forum.appian.com/.../Download_DataSubset_Plugin.html
).
For related issues to this common problem, search Forum News for "datasubset download"
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Dastagiri Dudekula
over 7 years ago
Thank you for quick response.
@Sikhi brother you are right. I found that I am passing "input" label value as the Paging Info object instead text type. I try your suggestions and let you know the functionality status for feedback
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sikhivahans
over 7 years ago
@dastagirid No worries mate.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Dastagiri Dudekula
over 7 years ago
@Sikhi sir problem resolved.
@jamie.loizou Thank you for making aware of logging knowledge
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel