Expand my Community achievements bar.

SOLVED

How AEM OSGI upload files to IBM filenet

Avatar

Level 1

what is the best way to upload the DOR that created from the Adaptive form to IBM filenet while I am  using OSGI installation 

1 Accepted Solution

Avatar

Correct answer by
Level 9

are you able to upload file using wsdl outside of AEM?
Unfortunately I am not familiar with file net 

but file net should have documentation on its REST api

google got me this link

https://stackoverflow.com/questions/24604434/file-upload-and-download-from-filenet

View solution in original post

7 Replies

Avatar

Level 9

You will have to write custom OSGI bundle using the file net API 

Avatar

Level 1

I have developed a custom action to handle the attachment. but i have an issues.

 

I can get all data from the for even the attachment that used  "file attachment" component But i cannot get the DOR created.

I try to reach it by the submit ref id but also i cannot reach to its value.

 

could you help me to path the DOR submit ref to my custom action

Avatar

Level 9

When do you want to upload the DoR to Filenet

is it as part of workflow or if no workflow is involved you can write the code to upload the DoR in your custom submit handler

i believe file net has REST api available, then you can even consider using Form Data Model to upload the file

 

Avatar

Level 1

No work flow . I Want to upload the DOR doc with adaptive form submit ..

As i know filenet has CMIS SOAP API(http://filenet_host:port/fncmis/wsdl) but it gives me an error with AEM data source integration...

please provide me with the REST API URL 

Avatar

Level 9

You can also do the following which could be easier

configure Adaptive Form to submit to workflow

the DoR will be generated and stored Under the workflow payload 

write your custom code as process step to upload DoR to file net 

Avatar

Correct answer by
Level 9

are you able to upload file using wsdl outside of AEM?
Unfortunately I am not familiar with file net 

but file net should have documentation on its REST api

google got me this link

https://stackoverflow.com/questions/24604434/file-upload-and-download-from-filenet