AnsweredAssumed Answered

Get current folder path

Question asked by laurent1050 on Oct 7, 2010
Latest reply on Oct 14, 2010 by mikeh

I've made a web script in Alfresco to get the description of a folder: /slingshot/doclib/folderdescription/site/{site}/{container}/{path}
Everythig is ok, I get the description of the my folder using

Know, I want to ask this web script from Share, using

var mySite =;
var myFolderPath = ???;"/slingshot/doclib/folderdescription/site/" + mySite + "/documentlibrary/" + myFolderPath);
But I don't know how to get the current folder path ?

In fact, what I need to show in the document library is the description of the current folder.
For example, in the page showing the content of the A/B folder in my Share site (http://localhost:8080/share/page/site/mySite/documentlibrary#filter=path|/A/B&page=1), I want to show the description of the folder B.

Thanks for your answers