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
1 reply
Subscribers
5 subscribers
Views
612 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
#DownloadDatasubsetPlugin I am using Download Datasubset to export datasubs
henryc
over 9 years ago
#DownloadDatasubsetPlugin
I am using Download Datasubset to export datasubset to Excel file.
However, when I add one input a parameter in the rule of getdatasubsetdownloadlinkfromrule, it does not work, and nothing shows on the linkField. It seems that the 'rule' of getdatasubsetdownloadlinkfromrule does not support input parameter. Can anyone help on it?
Below is the sample script:
with(
local!exportUri: getdatasubsetdownloadlinkfromrule(rule: rule!exportProduct(datasubset_anytype:rule!getproduct_id)),
if(isNull(local!exportUri),
{},
a!linkField(
links: {
a!safeLink(
label: "Click Here to Export This Data to Excel",
uri: local!exportUri
)
}
)
)
)
OriginalPostID-150114
OriginalPostID-150114
Discussion posts and replies are publicly visible
0
Tom Ryan
Appian Employee
over 9 years ago
It looks like you need to pass the input as a separate parameter, eg. something like:
local!exportUri: getdatasubsetdownloadlinkfromrule(
rule: rule!exportProduct,
input: rule!getproduct_id()
)
Check out the section under Using Dynamic Inputs for another example:
forum.appian.com/.../Download_DataSubset_Plugin.html
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel