RenderPDFForm - Attachments

Avatar

Avatar

Johannes_Lehnin

Avatar

Johannes_Lehnin

Johannes_Lehnin

02-07-2009

Hi,

I'm using the RenderPDFForm to merge a template with xml data. this service also provides the possibility to add attachments. Therefore I create a document map an pass it to the service.

works fine. Just one point that needs to be resolved. The Render service injects a timestamp as description . (see Attachment of this post)

how/where can I manually set this value?

regards

Accepted Solutions (0)

Answers (5)

Answers (5)

Avatar

Avatar

pguerett

Avatar

pguerett

pguerett

08-07-2009

Sounds like a bug .......you should report that to support to get it fixed. In the meantime you could enter a description that is long enough to cause the $fs=timestamp to roll off of the visual display.

Paul

Avatar

Avatar

Johannes_Lehnin

Avatar

Johannes_Lehnin

Johannes_Lehnin

08-07-2009

thx for the hint,

it works, but I the description looks now like "filename $fs_timestamp". (details in attached file)

It should look just like "filename"

Avatar

Avatar

pguerett

Avatar

pguerett

pguerett

07-07-2009

Sorry I was confused with what you were doing. I thought you were looking at the attachments on the task not in Reader/Acrobat. The attribute you want is "description" not "wsdescription".

Paul

Avatar

Avatar

Johannes_Lehnin

Avatar

Johannes_Lehnin

Johannes_Lehnin

07-07-2009

this is how the map looks like:

as you can see the wsdescription tag is set, but after using renderpdfForm Service the description is displayed the way as I've explained.

any ideas to solve this problem?

<map>
  <entry>
    <string>Preise_VK_2009_EUR_3.pdf</string>
    <com.adobe.idp.Document serialization="custom">
      <com.adobe.idp.Document>
        <int>3</int>
        <boolean>true</boolean>
        <boolean>true</boolean>
        <null/>
        <string>127.0.0.1//10.0.11.15</string>
        <null/>
        <null/>
        <com.adobe.idp.DocumentFileID>
          <__fileName>session29036/../docm1246881620500/2ba35a3c7f7477866171ed3e9141d088</__fileName>
        </com.adobe.idp.DocumentFileID>
        <null/>
        <null/>
        <map>
          <entry>
            <string>wsattachtype</string>
            <string>attachment</string>
          </entry>
          <entry>
            <string>wsfilename</string>
            <string>Preise_VK_2009_EUR_3.pdf</string>
          </entry>
          <entry>
            <string>wsdescription</string>
            <string>irgendwas</string>
          </entry>

          <entry>
            <string>wscreatorid</string>
            <string>4AA5E7DF-CA4D-55F8-4176-675B089C871B</string>
          </entry>
          <entry>
            <string>basename</string>
            <string>Preise_VK_2009_EUR_3.pdf</string>
          </entry>
          <entry>
            <string>wsupdatedate</string>
            <date>2009-07-07 09:52:48.77 CEST</date>
          </entry>
          <entry>
            <string>file</string>
            <string>Preise_VK_2009_EUR_3.pdf</string>
          </entry>
          <entry>
            <string>wspermission</string>
            <string>1</string>
          </entry>
          <entry>
            <string>name</string>
            <string>Preise_VK_2009_EUR_3.pdf</string>
          </entry>
          <entry>
            <string>wscreatedate</string>
            <date>2009-07-07 09:52:48.77 CEST</date>
          </entry>
        </map>
        <string>adobe/idp/DocumentPullServant/adobejb_server1</string>
        <long>208665</long>
      </com.adobe.idp.Document>
    </com.adobe.idp.Document>
  </entry>
</map>

Avatar

Avatar

pguerett

Avatar

pguerett

pguerett

06-07-2009

The attachments map is a map of document objects. How were the document objects created in the first place. Each document has attributes that describe the contents of the document. The ones you are interested in are prefixed by ws. I believe that the one you want is wsdescription.

Paul