Expand my Community achievements bar.

SOLVED

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

Avatar

Level 3

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

1 Accepted Solution

Avatar

Correct answer by
Employee

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 Co...

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

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

View solution in original post

2 Replies

Avatar

Administrator

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

~kautuk



Kautuk Sahni

Avatar

Correct answer by
Employee

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 Co...

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

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