How AEM OSGI upload files to IBM filenet | Community
Skip to main content
mohamed_mounir
New Participant
July 19, 2020
Solved

How AEM OSGI upload files to IBM filenet

  • July 19, 2020
  • 5 replies
  • 1917 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by GirishBedekar

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

5 replies

GirishBedekarAccepted solution
New Participant
July 19, 2020

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

New Participant
July 19, 2020

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 

New Participant
July 19, 2020
New Participant
July 19, 2020

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

 

mohamed_mounir
New Participant
July 19, 2020

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 

New Participant
July 19, 2020

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

mohamed_mounir
New Participant
July 19, 2020

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