cancel
Showing results for 
Search instead for 
Did you mean: 

URLs for files in an Alfresco document library folder

hfulmer
Champ in-the-making
Champ in-the-making

Is it possible to retrieve the URLS for all files stored in a folder at once within an Alfresco document library?  Using Internet Explorer, I can right-click an individual file icon and select Copy shortcut, but this method returns only a single URL.  I am interested in obtaining all file URLs in a batch.  Thank you.   -Howard Fulmer

7 REPLIES 7

calvo
Star Collaborator
Star Collaborator

Hi,

A possible solution could be "Node Browser":

1.- In your Alfresco you have to obtain the idFolder in you'll obtains url's of the documents (properties of the folder. Por example: "2a9c2dfe-eeb0-481a-9c68-d4c214abdeb2")

2.- In your Alfresco, click on Node Browser and write the following fts-alfresco query:

SELECT cmis:name FROM cmis:document WHERE IN_FOLDER('idFolder')

3.- If the query is ok, you'll obtain a list of documents in that folder

4.- You can copy the NodeRef of each document and the url of this document will see similar to this:

http://localhost:8080/share/page/site/NAME_OF_YOUR_SITE/document-details?nodeRef=WORKSPACE_YOU_OBTAIN

For example:

http://localhost:8080/share/page/site/netic360/document-details?nodeRef=workspace://SpacesStore/f39c... 

Regards

hfulmer
Champ in-the-making
Champ in-the-making

Where do I click "Node Browser" in your step 2?  I don't see it in my Alfresco document library screen.  Thanks. 

douglascrp
World-Class Innovator
World-Class Innovator

You can find the Node Browser by accessing the Admin Tools in the header menu.

Once inside, you can follow with ‌ instructions.

hfulmer
Champ in-the-making
Champ in-the-making

I don't see the Admin Tools.  Could you perhaps show a screenshot?

Here is what I see at the top of my screen:

Top of Alfresco screen

I am an Alfresco site manager, but not an administrator (?).  Are the Admin Tools not available to me?

Thanks.

douglascrp
World-Class Innovator
World-Class Innovator

Yes, the Admin Tools is only enabled for administrators.

And besides that, I see you are using a customized application, so you should also be checking if the customization has not removed the action at all.

hfulmer
Champ in-the-making
Champ in-the-making

I will contact our site administrator.  Thanks for the help!  -Howard

kgastaldo
Star Collaborator
Star Collaborator

Hey Howard - Can you come back and let us know if this was resolved? Thanks!