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
5 replies
Subscribers
7 subscribers
Views
2303 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Is there a size limit on the doc generated when we use create text doc from temp
anagha_abhyankar
over 10 years ago
Is there a size limit on the doc generated when we use create text doc from template smart service?
Also, can we have ###Image### tag in the doc to insert a doc in the template?
Thanks,
Anagha...
OriginalPostID-104903
OriginalPostID-104903
Discussion posts and replies are publicly visible
Parents
0
Eduardo Fuentes
Appian Employee
over 10 years ago
1. No size limit
2. When you say: "to insert a doc in the template" do you mean, to insert an image? If that's the question then the answer is yes but you need an HTML Template Here is a sample application
forum.appian.com/.../85010
You need to have the Base64 Utilities Plug-in available for download here in Appian Forum under the "Shared Components" section (
forum.appian.com/.../components)-
Expression Functions - View All Expression Functions.
To test the example just run a new instance, pass an image and a text in the start form and a new task will let you download the resulting document. If you review the template you will see the trick is in the <img> tag:
<img alt="Embedded Image" src="data:image/png;base64,###IMAGE_BASE64###" />
then I use the HTML Doc From Template to populate the IMAGE_BASE64 key with convertdocumenttobase64(pv!image
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Eduardo Fuentes
Appian Employee
over 10 years ago
1. No size limit
2. When you say: "to insert a doc in the template" do you mean, to insert an image? If that's the question then the answer is yes but you need an HTML Template Here is a sample application
forum.appian.com/.../85010
You need to have the Base64 Utilities Plug-in available for download here in Appian Forum under the "Shared Components" section (
forum.appian.com/.../components)-
Expression Functions - View All Expression Functions.
To test the example just run a new instance, pass an image and a text in the start form and a new task will let you download the resulting document. If you review the template you will see the trick is in the <img> tag:
<img alt="Embedded Image" src="data:image/png;base64,###IMAGE_BASE64###" />
then I use the HTML Doc From Template to populate the IMAGE_BASE64 key with convertdocumenttobase64(pv!image
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data