@vikas3 If you are OK to use javascript use-api
"use strict";
use(function () {
var resourceResolver = resource.getResourceResolver();
var welcomeRes = resourceResolver.getResource('/content/first-demo/us/en/welcome');
var data = {};
data.page = pageManager.getContainingPage(welcomeRes)...
@edith_viddi you can have a look at the guide related to ADO-E134https://express.adobe.com/page/9dRc3LE9wFkWN/Both 116 and 134 should be of same difficulty level
@krishker There is no format such that, it takes the name attribute of your custom property.For Eg:
you have a text field with ./sampleProperty Navigate to initial content of your template node and save that custom property with the value you want to come as part of page creation with this templa...
Hi @sravs , Can you try making the authenticator reference optional in your Service class.
@Reference(policy = ReferencePolicy.DYNAMIC, cardinality = ReferenceCardinality.OPTIONAL)
private volatile Authenticator authenticator;
Thanks,
Krishna
@krishker you can add properties to initial/jcr:content node if you want any properties that needs to come as part of page creation.
Eg: /conf/we-retail/settings/wcm/templates/content-page/initial/jcr:content
Hope this helps,
Krishna
Hi @Ronnie09 you should be able to add any fields into basic tab in metadata schema however you cannot edit few fields like type, created date etc.
Thanks,
Krishna
Hi @rohankalra , Your requirement if i understood right, what ever you tag in component's dialog it should return all the pages that has the tag authored in dialog. you can use query-builder for this and return the list of pages in sling model.
path=/content/<my-project>
type=cq:Page
1_property=...