AEM communities: Pass a custom property from the community components. | Community
Skip to main content
New Participant
November 4, 2017
Solved

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

  • November 4, 2017
  • 2 replies
  • 2081 views

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.
Best answer by Rahul_Bhardwaj

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

Rahul_Bhardwaj
Rahul_BhardwajAccepted solution
Employee
November 6, 2017

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…

kautuk_sahni
Employee
November 6, 2017

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

~kautuk

Kautuk Sahni