Hi Team,
Do we have link share functionality for an asset in AEM 6.1 which helps the user to not log in to the system to access the asset after using the generated link? If Yes,how to do it?
~Venkat
Solved! Go to Solution.
Hi
There is no such functionality in 6.1.
It was part of 6.2 :- https://docs.adobe.com/docs/en/aem/6-2/administer/content/assets/link-sharing.html
Also have a look at this reference post:- http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manage...
You can request for back-port by filling a official support request.
Else, i agree with Vamsi, the approach mentioned would also work (On Author side you can create this URL and share it with the people you want to. ).
~kautuk
Hi Venkat,
I think there is no Share link functionality for AEM 6.1. It is there for AEM 6.2. See this below URL
//https://docs.adobe.com/docs/en/aem/6-2/administer/content/assets/link-sharing.html
~ Ratna.
Views
Replies
Total Likes
Hi, Venkat
I can give some overview on this how to implement this. Basically you can write a service with a method which will take sling request and asset path.... inside that you can implement something like this
ResourceResolver resResolver = slingRequest.getResourceResolver(); Externalizer externalizer = resResolver.adaptTo(Externalizer.class); String shareURL = slingRequest.getResourceResolver().map(assetPath); myExternalizedUrl = externalizer.externalLink(resourceResolver, "domain name from Day CQ Link Externalizer", URLDecoder.decode(shareURL));
Then from your JSP you can invoke this method by passing the asset path. It works.
Based on your requirement you can include this in metadata of asset or you can include as a custom button.
Hope this helps!
Thanks,
Vamsi
Views
Replies
Total Likes
Hi Venkat
Do you want to share the ssset though publish URL? Or you want to share it through author?
The approach I explained you work with publish URL without any authentication. Author side you can create this URL and share it with the people you want to. You need to have a check that this URL will be created only if asset is published.
Thanks,
Vamsi
Views
Replies
Total Likes
Hi
There is no such functionality in 6.1.
It was part of 6.2 :- https://docs.adobe.com/docs/en/aem/6-2/administer/content/assets/link-sharing.html
Also have a look at this reference post:- http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manage...
You can request for back-port by filling a official support request.
Else, i agree with Vamsi, the approach mentioned would also work (On Author side you can create this URL and share it with the people you want to. ).
~kautuk
Views
Likes
Replies
Views
Likes
Replies