Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

How AEM OSGI upload files to IBM filenet

mohamed_mounir
Level 1
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
GirishBedekar
Correct answer by
Level 9
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
GirishBedekar
Level 9
Level 9

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

mohamed_mounir
Level 1
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

GirishBedekar
Level 9
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

 

mohamed_mounir
Level 1
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 

GirishBedekar
Level 9
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 

GirishBedekar
Correct answer by
Level 9
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