Hello guys,
I send files through the API to the site, it's OK.
But now some kind of files need a public link to download a file. This link should be a public without login, ie download a file in e-mail, download a file in a website.
How can I achieve this?
Alfresco version: Community - 5.2.0 (re21f2be5-b22)
Solved! Go to Solution.
Go to the Alfresco API Explorer and take a look at Shared Links.
Go to the Alfresco API Explorer and take a look at Shared Links.
Thanks to Jeff, it was my fault.
It works perfectly. It would be nice if Alfresco had the option to enable sharing when creating the document and the URL for sharing in json return. This would avoid two calls to an Alfresco API.
Thank you again.
How would I filter by site and get a list of paths?
Hi,
You need to create custom webscript where first find all shared node and then fillter by site and return.
Here is webscript example.
var def = { query: "ASPECT:'qshare:shared'", language: "fts-alfresco" }; var nodes = search.query(def); for each(var node in nodes) { logger.log(node.nodeRef + " ; " + node.properties["qshare:sharedId"] + " ; " + node.webdavUrl); }
Hi @eswbitto
I'd generally recommend starting your own thread rather than adding to a much older post.
Cheers,
I should have thought of that. I'll create a new post. My apologies.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.