Expand my Community achievements bar.

AEMLearner-1989
AEMLearner-1989
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • Sorry..its my bad...ResourceResolver resourceResolver = resourceResolverFactory.getServiceResourceResolver(param);Its working now...

    Type

    Questions

    Views

    3.8K

    Likes

    2

    Replies

    0
  • package com.adobe.aem.guides.wknd.core.impl;import java.util.HashMap;import java.util.Map;import javax.jcr.Node;import javax.jcr.RepositoryException;import javax.jcr.Session;import javax.jcr.ValueFormatException;import javax.jcr.lock.LockException;import javax.jcr.nodetype.ConstraintViolationExcepti...

    Type

    Questions

    Views

    3.6K

    Like

    1

    Replies

    0
  • Hi Yadav,I am using the same line of code in both the classes . Only difference is usertest is a servlet class and SearchService is a normal java class and calling a addproperty() method from slightly.Map<String, Object> param = new HashMap<>();param.put(ResourceResolverFactory.SUBSERVICE,"systemUse...

    Type

    Questions

    Views

    3.6K

    Like

    1

    Replies

    0
  • Both are same in bundle...am i getting systemUser for class A and anonymous user for class B. And also we are facing one more issue.. If i create a new package with existing maven project...its not getting deployed.. Anything i am missing here?

    Type

    Questions

    Views

    3.6K

    Like

    1

    Replies

    0
  • HI Team,core/pom.xml<?xml version="1.0" encoding="UTF-8"?><!-- |  Copyright 2017 Adobe Systems Incorporated | |  Licensed under the Apache License, Version 2.0 (the "License"); |  you may not use this file except in compliance with the License. |  You may obtain a copy of the License at | |      htt...

    Type

    Questions

    Views

    3.6K

    Like

    1

    Replies

    0
  • Thanks for your reply..I have created two different java class and try to consume same systemuser in both the class for different purpose.By default ..this systemuser has all the permission(Read & Write)com.aem.example.core.userTest.java & com.aem.example.core.impl.SearchService.javaUserTest.java - ...

    Type

    Questions

    Views

    3.6K

    Like

    1

    Replies

    0
  • Hi ,Thanks for your reply .Can you pls check my query here pls . systemuser is working some java class not for all ..example :com.aem.example.core.userTest - Its working ..its giving user id as systemUsercom.aem.example.core.impl.SearchService - Its not working ..its giving anonymous  

    Type

    Questions

    Views

    3.6K

    Like

    1

    Replies

    0
  • Can you pls check hereSystemUser issue

    Type

    Questions

    Views

    3.6K

    Like

    1

    Replies

    0
  • Hi Team,I have created a systemUser and add the same into user mapper configuration user mapper configuration:com.adobe.aem.guides.aem-guides-wknd.core:systemUser=systemUserCode:and getting the same via param.put(ResourceResolverFactory.SUBSERVICE,"systemUser"); log.info("userid"+resource.getUserID(...

    Type

    Questions

    Views

    1.5K

    Likes

    2

    Replies

    1
  • Hi Team,We are trying to add a gtag.js in particular page. After replication we are getting 404 error due to minnification of gtag.js<!-- Global site tag (gtag.js) - Google Analytics --><script async src="https://www.googletagmanager.com/gtag/js?id=GA_TRACKING_ID"></script><script>  window.dataLayer...

    Type

    Discussions

    Views

    1.6K

    Likes

    0

    Replies

    1
Top badges earned by AEMLearner-1989
Customize the badges you want to showcase on your profile