Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Murali Krishna
Reading directories and files from Portlets
May 30, 2012 4:23 AM
Answer

Murali Krishna

Rank: New Member

Posts: 17

Join Date: April 25, 2012

Recent Posts

Hi all,

Can any one help me to resolve following issue:

Portlet will read the directories and files which are available in the directories

The directories and files will be in the following format(table)

Directories Request Response
02-02-2011 1_0.xml 1_1.xml
03-02-2011 2_0.xml 2_1.xml


When i click on 02-02-2011 directory the available xml files will be present in Request and Response columns and also able download the xml files

I have been used Document Library Portlet.i m not able to represent the files in the table format.


Please tell me should i create custom portlet or use a existing one(Document Library)



Thanks in advance
Attachments: portlet.pdf (50.5k)
Hitoshi Ozawa
RE: Reading directories and files from Portlets
June 2, 2012 10:28 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7990

Join Date: March 23, 2010

Recent Posts

Are you using Liferay 6.1.0GA1? Is the problem with Document and Media library not being able to upload xml files?
Murali Krishna
RE: Reading directories and files from Portlets
June 4, 2012 12:09 AM
Answer

Murali Krishna

Rank: New Member

Posts: 17

Join Date: April 25, 2012

Recent Posts

Hi

Thanks for ur reply...emoticon

Ya i m using 6.!

I m able to upload the xml files.But i want display the xml files in table format as i attached docx file....
In Document Library Portllet,when i click on the folder ,it shows documents in the folder(see img documentlibrary.PNG) as shown in the img..

Should i edit the source code?Then where can i find the source code of Document Library Portlet?


Please tell me... still i m struggling



Thank in advance
Attachment

Attachments: docmentlibrary.PNG (78.1k)
Vitor Silva
RE: Reading directories and files from Portlets
June 6, 2012 2:25 AM
Answer

Vitor Silva

LIFERAY STAFF

Rank: Junior Member

Posts: 36

Join Date: May 3, 2012

Recent Posts

You are NOT using version 6.1.. It has this feature already.You are using version 6.0 and you should upgrade if possible.
technology evangelist
RE: Reading directories and files from Portlets
August 12, 2013 10:23 PM
Answer

technology evangelist

Rank: Junior Member

Posts: 35

Join Date: August 1, 2013

Recent Posts

Hi murali krishna,

How you made the portlet to read the directory and file from external location and upload to document library.

Best wishes