Skip to main content
Inspiring
Jan 18, 2022 11:36 AM UTC
Solved

Transform to PDF

Hi,

Is there any direct way to do similar to export to excel in read-only grid in Appian.

harshitb6843
Brainy
Jan 18, 2022 2:36 PM UTC

Yep. You can do that. But all of that will require you to specify dynamic code in the template. 
You can use this documentation here - https://w3schools.sinsixx.com/xslfo/default.asp.htm

4 replies

harshitb6843
Brainy
Jan 18, 2022 11:59 AM UTC

Hi,

This question has been raised multiple times in the community but I am not sure if there are any feasible solutions to it. 
However, this can be achieved if it is only about a form or two. Not for more than that as it will require separate templates to be developed for every SAIL form. 

You can create and store XSL-FO templates that look like your interface, and that also accepts dynamic inputs. And then you can use https://community.appian.com/b/appmarket/posts/dynamic-document-generator smart service to get your PDF. 

Thanks,
Harshit

Inspiring
Jan 18, 2022 12:16 PM UTC

Thanks for the reply [mention:ef600ff8f5d2497eb2def2126dc89484:e9ed411860ed4f2ba0265705b8793d05]

Could you please provide any examples or docs related to this implementation.

harshitb6843
Brainy
Jan 18, 2022 2:36 PM UTC

Yep. You can do that. But all of that will require you to specify dynamic code in the template. 
You can use this documentation here - https://w3schools.sinsixx.com/xslfo/default.asp.htm

richardm900458
Inspiring
Jan 18, 2022 12:21 PM UTC

Hi Purib,

it might sound a bit harsh, but with no mean to insult:
Please learn the vocabulary! What is the idea of a SAIL form?
its no form in the sense of a document (word forms etc)
It's a structured way showing data from DB or web services let's say on a user screen.
So your real issue is, if you can transfer  this data into a document format like pdf format. 
Short: Yes you can.
Harshit linked one possible approach.
But there is more than one depending on your target etc.

Kind regards,
Richard