掲示板

DOCUMENT EDITOR IN LIFERAY

7年前 に Pallavi Havale によって更新されました。

DOCUMENT EDITOR IN LIFERAY

New Member 投稿: 9 参加年月日: 15/08/28 最新の投稿
Hello,
My requirement is that, I want Document Editor in Liferay. First off all I Upload Document Files & Store In DLFileEntry Entity.
Then, For Editor I use liferay-ui:input-editor FCKEditor. I fetching the file contents which is storing in DLFileEntry & I getting all contents regarding file in FCKEditor. Now I want to do Update the Content which is in Editor, After submitting of button click I got all updated data in console but my requirement is I want to update data in DLFileEntry entity. for that I try to Use DLFileEntryLocalServiceUtil.updateFileEntry() But I am not getting any Results.

Can any one Help Me To Resolve My Issue..
thumbnail
7年前 に Olaf Kock によって更新されました。

RE: DOCUMENT EDITOR IN LIFERAY

Liferay Legend 投稿: 6403 参加年月日: 08/09/23 最新の投稿
Pallavi Havale:
But I am not getting any Results.

This is a quite broad problem statement. Let's start with a number of questions:
  • What's the format of the documents that you want to work on? TXT? DOC? XLS? PDF? ODT? XML? ZIP?
  • What did you do so far (can you point to publically available code?)
  • Is your problem in reading or in writing that data?
  • I'm assuming you're building a new portlet that implements this editor - what version of Liferay are you aiming at?
  • As you already mention some API that you intend to use: How are you using it and what are the non-results that you get?
7年前 に Pallavi Havale によって更新されました。

RE: DOCUMENT EDITOR IN LIFERAY

New Member 投稿: 9 参加年月日: 15/08/28 最新の投稿
Thanx Olaf Kock




I want to work on DOC format File.
Yes, I refered this link https://web.liferay.com/community/wiki/-/wiki/Main/Add+HTML+Editor+to+Portlet.
Work Flow Of My Project :
1] I upload DOC File in DLFileEntry.
2] I have list of DOC files which I'm getting though DLFileEntry entity
3] While I selecting the Any file Out of List it Gives me all contents in Editor and I just changing the content or updating it,
4] finally I wana updating content which I changing in Editor in Existing DOC File(Override the DOC File).
I have problem to updating content data not reading and writing, I am getting content of DOC File through getContentStream();
I'm building a new portlet that implements this editor & I am using Liferay 6.2ga3.

7年前 に Pallavi Havale によって更新されました。

RE: DOCUMENT EDITOR IN LIFERAY (回答)

New Member 投稿: 9 参加年月日: 15/08/28 最新の投稿
Resolved
thumbnail
7年前 に Nirav Prajapati によって更新されました。

RE: DOCUMENT EDITOR IN LIFERAY

Regular Member 投稿: 133 参加年月日: 15/06/25 最新の投稿
Hi Pallavi

I have same requirement like you,
I have to edit document in D&M Portlet,
In short i want some editor which can edit my document and save it.

Please help me
Thnaks in Advance.