since ‎30-01-2009
‎10-12-2019
aponnusa
Employee
Re: AEM 6.2 Blog/Journal Extend component - Cant post data and Error - Comment value is empty
Avatar

aponnusa

Employee

aponnusa
- Adobe Experience Manager
Sumeer,Blog is a publish side component. So I used publisher instance. Despite that it shouldnt matter where you are. Also we recommended you to try the component at /content/community-components/en/journal.html, did you try that ?. When you try at that path, we can isolate if some other client lib is interfering or not. I have attached my crxde screenshot. As you can see, I am using the custom component you provided.

Views

657

Likes

0

Replies

0
Re: AEM 6.2 Blog/Journal Extend component - Cant post data and Error - Comment value is empty
Avatar

aponnusa

Employee

aponnusa
- Adobe Experience Manager
Thanks for sharing the code. Your component just works for me. I installed your component, duplicated /content/community-components/en/journal, and used /apps/customblog/components/hbs/journal instead of the default journal component.Initially there was a JS cache issue. But after that it was working fine for me. (The post/create operation was successful, but the post was not displayed as you hbs file was not displaying the tabs)

Views

643

Likes

0

Replies

0
Re: AEM 6.2 Blog/Journal Extend component - Cant post data and Error - Comment value is empty
Avatar

aponnusa

Employee

aponnusa
- Adobe Experience Manager
Ok, back to the JS issue - are you using CKEditor ? From the first screenshot you shared, it looked like the composer wasnt loading fine. Also can you share your component, I can try to install it and see whats going wrong.

Views

642

Likes

0

Replies

0
Re: AEM 6.2 Blog/Journal Extend component - Cant post data and Error - Comment value is empty
Avatar

aponnusa

Employee

aponnusa
- Adobe Experience Manager
And in your /apps/customblog/components/hbs/journal/journal.hbs file, do you have this code I am specifically looking for data-scf-component attribute.

Views

640

Likes

0

Replies

0
Re: AEM 6.2 Blog/Journal Extend component - Cant post data and Error - Comment value is empty
Avatar

aponnusa

Employee

aponnusa
- Adobe Experience Manager
Sumeer,I dont see any JS file, the customblog.js file (could have been filtered as spam). So making a wild guess, is the resource type of your custom blog registered in your customblog.js file. SCF.registerComponent('custom_blog Component', Custom Blog Model, Custom Blog View);

Views

641

Likes

0

Replies

0
Re: AEM 6.2 Blog/Journal Extend component - Cant post data and Error - Comment value is empty
Avatar

aponnusa

Employee

aponnusa
- Adobe Experience Manager
Its clearly a JS issue. Can you paste the six JS errors or screenshot the JS console. I do see that you have the all the clientlibs. But its clear that its not properly loaded. For Journal you only need these clientlibs to be loaded on your page. cq.ckeditorcq.social.hbs.votingcq.social.hbs.journal For reference try /content/community-components/en/journal . Also try using your customized component in the Component Guide (the same path as /content/community-components/en/journal.html)

Views

641

Likes

0

Replies

0
Re: Creating Custom Social Component (Comments) - Error extending comments component
Avatar

aponnusa

Employee

aponnusa
- Adobe Experience Manager
Can you try placing this code dependency (Communities should be above the Uber jar) com.adobe.cq.social cq-socialcommunities-api 1.10.111 provided above com.adobe.aem uber-jar 6.2.0 apis provided

Views

622

Likes

0

Replies

0
Re: Creating Custom Social Component (Comments) - Error extending comments component
Avatar

aponnusa

Employee

aponnusa
- Adobe Experience Manager
HiSincere apologies. The bundle version you see is correct.So it is 1.7.66 - Package and bundle versions can be different. I should have double checked it on my end.Do you still face the same issue with the new uber and your component. If so, is it possible to share your component and pom file (and we can take a look)

Views

625

Likes

0

Replies

0
Re: Creating Custom Social Component (Comments) - Error extending comments component
Avatar

aponnusa

Employee

aponnusa
- Adobe Experience Manager
Sorry about this. But if you start some bundle and see error logs, you should see why those bundles are inactive. Can you check and let me know.Thanks

Views

627

Likes

0

Replies

0
Re: Creating Custom Social Component (Comments) - Error extending comments component
Avatar

aponnusa

Employee

aponnusa
- Adobe Experience Manager
Social-Commons bundle is installed when installing FP2 (packaged with cq-socialcommunities-pkg-1.10.111.zip)Can you delete the bundle and install cq-socialcommunities-pkg-1.10.111.zip again. (You might have to restart the system, just to be sure)

Views

628

Likes

0

Replies

0
Re: Creating Custom Social Component (Comments) - Error extending comments component
Avatar

aponnusa

Employee

aponnusa
- Adobe Experience Manager
Hi,In Eclipse, you might have to manually delete the Maven Dependency in your project. If it builds successfully then it should be fine. Also can you double check your project pom to see that you not using a specific version of social-commons.For the error on Page, can you double check the version of social-commons bundle in /system/console/bundles . (It should be 1.7.99)A reference POM can be found here - https://github.com/Adobe-Marketing-Cloud/aem-scf-sample-components-extension/blob/master/b...

Views

627

Likes

0

Replies

0
Re: Extend Community Group
Avatar

aponnusa

Employee

aponnusa
- Adobe Experience Manager
Hi,You might have to extend the component /libs/social/group/components/hbs/communitygroups/communitygroupIf you look at the HBS file - /libs/social/group/components/hbs/communitygroups/communitygroup/communitygroup.hbs, you will find Unfortunately, the backend code appends a selector .thumb.90.170 to the imageURL. One option is fix the backend to return a URL with bigger values for image size. The other option is to do something like thisThanks

Views

881

Likes

0

Replies

0
Re: AEM 6.2 Communities Comments Component
Avatar

aponnusa

Employee

aponnusa
- Adobe Experience Manager
Hi,Were the previous posts created using Author instance ?OOTB, You shouldnt be doing anything specific to view profile information of other users. But if User Profile node is read restricted in your environment, then you might have to grant your new user the permission to view profiles.Thanks

Views

590

Likes

0

Replies

0
Re: Communities Comment component
Avatar

aponnusa

Employee

aponnusa
- Adobe Experience Manager
Hi,Those calls look ok to me. Is anything broken for you ?These calls happens from the include statements of HBS files. If you look at comment.hbs (at /libs/social/commons/components/hbs/comments/comment) you will notice a line like {{include this template="toolbar"}}This snippet is what is triggering the servlet call. So I would focus on fixing your include statements in your extended component.But to answer your question, the file that is making the servlet call can be found at - /etc/clientli...

Views

580

Likes

2

Replies

0
Re: Forum Category
Avatar

aponnusa

Employee

aponnusa
- Adobe Experience Manager
Hi,Can you provide us more information.Do you want topics from different pages shown in one page aggregated in one page (but a separated view) ?Or topics from the same page, but separated based on some attributes like tags ?For use case 1, you might have to leverage and customize the Activity Streams components. For use case 2, you might have to extend the forum HBS component.Thanks

Views

911

Likes

0

Replies

0
Re: AEM Communities using Eclipse & Maven
Avatar

aponnusa

Employee

aponnusa
- Adobe Experience Manager
Hi,Please customize the POM files you find in https://github.com/Adobe-Marketing-Cloud/aem-scf-sample-components-extension . You can use the reference POMs to build your projects using Maven. (These POMs could be a bit outdated, but they should be a good starting point)Thanks

Views

725

Likes

0

Replies

0
Re: Communities Comments Component Edit/Delete displayed for all users
Avatar

aponnusa

Employee

aponnusa
- Adobe Experience Manager
Hi ShubhamThe issue your mentioned about user1 and user2 will be a major bug if reproducible. I tried it locally and couldnt reproduce it. Can you check if user2 is not an admin or has other privileges. The other possibility is the ACLs could have been accidentally relaxed causing this issue. Can you confirm if the same behavior is observed at /content/community-components/en.htmlThanks

Views

609

Likes

0

Replies

0
Re: Extend the OOB social component
Avatar

aponnusa

Employee

aponnusa
- Adobe Experience Manager
This looks right to me. Did the code work after your components were in active state ?My next question would be, when you say your component is not working ? can you say what is not working ? (As in, any exception in logs if the components are active)In the page, where you have your custom component can you try (custom_component_path.social.json ex localhost:4503/content/community-components/en/comments/jcr:content/content/includable/slingIncluded.social.json)My next question is there any activi...

Views

628

Likes

0

Replies

0
Re: Extend the OOB social component
Avatar

aponnusa

Employee

aponnusa
- Adobe Experience Manager
Hi Monika,Are you using a new resourceType or using social/activitystreams/components/hbs/activitystreams. If you are using social/activitystreams/components/hbs/activitystreams, then we might have to assign priority so that your custom component gets the preference. Add this code in your Factory@Override public int getPriority() { return 10; }Next steps, Did you check if your bundle is active in OSGI System Console (/system/console/bundles) and your factory active at (/system/console/components...

Views

639

Likes

0

Replies

0
Re: ActivityStream component on the Non community site pages
Avatar

aponnusa

Employee

aponnusa
- Adobe Experience Manager
Hi Monika,Have you tried playing with /content/community-components/en/activitystreams.html . It provides you an example of the OOTB Activity Streams component independent of a community site.Also you page should load the clientlibs cq.social.hbs.activitystreams Thanks

Views

530

Likes

0

Replies

0
Re: Rebuild client libraries error
Avatar

aponnusa

Employee

aponnusa
- Adobe Experience Manager
Hi Alistair,I just wanted to update my side of the investigation.I started a 6.1 instance, then installed SP2. After that I reinstalled com.adobe.granite.ui.clientlibs.content-1.0.4.zip (/crx/packmgr/index.jsp#/etc/packages/adobe/granite/com.adobe.granite.ui.clientlibs.content-1.0.4.zip) and I was able to reproduce the issue you see after installing FP5.I wanted to isolate if Communities FP5 was causing this. As you see in my steps, I am not even uploading or installing communities Feature pack....

Views

1.6K

Likes

0

Replies

0
Re: Rebuild client libraries error
Avatar

aponnusa

Employee

aponnusa
- Adobe Experience Manager
Actually FP5 (Communities) doesnt create or use the service user called clientlibs-service. Also we dont explicitly trigger rebuilding of clientlibs.For me when I installed SP2 after FP5, I was seeing the issue again. But after I reinstalled FP5 (clicked install on socialcommunities pkg again), the issue resolved itself.This is definitely an issue and an inconvenience, and we are also trying to get to the bottom of it. But given that SP2 and FP5 are out already the only short term option we have...

Views

1.6K

Likes

0

Replies

0
Re: Modifying Default GET Behavior of Social Component
Avatar

aponnusa

Employee

aponnusa
- Adobe Experience Manager
Greg,You will have to change this file - https://github.com/Adobe-Marketing-Cloud/aem-communities-todomvc-sample/blob/master/bundles/aem-communities-todomvc/src/main/java/com/adobe/aem/social/todomvc/impl/TodoListImpl.java#L68You might have to perform a search in getAllItems method. getAllItems should use search.find API as opposed to srp#listChildren. You specify the constraints you want in the find API.Thanks

Views

631

Like

1

Replies

0
Re: Rebuild client libraries error
Avatar

aponnusa

Employee

aponnusa
- Adobe Experience Manager
I was able to reproduce the issue, with 6.1 service pack1 & Communities FP5. I tried it with 6.1 service pack 2 and re-installed the Communities FP5 and the issue was gone.Arun

Views

1.6K

Likes

0

Replies

0
Re: Rebuild client libraries error
Avatar

aponnusa

Employee

aponnusa
- Adobe Experience Manager
The only step i missed is installing the service pack 1. So let me try and respond back.Thanks

Views

1.6K

Likes

0

Replies

0
Re: Rebuild client libraries error
Avatar

aponnusa

Employee

aponnusa
- Adobe Experience Manager
Sorry for the delay, I was try to set up a system with 1.8.448 Uber. I couldnt reproduce the issue.After seeing the screenshot, my bet would be to double check the ACLs on /var/clientlibs or ACLs at /apps/acs-commonsThanks

Views

1.6K

Likes

0

Replies

0
Re: Rebuild client libraries error
Avatar

aponnusa

Employee

aponnusa
- Adobe Experience Manager
Hi Alistair,Its highly possible one of the JS/CSS files is not able to minify when you build the client libraries using the /libs/granite/ui/content/dumplibs.rebuild.htmlI will try on 1.8.448 and respond back.Thanks

Views

1.6K

Likes

0

Replies

0
Re: Community Groups Thumbnail
Avatar

aponnusa

Employee

aponnusa
- Adobe Experience Manager
HiSorry I missed that detail in my response. Yes you need to remove the ${some-id} as well from the url. You can use img selector or not use that and ../photos/image should work.To override JSON, there is a sample at - https://github.com/Adobe-Marketing-Cloud/aem-scf-sample-components-extension/tree/master/bundles/aem-scf-extensions/src/main/java/com/adobe/aem/scf/extensionsAs you can see there are two stepsOverride or extend component POJO - ExampleMap your new component - ExampleThanks

Views

573

Likes

0

Replies

0
Re: Community Groups Thumbnail
Avatar

aponnusa

Employee

aponnusa
- Adobe Experience Manager
Hi,The API will have to be modified to do this. If you want to control it using JS you can acess the full size image as /content/forums/forum-name/photos/image.${some-id}.jpgie You can remove the .thumb.. selectorWhat I might do is, after the page loads - we remove the selectors from the generated markup. Either on pages document load or override component JS view//Get the image urls var imgUrls = $CQ(".scf-communitygroups-list .scf-group-image"); for (var i=0; i < imgUrls.size(); i++) { var img...

Views

536

Likes

0

Replies

0
Re: Handlebars Helpers/Variables
Avatar

aponnusa

Employee

aponnusa
- Adobe Experience Manager
Hi Alistair,If its a property on the activity stream component, you can do {{properties.showTabs}}Or if you want it as an API, you might have to extend the ActivityStreams backend component.Arun

Views

600

Likes

0

Replies

0