내 커뮤니티 업적 표시줄을 확대합니다.

rahuls80678827
rahuls80678827
오프라인
유형
  • 모두
  • 질문
  • 토론
  • 아이디어
  • 블로그
사용자 참여로 필터링
  • Hello Everyone,I have below use case:EXISTING CODE:private static final String MAIN_QUERY = "/jcr:root/content/data/myproject/products//*[@sling:resourceType='myproject/common/components/template1']";Iterator<Resource> it = this.resourceResolver.findResources(String.format(MAIN_QUERY), XPATH);int co...

    유형

    토론

    조회 수

    6.4K

    Likes

    0

    답글

    3
  • Thankyou Jorg.It worked now.ReplicationStatus replicationStatus = parentResource.adaptTo(ReplicationStatus.class);log.info("ReplicationStatus parentResource:::::::::::::::::::::::::::::::" + replicationStatus.getLastReplicationAction());

    유형

    질문

    조회 수

    2.1K

    Likes

    0

    답글

    0
  • Thanks Arun for the reply.The code for generating the JSON based upon some query is already in place (Java Class) But it's a creating a JSON having the activated and deactivated node both.So, here I am just looking for some option to put condition in my existing Java class so, that it skips out the ...

    유형

    질문

    조회 수

    1.8K

    Likes

    0

    답글

    0
  • Thanks Arun for the reply.The code for generating the JSON based upon some query is already in place (Java Class) But it's a creating a JSON having the activated and deactivated node both.So, here I am just looking for some option to put condition in my existing Java class so, that it skips out the ...

    유형

    질문

    조회 수

    1.8K

    Likes

    0

    답글

    0
  • Thankyou Jorg.I have tried to implement this but it's not giving the status (deactivate/activate) of the node./* show replication status of the resource */ReplicationStatus replicationStatus = parentResource.adaptTo(ReplicationStatus.class);log.info("ReplicationStatus:::::::::::::::::::::::::::::::"...

    유형

    질문

    조회 수

    1.8K

    Likes

    0

    답글

    0
  • Hello Everyone,We have a usecase where I have to create a report(json) from content folder in author instance. This report should contain only those nodes which are activated and ignore the deactivated nodes.Currently the code which I have written is creating the JSON file correctly (using TidyJSONW...

    유형

    질문

    조회 수

    3.0K

    Likes

    0

    답글

    7
  • Thankyou for your help.. I have updated POM with <properties>       <acHandling>merge</acHandling> </properties>It's working fine now.

    유형

    질문

    조회 수

    1.7K

    Likes

    0

    답글

    0
  • Thankyou Hemant for your help. As per above suggestions, I am able to make the package now via Bundle Packaging process  and can see my 2 nodes in the zip package in Package Manager (which gets created as part of the Bundle Build/Deploy process)./home/users/system/bG2D4jb7ZyDOAhbdUj4_/content/rep:po...

    유형

    질문

    조회 수

    1.6K

    Likes

    0

    답글

    0
  • Thankyou Hemant.Can you also tell me how to package content/rep:policy node? Do I need to make a package of these two's or just the systemuser node?/home/users/system/8m5Yl5qODqzl8wH_iZDV/content/rep:policy

    유형

    질문

    조회 수

    1.6K

    Likes

    0

    답글

    0
  • Is there a way to embed SystemUser package while building the bundle in maven?Currently, I have created below zip package for system user and it's permission via acs and deploying this package (to other AEM instances) via Package Manager manually but I am looking for a way if we can make it automate...

    유형

    질문

    조회 수

    2.6K

    Likes

    0

    답글

    6