Is there a size limit on the doc generated when we use create text doc from temp

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
  • 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
Reply
  • 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
Children
No Data