掲示板

Automate upload process using Document Library API

13年前 に Gaurish Sharma によって更新されました。

Automate upload process using Document Library API

New Member 投稿: 22 参加年月日: 09/01/23 最新の投稿
Hi

We have a requirement to automate the file upload process so that users don't have to login to portal and upload files through GUI. All the files to be uploaded will be saved on a server location. A java utility will pick up the files and upload them using Document Library API. Is this a feasible solution? Has anyone tried this before?

Thanks
Gaurish
13年前 に Gaurish Sharma によって更新されました。

RE: Automate upload process using Document Library API

New Member 投稿: 22 参加年月日: 09/01/23 最新の投稿
Well, I have found one way to accomplish this.

Liferay provides number of methods exposed via web services that can be consumed by creating a Web Service client. Amongst many methods there is a method to add file that is useful in my case.

One can expose any method as a Service using Service Builder.
The link http://www.liferay.com/web/guest/community/forums/-/message_boards/message/210103 provides the detailed steps.
13年前 に Sultee khan によって更新されました。

RE: Automate upload process using Document Library API

Regular Member 投稿: 145 参加年月日: 09/10/31 最新の投稿
why don't you try with a scheduler? The scheduler can run from time and time and upload documents with webservices or with local methods
thumbnail
12年前 に ankit yakkundi によって更新されました。

RE: Automate upload process using Document Library API

Regular Member 投稿: 221 参加年月日: 10/03/05 最新の投稿
Hi..
I am using liferay 6.
I want to create a schedular to generate reports and generated reports PDF's would be added into DL thorugh API.
Can anyone help on this requirement.

Any idea or suggestions are welcome..

Thanks in advance..