since ‎27-09-2012
BrijeshYadav
Level 5
Re: AEM User / Group permissions for subfolders BrijeshYadav - Adobe Experience Manager Assets
Add rep:Restrictions policy at /content/team/Clients. Here is an example of rep_policy.xml
4666
Views
1
Like
0
Answers
Re: Best approach to delete a large folder in aem BrijeshYadav - Adobe Experience Manager
Connect AEM via WebDav to deal with large data. WebDav gives direct access to the content repository through your desktop.https://docs.adobe.com/content/help/en/experience-manager-64/administering/contentmanagement/webdav-access.htmlhttp://www.aemcq5tutorials.com/tutorials/aem-webdav-upload-file-cq-server-windows7/#aem-webdav-window10
1929
Views
1
Like
0
Answers
Re: Crxde lite query or home search does not show any res... BrijeshYadav - Adobe Experience Manager
It indicates that problem is with indexing. Did you try to re-index your AEM instance ? Read more about indexing here https://docs.adobe.com/content/help/en/experience-manager-64/deploying/deploying/queries-and-indexing.html
12274
Views
1
Like
0
Replies
Re: Crxde lite query or home search does not show any res... BrijeshYadav - Adobe Experience Manager
Hi Chinmay, User should be logged in to AEM in order to search in crx/de console. /Brijesh Yadav
12294
Views
1
Like
3
Replies
Re: AEM QueryBuilder 'type=cq:Page' condition is not working BrijeshYadav - Adobe Experience Manager
Same query absolutely work fine and return results.Did you tried querybuilder generated Xpath query in tools query console from crx/de to verify that result is same at both place?/jcr:root/content/we-retail//element(*, cq:Page)[(jcr:contains(jcr:content/@jcr:title, '*cost*')or jcr:contains(jcr:content/@jcr:description, '*cost*'))]order by @jcr:scoreHere is result from querybuilder
1800
Views
1
Like
0
Answers
Re: Sling Models - @Named annotation not working in AEM 6.4 BrijeshYadav - Adobe Experience Manager
Use this for AEM 6.4 com.adobe.aem uber-jar 6.4.1 provided apis javax.inject javax.inject 1 provided
2000
Views
1
Like
0
Answers
Re: Scheduler not working in AEM 6.3 BrijeshYadav - Adobe Experience Manager
Hi Sneha,I would recommmend you to use osgi annotation instead of felix scr specific annotations, although there is no hard rule to adapt to the latest versionimport org.osgi.service.component.annotations.Activate;import org.osgi.service.component.annotations.Component;import org.osgi.service.metatype.annotations.AttributeDefinition;import org.osgi.service.metatype.annotations.Designate;import org.osgi.service.metatype.annotations.ObjectClassDefinition;import org.slf4j.Logger;import org.slf4j.Lo...
1778
Views
1
Like
0
Answers
Re: Lots of content - AEM Author performance issues BrijeshYadav - Adobe Experience Manager
It's really a very huge data. I have few things in mind which could be help full?External data store: When dealing with large number of binaries, it is recommended that an external data store be used instead of the default node stores in order to maximize performance Configuring node stores and data stores in AEM 6 Query Optimazation: Use http://localhost:4502/libs/granite/operations/content/diagnosistools/requestPerformance.html to anaylize what are the most time taking queries which might caus...
1717
Views
0
Likes
0
Answers
Re: TagManager.getNameSpaces giving null BrijeshYadav - Adobe Experience Manager
At line number 3.adapt TagManager from ResourceResolver instead of Resource.TagManager tagManager = resourceResolver.adaptTo(TagManager.class);
1636
Views
1
Like
0
Answers
Re: Frequent Logout in AEM Environment. BrijeshYadav - Adobe Experience Manager
Hi Tushar,You can open crx/de and delete configuration node at /apps/system/config/org.apache.jackrabbit.oak.security.authentication.token.TokenConfigurationImpl.config.Restart aem and it will reset it to default configuration values.
1797
Views
1
Like
0
Answers
Re: How to check dependency version in uber jar BrijeshYadav - Adobe Experience Manager
Yes, com.google.zxing is part of cq-wcm-mobile-qrcode bundle.You can add desired dependency version to your bundle pom file in order to override UberJar
5608
Views
1
Like
0
Replies
Re: How to check dependency version in uber jar BrijeshYadav - Adobe Experience Manager
You can find version information in MANIFEST.MF
5608
Views
1
Like
2
Replies
Re: Users reverse replication BrijeshYadav - Adobe Experience Manager
My bad I did not read your question clearly.Sling distribution is only to synch users among multiple publishers
11959
Views
1
Like
0
Replies
Re: Users reverse replication BrijeshYadav - Adobe Experience Manager
I haven't implemented this yet but came across documentation.Sling distribution is more appropriate for user synchronization.User Synchronization
11959
Views
1
Like
2
Replies
Re: System user is not migrating as part user migartion BrijeshYadav - Adobe Experience Manager
Just a quick note:do you have system users in exclude path of your package?
1558
Views
1
Like
0
Answers
Re: Why is admin user not a member of administrator group in AEM6.4 BrijeshYadav - Adobe Experience Manager
smacdonald2008​ and JaideepBrar​I know that admin user is a superuser and have full administrator access but I am interested to know what is the reason and benefit not have admin user as a member of "administrator" group, instead giving permission at the user level.
5377
Views
1
Like
0
Replies
Why is admin user not a member of administrator group in AEM6.4 BrijeshYadav - Adobe Experience Manager
Default admin user has always been a member of the administrator group in the previous version of AEM (at least until 6.1 I remember) but that's not the case for AEM6.4.Even AEM6.4 documentation mentioned that "System administration account and member of the administrator group, with full access rights."Read here https://helpx.adobe.com/experience-manager/6-4/sites/administering/using/security.html.
5516
Views
0
Likes
3
Replies
Re: AEM Assets 6.4 - Export DAM assets to Filesystem BrijeshYadav - Adobe Experience Manager
Hi Anand,I have configured a static agent for my development machine and worked fine.Although it's has been very well written in the article you followed but just to investigate further, could you please set the log level to DEBUG for your static replication agent and share complete stacktrace ?Also would be helpful if you share Agent Setting configurations screenshot for both the tabs( Setting, Rules) /Brijesh
4269
Views
1
Like
0
Replies
Re: What's the correct way of storing passwords in AEM? BrijeshYadav - Adobe Experience Manager
Hi,You might be missing Service User Mapping configure for the bundle. Check your erro.log and see if you have below error:" org.apache.sling.jcr.resource.internal.JcrSystemUserValidator The provided service user id 'serviceuser--Lab2019.core' is not a known JCR system user id and therefore not allowed in the Sling Service User Mapper."Read here for service user configurations Service Users in AEM
2452
Views
1
Like
0
Answers
Re: What's the correct way of storing passwords in AEM? BrijeshYadav - Adobe Experience Manager
1. I think Crypto Support provided by Adobe, so it should according to a standard guideline. in addition to your article, you can also read more about crypto support https://www.argildx.com/crypto-support-aem/2. You can read configurations in servlet via ConfigurationAdmin. @Reference private ConfigurationAdmin configAdmin; private static final String LOGGER_FACTORY_PID = "org.apache.sling.commons.log.LogManager.factory.config"; @Override protected void doGet(SlingHttpServletRequest request, Sli...
2338
Views
2
Likes
0
Answers
Re: How to move bulk Asset in DAM BrijeshYadav - Adobe Experience Manager
You can use CRxtoOak, it can also be used to copy data between Oak repositories.Using the CRX2Oak Migration Tool Or Vault Remote CopyRead this for assets migration Assets Migration Guide
6515
Views
1
Like
0
Replies
Re: How do I access an OSGI service from any class? BrijeshYadav - Adobe Experience Manager
What exactly is your use case not to use WCMUsePojo class?I would recommend to use Sling Model instead of WCMUsePojo.Adobe Experience Manager Help | Creating Adobe Experience Manager 6.3 Sling Model Components Sling models and WCMUsePojoAEM Concepts | AEM Tutorial | Know Adobe CQ better: Sling models and WCMUsePojo
1768
Views
1
Like
0
Answers
Re: where to put properties filesthat are being used by external customized jar files BrijeshYadav - Adobe Experience Manager
If another team is not including property file in the same jar then you can try below code.Store config.properties file somewhere on the server and read it via InputStream in your OSGi custom bundleProperties properties = new Properties();InputStream inputStream = new FileInputStream("D:/properties/config.properties");properties.load(inputStream);String departmentName = properties.getProperty("departmentName");
9845
Views
1
Like
0
Replies
Re: where to put properties filesthat are being used by external customized jar files BrijeshYadav - Adobe Experience Manager
As Gaurav said it's not the recommended AEM way although would be helpful to understand more if you provide the lines of code that show how property file being accessed or read?
9845
Views
1
Like
0
Replies
Re: Cloning AEM Instance from One Server to Another Server BrijeshYadav - Adobe Experience Manager
Strange, I have never seen that coping repository on running aem can break the existing instance.Did you try same on existing aem instance?Try to login via crx/de and then go to http://host:port/system/console and ensure that the status of all bundles is Active, specifically check the status of Apache Sling Authentication Service bundle, it should have an active status.Another possible reason could be that indexes get corrupted. You can recreate indexes by deleting or renaming /crx-quickstart/re...
1927
Views
1
Like
0
Answers
Re: Cloning AEM Instance from One Server to Another Server BrijeshYadav - Adobe Experience Manager
Please mention here if you make any other changes to any file to AEM repository after you moved to a new location?Now try to login via crx/de and then go to http://host:port/system/console and ensure that the status of all bundles is Active, specifically check the status of Apache Sling Authentication Service bundle, it should have an active status.Another possible reason could be that indexes get corrupted. You can recreate indexes by deleting or renaming /crx-quickstart/repository/version/inde...
1992
Views
1
Like
0
Answers
Re: Cloning AEM Instance from One Server to Another Server BrijeshYadav - Adobe Experience Manager
Yes, it will work without any issue. This is called offline backup in AEM.The important thing to remember that make sure you change correct run mode before you start AEM at the new location.Read here more about offline Backup and Restore Offline BackupYou can always do an offline backup. This requires a downtime of AEM, but can be quite efficient in terms of required time compared to an online backup.In most cases, you will use a filesystem snapshot to create a read-only copy of the storage at t...
1906
Views
2
Likes
0
Answers
Re: system user BrijeshYadav - Adobe Experience Manager
By normal java UserTest class, you mean Sling Model class for slightly component? i.e.@Model(adaptables = Resource.class, defaultInjectionStrategy = DefaultInjectionStrategy.OPTIONAL)public class UserTest { @SlingObject private ResourceResolver resourceResolver; ........................... ........................}Or how you inject or initialize ResourceResolverFactory?
1641
Views
1
Like
0
Answers
Re: system user BrijeshYadav - Adobe Experience Manager
As you have verified all system user configurations and mapping, so let's dig into the code.What are the annotations you are using? Could you please share the complete code for both the java classes?com.aem.example.core.userTest.java com.aem.example.core.impl.SearchService.java
1655
Views
1
Like
0
Answers