Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
toggle
Bavani Meganathan
need help with content display and version control
15. Juli 2011 01:15
Antwort

Bavani Meganathan

Rang: New Member

Nachrichten: 1

Eintrittsdatum: 15. Juli 2011

Neue Beiträge

hi all,

i ran through the forum but failed to find a solution. not sure if i am missing something here.

1. how can i have another portlet with the list of all content in the document library only? i have a few document libraries with different scope, so i'd like to have the display of the list of content like in a portlet next to the document library portletl. i do not want web content display, just a list if all documents that have been saved in the document library. how can i achieve this?

2. how do i impose a version control on all the documents within respective scopes? I did a test by uploading a document called test. and then i tried uploading again and an error came up - name already exist or something - which is great and it forces the user to rename but that's a manual version control. if say a document named test_v1 already exist and another user happened to upload something called test_version1, that's not good then. is there any way i can enforce a certain version control method in the document library?

thank you very much,
bav
Gaurav K Barot
RE: need help with content display and version control
19. Juli 2011 02:10
Antwort

Gaurav K Barot

Rang: Junior Member

Nachrichten: 44

Eintrittsdatum: 27. November 2008

Neue Beiträge

Bavani Meganathan:
hi all,

i ran through the forum but failed to find a solution. not sure if i am missing something here.

1. how can i have another portlet with the list of all content in the document library only? i have a few document libraries with different scope, so i'd like to have the display of the list of content like in a portlet next to the document library portletl. i do not want web content display, just a list if all documents that have been saved in the document library. how can i achieve this?

2. how do i impose a version control on all the documents within respective scopes? I did a test by uploading a document called test. and then i tried uploading again and an error came up - name already exist or something - which is great and it forces the user to rename but that's a manual version control. if say a document named test_v1 already exist and another user happened to upload something called test_version1, that's not good then. is there any way i can enforce a certain version control method in the document library?

thank you very much,
bav


Hi Bavani,

Please find the reply below:

(1) You can use Liferay's Document Library Display portlet to display list of documents uploaded in document library. You have to configure the root folder of which you want to display the documents. This is an instanciable portlet, so you can add as many portlets as you want.
(2) You can use Liferay's webdev feature. Check-out the document and then check-in again.
Drew Blessing
RE: need help with content display and version control
10. Oktober 2011 20:05
Antwort

Drew Blessing

Rang: Junior Member

Nachrichten: 79

Eintrittsdatum: 27. Januar 2011

Neue Beiträge

The Document Library has built in version control. To use this, instead of just uploading a new document with the same name (which fails as you said), follow these steps:

1. Go to the Control Panel -> Document Library
2. Find the document you wish to create a new version for.
3. Click "Edit"
4. Upload the new version

That's all there is to it.