since ‎05-08-2014
‎14-01-2021
snbaem
Level 4
Re: AEM 6.4 Instance Start up
Avatar

snbaem

snbaem
- Adobe Experience Manager
Thanks Arun. using nul instead of null fixes the issue related to null file.However I didn't mention in primary question. I also see the same error as mentioned in the link you added. Below is what I see.Exception in thread "sling-oak-5" java.lang.NullPointerException at org.apache.sling.commons.threads.impl.DefaultThreadPool$LoggingThreadLocalChangeListener.changed(DefaultThreadPool.java:172) at org.apache.sling.commons.threads.impl.ThreadLocalCleaner.changed(ThreadLocalCleaner.java:210) at org...

Views

1.1K

Likes

0

Replies

0
Re: AEM 6.4 Instance Start up
Avatar

snbaem

snbaem
- Adobe Experience Manager
There were no modifications made when I started the instance and saw the null file.

Views

1.0K

Likes

0

Replies

0
AEM 6.4 Instance Start up
Avatar

snbaem

snbaem
- Adobe Experience Manager
Hello All,Noticed when starting AEM jar for first time. After I see the quickstart folder, I go to bin and hit the start.bat the instance starts, but at the same time a file named as 'null' is created.Below is a snapshot of the folder view. Below is the content of null file if opened with text editorError: Could not create the Java Virtual Machine.Error: A fatal exception has occurred. Program will exit.Unrecognized option: --add-modulesThe instance works fine though.Anyone faced similar issue?

Views

2.0K

Likes

0

Replies

5
Re: AEM 6.4 Touch UI In place Edit
Avatar

snbaem

snbaem
- Adobe Experience Manager
"Now whether I use inplace editor or dialog editor, same value is displayed": this is good, I was just mentioning that before I was seeing different when using inplace vs dialog editor. But now when using/referring to core component that issue is seen no more.Later, after that I mentioned what the issue was.

Views

769

Likes

0

Replies

0
Re: AEM 6.4 Touch UI In place Edit
Avatar

snbaem

snbaem
- Adobe Experience Manager
Thanks Scott.I followed using of core components. All I need to do is use slingResourceSuperType as "core/wcm/components/text/v2/text". Now whether I use inplace editor or dialog editor, same value is displayed. However, again, in content structure, the property saved is "text":"testauthoredvalue"I am looking for the property to be saved as "mytext":"testauthoredvalue", because we already have content that uses "mytext" to display authored content on pages. If I use this method of proxy componen...

Views

733

Likes

0

Replies

0
AEM 6.4 Touch UI In place Edit
Avatar

snbaem

snbaem
- Adobe Experience Manager
Hi All,I am trying to create a text component similar to a core component available in AEM 6.4 at "/apps/core/wcm/components/text/v2/text" I am creating the same named as "mytext" at "/apps/myapp/components/mytext".I see that in the node at "/apps/core/wcm/components/text/v2/text/cq:editConfig/cq:inplaceEditing" I need to use property 'editorType' as 'text' only. However since my component name is './mytext' the node created saves the authored text with property name 'mytext'. But if I try to sa...

Views

1.9K

Like

1

Replies

5
Difference between adaptables values in a Model class
Avatar

snbaem

snbaem
- Adobe Experience Manager
Hello,Exploring the use of Model class which can be used for HTL components. I see below two usages @Model(adaptables = {SlingHttpServletRequest.class}) Seen here@Model(adaptables = {Resource.class}) Seen in the archetype HelloWorldModel.java What is the difference in using either of them? I checked Apache Sling :: Sling Models but unable to find use case comparision. I have also see in one of the Github AEM projects where declaration of class is followed after @Model(adaptables = {SlingHttpServ...

Views

2.1K

Likes

0

Replies

2
Re: 6.2 to 6.4 ?? is that a possibility or a big question?
Avatar

snbaem

snbaem
- Adobe Experience Manager
bmpro​. while upgrading how can the content node structure be handled? For eg 6.2 version will have structure as "/content/appn/en/homepage/testpage/jcr:content/main-content-area/componentnodename", but if same component is created in 6.4 and added to a page it looks like "/content/appn/en/homepage/testpage/jcr:content/root/responsivegrid/componentnodename". How does migration handle this? Similar difference can be seen in we-retail packages that are available OOTBUpdate: the previous content is...

Views

424

Likes

0

Replies

0
Re: AEM 6.4 | JS from Communities libs not loading
Avatar

snbaem

snbaem
- Adobe Experience Manager
Was anything found related to this query?

Views

191

Likes

0

Replies

0
Re: Default Minification causing JS errors
Avatar

snbaem

snbaem
- Adobe Experience Manager
Update:The best approach for legacy AEM systems (versions < 6.4) appears to be using the GCC JS Processor only for client libraries which can't be parsed by YUI and otherwise leave YUI on as the sitewide clientside compliation engine. See this Adobe link for more information: https://helpx.adobe.com/experience-manager/kb/how-to-change-the-minification-engine-for-client-libraries-in-AEM.html#Configuration

Views

1.0K

Likes

0

Replies

0
Re: Need clarification for few quetions
Avatar

snbaem

snbaem
- Adobe Experience Manager
Just a comment for below,There is one more option to use Sling Dynamic Include for your component on homepage. See - Adobe Experience Manager Help | Set up Sling Dynamic Include in AEM . The goal is to cache whole page and generate the dynamic components as per requests. The components are selected based on resourceType attribute

Views

954

Likes

0

Replies

2
Re: Deny User Sync for given user
Avatar

snbaem

snbaem
- Adobe Experience Manager
Thanks Prem,I will try out your suggestionUPDATE: This option works as well. Using this I can exactly deny the "/home/users/12345/properties" node for the user 12345 and for the same user allow user sync for other properties under /home/users/12345

Views

552

Likes

0

Replies

0
Re: Deny User Sync for given user
Avatar

snbaem

snbaem
- Adobe Experience Manager
Hi Arun, Sorry to comment without trying , let me try what you suggested and see if that works for us.UPDATE: This works. The thing to note is I was looking to not trigger user sync based on /home/users/c/c6cJVFdgkycfp0oK7dlr/properties, now the user sync will not trigger for any change under /home/users/c/c6cJVFdgkycfp0oK7dlr itselfThanks

Views

364

Likes

0

Replies

0
Re: Deny User Sync for given user
Avatar

snbaem

snbaem
- Adobe Experience Manager
Thanks Arunyeah, thats what it seems when I tried the path hoping to see if path works for Ignorable Nodes.The issue is if user 12345 is at /home/users/c/c6cJVFdgkycfp0oK7dlr the property that changes and triggers User Sync frequently is at /home/users/c/c6cJVFdgkycfp0oK7dlr/properties. If I add 'properties' node name under Ignorable properties then this will apply to all users not just 12345.

Views

362

Likes

0

Replies

0
Deny User Sync for given user
Avatar

snbaem

snbaem
- Adobe Experience Manager
Hi All,I have set up user sync and it works fine for desired properties for users under /home. I followed User Synchronization . However for user (12345) the properties node at /home/users/1/12345/properties , I do not want the user sync to work. Is there a configuration or setting that can deny user sync for given path?I understand that I can do the deny for a given node name, but it will be the same for all users. For eg, if I ignore 'properties' the properties node will not sync for all users...

Views

1.4K

Like

1

Replies

5
Re: Default Minification causing JS errors
Avatar

snbaem

snbaem
- Adobe Experience Manager
Any comments/views on the issue?

Views

837

Likes

0

Replies

0
Default Minification causing JS errors
Avatar

snbaem

snbaem
- Adobe Experience Manager
Hi All In AEM 6.2 we appear to be facing minification issues with YUI (JS Compressor) which is set at OSGi config - Adobe Granite HTML Library Manager. Following are the issues and observations.Troubleshooting steps we took:We were not getting the latest JS for our community calendar (issues we had fixed were showing up again and changes which should be in the JS were not there) on instances where minification is turned ON.Putting ?debugClientLibs=true in the URL of the community calendar page w...

Views

2.3K

Likes

0

Replies

3
Re: How to know if current instance is primary publisher
Avatar

snbaem

snbaem
- Adobe Experience Manager
Thanks Arun,Just to add a bit more, I was able to achieve this using below in a tag class.PublisherConfiguration pc = sling.getService(PublisherConfiguration.class);Similarly for a servlet or a service impl class it seems we can use @Reference for the class PublisherConfigurationThanks again,Shubham

Views

195

Likes

0

Replies

0
Re: How to know if current instance is primary publisher
Avatar

snbaem

snbaem
- Adobe Experience Manager
Yup took a look at that, was wondering more if some one has already tried this. Will update in case I get a chance to try and get the value for isPrimaryPublisher.Thanks

Views

163

Likes

0

Replies

0
How to know if current instance is primary publisher
Avatar

snbaem

snbaem
- Adobe Experience Manager
Hi All,If writing a logic to run certain tasks only if user is on primary publisher, in Java looking to identify if user is on a primary publish instance.I see that AEM Communities Publisher Configuration has "isPrimaryPublisher" from which this can be obtained. Any suggestion of achieving this in best way?The pid of the config seem to point to an impl class so not sure if @Reference would work.Using AEM 6.2 SP1 FP3 cfp14ThanksShubham

Views

344

Likes

0

Replies

4
Adobe repo seems to be down
Avatar

snbaem

snbaem
- Adobe Experience Manager
https://repo.adobe.com/nexus/content/groups/public seems to be down, can some one take a look?

Views

1.0K

Likes

0

Replies

1
Re: Follow dropdown options are not displayed in Reply Toolbar
Avatar

snbaem

snbaem
- Adobe Experience Manager
Try the "subscriptions" node as jcr:primaryType = oak:Unstructured and add property sling:resourceType = social/subscriptions/components/hbs/subscriptions with type=String

Views

1.9K

Likes

0

Replies

0
Re: Follow dropdown options are not displayed in Reply Toolbar
Avatar

snbaem

snbaem
- Adobe Experience Manager
I think the folder should get created automatically OOTB (cannot tell what class does that). As Scott mentioned, this might be a candidate for support ticket. Meanwhile you can add the "subscriptions" folder node manually. But it may or may not need a sling:resourceType property and value I am unsure.

Views

1.9K

Likes

0

Replies

1
Re: Follow dropdown options are not displayed in Reply Toolbar
Avatar

snbaem

snbaem
- Adobe Experience Manager
Do you see "subscriptions" folder at "/content/usergenerated/asi/jcr/content/sites/soco/en/groups/test/jcr: content/content/primary/forum/xsas-EsSS/test1-VwNq/subscriptions" ? Or does ""content/usergenerated/asi/jcr/content/sites/soco/en/groups/test/jcr: content/content/primary/forum/xsas-EsSS/test1-VwNq" exist?That should get created when you add a forum post and then a comment on it I guesscontent/usergenerated/asi/jcr/content/sites/soco/en/groups/test/jcr: content/content/primary/forum/xsas-E...

Views

1.9K

Likes

0

Replies

4
Re: Extending "Following for Notifications"
Avatar

snbaem

snbaem
- Adobe Experience Manager
Hi, I had followed Extend Comments Component (three steps) for extending the notifications component at "/libs/social/notifications/components/hbs/notifications" I did not use SocialGraph/Vertex/Edge APIs for implementing this. I did not use any backend extension for this. Any changes that were made were in notifications.hbs and notification.hbs. When you have extended your component and the user is following particular blog or post for notifications, the notification entries should get created ...

Views

913

Likes

0

Replies

0
Re: AEM Communities Forum Post and Activity Stream
Avatar

snbaem

snbaem
- Adobe Experience Manager
Thanks Rahul. I noticed a property isCommunitySite at the jcr:content node of the root I selected probably added while community site creation but not because of what.I have created a community site under /content/project/en/category/ and the root while creating community being the same, hence the activity entries under the community contain /content/project/en/category/ in id. Open question: Is it a best practice to keep the root as /content/project/en/category/ in this case or leaving blank is...

Views

312

Likes

0

Replies

0
Re: AEM Communities Forum Post and Activity Stream
Avatar

snbaem

snbaem
- Adobe Experience Manager
Update:For following sentence in my actual question:It is true for geometrixx-outdoors at location http://localhost:6503/content/geometrixx-outdoors/en/community/hiking/forum.html .For We-retail the activity entry looks like following"/content/usergenerated/asi/mongo/content/we-retail/activitystreams/activities/community/404fc48e-69f2-40f0-8571-66d32a02f7ca"It seems some factor is determining the "/content/we-retail" (community site based) or "/content/sites" (general root based) in the activity...

Views

311

Likes

0

Replies

0
Re: Several Resolved / Installed Bundles will not change to Active State
Avatar

snbaem

snbaem
- Adobe Experience Manager
Any resolution on this?

Views

166

Likes

0

Replies

0
AEM Communities Forum Post and Activity Stream
Avatar

snbaem

snbaem
- Adobe Experience Manager
Hello,I am using a custom implementation of forums where "social/forum/components/hbs/forum" is extended. When making a forum post I see that the related 'activity' entryis created with id as "id": "/content/usergenerated/asi/mongo/content/project/en/root/activitystreams/activities/community/b8554901-55af-4cd8-a698-a944aa1c7fac"However when I test the same in we retail or geometrixx I see that the related "activity" entry looks like "id": "/content/usergenerated/asi/mongo/content/sites/activitys...

Views

1.6K

Like

1

Replies

5
Re: SRP API - "Contains" Search or Full Text UGC Filtering?
Avatar

snbaem

snbaem
- Adobe Experience Manager
It looks like we still have an issue with the "contains" text search.The FullTextConstraint API does work partially with the wildcard, but if the search text contains a space it doesn't return any results.For eg:- If we have an entry as "Testing rich text contents", we can use FullTextConstraint with the wildcard and if the user enters "rich" or "text" it returns us the matching record which is "Testing rich text contents", but if we enter the search term as "rich text" there are no records retu...

Views

344

Likes

0

Replies

0