Rating component saving rating to properties page. | Community
Skip to main content
LB_PC
Level 2
May 14, 2021
Solved

Rating component saving rating to properties page.

  • May 14, 2021
  • 1 reply
  • 913 views

Hey so we have created our own custom rating system that we want to save the average rating to the properties page of that pages and to send it to Adobe Analytics So this would be 2 questions. 

 

1. We are having issues with saving to the properties page when the component is pushed to the publishing environment any documents or help here would be great. 

 

2. Saving the average to Analytics anything here would be good. I have looked up a few documents from the extending-analytics-components and have little experience doing this. 

 

Thanks,

LB_PC

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 Pawan-Gupta

Hello,

 

so couple of things here

 

1. publish page nodes are immutable for end user operations and should follow guidelines of UGC

https://experienceleague.adobe.com/docs/experience-manager-65/communities/administer/user-ugc-management-service.html?lang=en#retrieve-the-ugc-of-a-user

 

2. Recommendation would be to use OOTB component but because of certain use case, if you are deciding to use custom approach, suggest to refer above guide lines.

 

another approach you can try, is to keep rating and comment storage out of AEM and through service call do the integration and if needed send same data to Analytics.

 

if more details needed, let me know

 

hope this helps.

1 reply

Pawan-Gupta
Pawan-GuptaAccepted solution
Level 8
May 14, 2021

Hello,

 

so couple of things here

 

1. publish page nodes are immutable for end user operations and should follow guidelines of UGC

https://experienceleague.adobe.com/docs/experience-manager-65/communities/administer/user-ugc-management-service.html?lang=en#retrieve-the-ugc-of-a-user

 

2. Recommendation would be to use OOTB component but because of certain use case, if you are deciding to use custom approach, suggest to refer above guide lines.

 

another approach you can try, is to keep rating and comment storage out of AEM and through service call do the integration and if needed send same data to Analytics.

 

if more details needed, let me know

 

hope this helps.

LB_PC
LB_PCAuthor
Level 2
May 17, 2021
It is all anonymous we don't have users signing in to the site.