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
23 replies
Subscribers
9 subscribers
Views
11520 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
download excel report from temporary community document folder to local drive
sudhirp712
over 8 years ago
Hi ,
We have created a process model which will extract the report from querydatabase and export it to excel and save it under temporary document folder in community section.
We need to add this to report tab in tempo page as XYZ Report. Users needs to click on XYZ Report and the excel generated report could be downloadable and save this to local drive.
Could anyone help us and let us know how to do it.
Attached the process model.
OriginalPostID-255357
Discussion posts and replies are publicly visible
Parents
0
sudhirp712
over 8 years ago
Hi All,
Right now I used the below code in the interface to pull the data from the link.
-----------------------
with(
local!exportUri: getdatasubsetdownloadlinkfromprocess(processModelUuid: cons!RPT_PROCESS_MODEL_UUID),
if(isNull(local!exportUri),
{/* Show an alternate message if the link cannot be generated */},
a!linkField(
links: {
a!safeLink(
label: "Download Daily Report",
uri: local!exportUri
)
}
)
)
)
-----------------------
When I click on the link. I am getting the "500 Internal Server error"
Attached then error logs.
Error-Log.txt
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
sudhirp712
over 8 years ago
Hi All,
Right now I used the below code in the interface to pull the data from the link.
-----------------------
with(
local!exportUri: getdatasubsetdownloadlinkfromprocess(processModelUuid: cons!RPT_PROCESS_MODEL_UUID),
if(isNull(local!exportUri),
{/* Show an alternate message if the link cannot be generated */},
a!linkField(
links: {
a!safeLink(
label: "Download Daily Report",
uri: local!exportUri
)
}
)
)
)
-----------------------
When I click on the link. I am getting the "500 Internal Server error"
Attached then error logs.
Error-Log.txt
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data