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
7883 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
aloks0189
Certified Lead Developer
over 7 years ago
@vasilisg If you want to build the smart service in order to convert Excel into PDF, then you can use the attached java code followed by Appian Annotations that will be needed to prepare input and output parameters, however before using the attached example, you need to download few jar files and set it under classpath, those are:-
======================================================
dom4j-1.6.1.jar
itextpdf-5.4.0.jar
log4j-1.2.17.jar
poi-3.9.jar
poi-ooxml-3.5-beta5.jar
poi-ooxml-3.6-20100309.jar
poi-ooxml-schemas-3.7-beta1.jar
xmlbeans-2.5.0.jar
xmlbeans-xmlpublic-2.4.0.jar
=====================================================
And then follow the attached Java code and convert the code according to your requirement.
Also attached the output of the attached Java file, which is generating Excel to PDF successfully.
Hope this will help you to build the Smart Service Successfully.
ExcelToPDF.java
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
aloks0189
Certified Lead Developer
over 7 years ago
@vasilisg If you want to build the smart service in order to convert Excel into PDF, then you can use the attached java code followed by Appian Annotations that will be needed to prepare input and output parameters, however before using the attached example, you need to download few jar files and set it under classpath, those are:-
======================================================
dom4j-1.6.1.jar
itextpdf-5.4.0.jar
log4j-1.2.17.jar
poi-3.9.jar
poi-ooxml-3.5-beta5.jar
poi-ooxml-3.6-20100309.jar
poi-ooxml-schemas-3.7-beta1.jar
xmlbeans-2.5.0.jar
xmlbeans-xmlpublic-2.4.0.jar
=====================================================
And then follow the attached Java code and convert the code according to your requirement.
Also attached the output of the attached Java file, which is generating Excel to PDF successfully.
Hope this will help you to build the Smart Service Successfully.
ExcelToPDF.java
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data