Please make use of global sightly object: pageProperties
This will return you the properties relevant to the page where you are having the markup/ component.
Refer this tutorial : https://www.youtube.com/watch?v=GEiGIAgV0NY
for more understanding on global objects in sightly.
@pradeepdubey hi - You need to use character encoding in that case. Also note, you will always see ??? when printing into logs - please try to write it on response for testing.Thanks,
Milind
One of the ways to customise this would be to :1. Get the current userGroups and check if they fall in the group for which commenting should not be allowed. Lets, assume the variable as isUnallowedUg.
function getLoggedInUserID() {
var currentUserId = "";
var currentUserInfo;
var CURRENT...
Hi @RinkiShahi ,
This is already accessible on root using "sitemap-index" selector.----
For instance,
I have enabled sitemap generation in Advanced Properties for US & CA in WKND sites including the root page.
Now when I try to access :http://localhost:4502/content/wknd.sitemap-index.xml
It y...
Hi @akshaybhujbale ,
You dont require authentication on publisher to access /api.Which is why you see the response even when entering a wrong username.
@sriram_1 hi,
If you are using java.net.URLConnection, you can use :
conn.getHeaderField("login-token");
If you are using Apache HTTPClient , you can use :
response.getFirstHeader("login-token").getValue();
Thanks,
Milind
Hi @keshava219 ,
You can use nested groups for your usecase, a sample query
0_group.p.or=true
0_group.1_group.type=dam:AssetContent
0_group.1_group.path=/content/dam/we-retail
0_group.1_group.property=metadata/@dc:format
0_group.1_group.property.value=image/jpeg
0_group.1_group.daterange.property...
@webdev91 I see a gap in understanding of the component implementation.If you are using "data-sly-resource" in the HTML, the resources are loaded on the fly in the page and is not part of the content in JCR.
Since you mentioned "it creates child nodes under the container component" which clearly i...
Hi @shivamkumarchauhan ,If you read the possible solutions in the link, it says :
The getBestRendition method in AdaptiveImageServlet shouldn't fallback to the "original" rendition if width is larger than the DEFAULT_MAX_SIZE AND height is larger than width.
Which means that if you are using an imag...
Hi @snowwhite92 ,
You can have them added as part of roll out configuration provided that your live copies have liveConnection for the page under action. Note, the tagging has to be changed in the blueprint.For more details please refer this article :https://helpx.adobe.com/in/experience-manager/k...