Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

Adding and retrieving attachments in form guides

Avatar

Level 1

hi all,


             How do i retrive an attachment attached in the workspace by the user, in my process. However there is an option in workbench while designing the process to store all the attachments in a document list......Recording the process and retrieving the xml data in the list variable provided the following output:

<list>
  <com.adobe.idp.Document serialization="custom">
    <com.adobe.idp.Document>
      <int>3</int>
      <boolean>false</boolean>
      <boolean>false</boolean>
      <null/>
      <string>127.0.0.1/10.226.187.85</string>
      <null/>
      <null/>
      <com.adobe.idp.DocumentFileID>
        <__fileName>sessionJobManager-e0e02f450ae2bb5570efc2cb709cee34/../docm1270786395612/5586e16f82848f9f8ac979cb01a6b4fb</__fileName>
      </com.adobe.idp.DocumentFileID>
      <string>image/jpeg</string>
      <null/>
      <map>
        <entry>
          <string>wsattachtype</string>
          <string>attachment</string>
        </entry>
        <entry>
          <string>wscreatedate</string>
          <date>2010-04-09 10:12:06.0 GMT+05:30</date>
        </entry>
        <entry>
          <string>basename</string>
          <string>Winter.jpg</string>
        </entry>
        <entry>
          <string>file</string>
          <string>Winter.jpg</string>
        </entry>
        <entry>
          <string>wsdescription</string>
          <null/>
        </entry>
        <entry>
          <string>wscreatorid</string>
          <string>92E9E3A7-14AE-102D-8D16-00000AE2B5CF</string>
        </entry>
        <entry>
          <string>wsupdatedate</string>
          <date>2010-04-09 10:12:06.0 GMT+05:30</date>
        </entry>
        <entry>
          <string>wspermission</string>
          <string>1</string>
        </entry>
        <entry>
          <string>wsfilename</string>
          <string>Winter.jpg</string>
        </entry>
      </map>
      <string>adobe/idp/DocumentPullServant/adobejb_server1</string>
      <long>105542</long>
    </com.adobe.idp.Document>
  </com.adobe.idp.Document>

</list>

Going through this didnt help me much .......please can anyone  help me out in this regard.

thanks

Arun Kumar L

0 Replies