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
14 replies
Subscribers
7 subscribers
Views
4456 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
I'm using Download DataSubset plugin and I'm trying to follow the exampl
guozhangy
over 9 years ago
I'm using Download DataSubset plugin and I'm trying to follow the example from
forum.appian.com/.../Download_DataSubset_Plugin.html
I'm using this plugin from Tempo Reports SAIL,
First, I have a Query Rule, getAllEmployees, which returns all Records from Emplyee CDT.
Then, I create an Export Rule (exact the same as the example): exportAllEmployees: =type!ExportableDataSubset(
datasubset: rule!getAllEmployees(topaginginfo(startIndex: 1, batchSize: -1)),
fieldNames: {"NAME"},
fieldLabels: {"NAME"},
filename: "employee"
)
when I test this rule directly from Rule Designer, it returns a lots of records.
Then I create a link:
with(
local!exportUri: getdatasubsetdownloadlinkfromrule(rule: rule!exportAllEmployees),
...........
a!dashboardLayout(
if(isNull(local!exportUri),
{},
a!linkField(
links: {
a!safeLink(
label: "Click Here to Export This Data to Excel",
uri: local!exportUri
...
OriginalPostID-156176
OriginalPostID-156176
Discussion posts and replies are publicly visible
Parents
0
chandhinir
over 9 years ago
Hi,
Just to confirm about the field name used in the Export Rule.Did you use the column name specified in the CDT or is it any other text?
You should use the element name specified in the CDT for the fieldNames attribute.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
chandhinir
over 9 years ago
Hi,
Just to confirm about the field name used in the Export Rule.Did you use the column name specified in the CDT or is it any other text?
You should use the element name specified in the CDT for the fieldNames attribute.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data