Skip to main content
Level 3
Nov 4, 2017 1:20 AM UTC
Solved

AEM communities: Pass a custom property from the community components.

Hi,

Is it possible to pass a custom property say "domain name" from the community components and receive the same in email templates? Reason why I am asking is the communities components needs major customization when it is to be used in more than one application having more than one domain as domain value from externalizer by default is picked based on runmode value.

Any suggestion for this scenario will be very helpful.

Thanks

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Rahul_Bhardwaj
Rahul_BhardwajAccepted solution
Adobe Employee
Nov 6, 2017 9:16 AM UTC

Hi Sagar,

You can do it by referring the extension sample shared publicly at [0]. For client side, you have to specifically refer changes made inside custom-blog [1]. This adds a property subtitle to blog.

You will also have to add this property to whitelist-JournalOperationsService, refer readme section of the sample [2] .

[0] - GitHub - Adobe-Marketing-Cloud/aem-scf-sample-components-extension: Sample package for AEM Social Communities - Social C…

[1] - aem-scf-sample-components-extension/content/jcr_root/apps/custom-blog at master · Adobe-Marketing-Cloud/aem-scf-sample-c…

[2] - GitHub - Adobe-Marketing-Cloud/aem-scf-sample-components-extension: Sample package for AEM Social Communities - Social C…

2 replies

kautuk_sahni
Level 9
Nov 6, 2017 5:52 AM UTC

I have asked AEM Community experts to have a look at this.

~kautuk

Translate
Kautuk Sahni
Rahul_Bhardwaj
Adobe Employee
Rahul_BhardwajAdobe EmployeeAccepted solution
Adobe Employee
Nov 6, 2017 9:16 AM UTC

Hi Sagar,

You can do it by referring the extension sample shared publicly at [0]. For client side, you have to specifically refer changes made inside custom-blog [1]. This adds a property subtitle to blog.

You will also have to add this property to whitelist-JournalOperationsService, refer readme section of the sample [2] .

[0] - GitHub - Adobe-Marketing-Cloud/aem-scf-sample-components-extension: Sample package for AEM Social Communities - Social C…

[1] - aem-scf-sample-components-extension/content/jcr_root/apps/custom-blog at master · Adobe-Marketing-Cloud/aem-scf-sample-c…

[2] - GitHub - Adobe-Marketing-Cloud/aem-scf-sample-components-extension: Sample package for AEM Social Communities - Social C…

Translate