cancel
Showing results for 
Search instead for 
Did you mean: 

Content Navigation in Document Library

ahamed_rasmi
Champ in-the-making
Champ in-the-making
Hi,

I am given assignment of editing document details for custom requirement..

I need to navigate thru documents and images by clicking next and prev in document-details page in share..

I have put 2 command buttons next snd prev in document-details page..

I have also taken ?nodeRef=workspace://SpacesStore/3c9cbb8c-90f9-4a50-8ff9-404db9357efc  to a servlet. I have to get next node reference.. from current node reference..

From Servlet, I tried web services.. But failed.. Because i dont find anything accesses nodes and children.. ( I ain't sure..If there is any please suggest)

To use node service, i think we need to be within context of alfresco.. ( Since classpath://alfresco/application-context.xml is there). but i am outside.. I am in Servlet running inside Share

Please suggest me with how to implement this scenario..

Thanks in advance,

Ahamed
4 REPLIES 4

zaizi
Champ in-the-making
Champ in-the-making
I would suggest creating a new Share page based on Document details. Modify it so it the ?nodeRef=workspace://SpacesStore/3c9cbb8c-90f9-4a50-8ff9-404db9357efc is a folder nodeRef. Use it to get a list of documents in that folder. Then next and previous just loads the details for the documents. It can be configured per site and does not affect the original details page.

ahamed_rasmi
Champ in-the-making
Champ in-the-making
Thanks for your reply…

Can you suggest me how to move from one document-details of one document page to next document-details of another document.. How to get reference of next node to traverse to see document-details page from current document-details page

ahamed_rasmi
Champ in-the-making
Champ in-the-making
I have implemented this functionality..

I have taken root node reference to Servlet..

Children found..

References of children used for navigation..

Solved

oma_fmc
Champ in-the-making
Champ in-the-making
Hello ahamed.rasmi,

Could you please share your approach to solve this issue? Because we have to do the same task.