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
5026 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 10 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
Tim
Certified Lead Developer
over 10 years ago
Is this the exact code? If so you are missing attribute labels in your a!dashboardLayout, add the "firstcolumncontents{}" identifier, without it no fields will render.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Tim
Certified Lead Developer
over 10 years ago
Is this the exact code? If so you are missing attribute labels in your a!dashboardLayout, add the "firstcolumncontents{}" identifier, without it no fields will render.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data