02-19-2018 10:11 AM
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)
02-19-2018 11:02 AM
Go to the Alfresco API Explorer and take a look at Shared Links.
02-19-2018 11:02 AM
Go to the Alfresco API Explorer and take a look at Shared Links.
10-07-2020 03:46 PM
How would I filter by site and get a list of paths?
10-07-2020 10:37 PM
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); }
10-08-2020 02:48 AM
Hi @eswbitto
I'd generally recommend starting your own thread rather than adding to a much older post.
Cheers,
Explore our Alfresco products with the links below. Use labels to filter content by product module.