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
10 replies
Subscribers
11 subscribers
Views
7996 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Data and Records
Record extraction to PDF
vasilisg
over 7 years ago
Hi all,
Is there an easy way to generate a PDF from a record, for example, while displaying a record then using a related action a pdf could be generated which later can be printed.
Thank you.
OriginalPostID-257250
Discussion posts and replies are publicly visible
Parents
0
mathieud
over 7 years ago
We have the same requirement. The only way I've found that could possibly work would be to run a headless browser (i.e. PhantomJS) to manage the authentication and navigate to the record. From there you can either directly print to PDF using PhantomJS or retrieve the HTML and use another library to manage the conversion to PDF. Headless browser authentication is required because most HTML to PDF conversion libraries available only support HTTP Authentication. Unfortunately Appian does not support HTTP Authentication for Records at the moment.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
mathieud
over 7 years ago
We have the same requirement. The only way I've found that could possibly work would be to run a headless browser (i.e. PhantomJS) to manage the authentication and navigate to the record. From there you can either directly print to PDF using PhantomJS or retrieve the HTML and use another library to manage the conversion to PDF. Headless browser authentication is required because most HTML to PDF conversion libraries available only support HTTP Authentication. Unfortunately Appian does not support HTTP Authentication for Records at the moment.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data