Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Anil Sunkari
Regarding Document Library
August 11, 2009 9:32 PM
Answer

Anil Sunkari

Rank: Expert

Posts: 427

Join Date: August 11, 2009

Recent Posts

Hi Every One

I need some help from you people.

The problem is i canr able to retrieve the document library in web content.So, for this what i did is first of all i created a structure where this structure provides an option for selecting document library while adding rows.So, i just added one text field and one document library field.While creating template i am unable to know how to retrieve it in velocity.Can somebody help me out on this issue...........its very urgent yaar

Thanks & Regards
Anil Kumar.S
hameethun nihar
RE: Regarding Document Library
August 12, 2009 2:33 AM
Answer

hameethun nihar

Rank: New Member

Posts: 4

Join Date: August 5, 2008

Recent Posts

Hi,

If in structure you have defined a row which is an document library then in VM file you have to use in this way:

<a href="$Document.getData()"> Documents<a/>

Here in "$Document.getData()" Document is the name you have given in structure for that row.


Regards,
Nihar
Anil Sunkari
RE: Regarding Document Library
December 10, 2012 1:59 AM
Answer

Anil Sunkari

Rank: Expert

Posts: 427

Join Date: August 11, 2009

Recent Posts

Thank you nihar thanks a lot for your immediate response.