Forum Discussion
VarunGrazitti
Boss
Hi VincentGabou - I did not find any get/post API for metoo, so I think there is a little chance that it can be customized. Lithium does not expose the code for the non-contract components.
VincentGabou
11 years agoGuide
Thank you for your quick answer !
I thought that a "Me Too" could be a achieved by creating a Rating with the following rest call :
rest("/messages/id/MESSAGE_ID/ratings/key/question_metoo/ratings/add?rating.value=0.0")
As for the non-contract component, we don't need the actual code per se, but the knowledge of what parameter to pass to the component for it to apply to a given Question for example. We would be perfectly happy with just calling the non-contract component with :
<component id="ratings.widget.rating-enum-display" ratingSystemRef="conv:question_metoo"/>
and adding a parameter for the widget to recognize what message to apply the "Me Too" to.
Do you think it is possible ?
Thanks again for your help :)
Related Content
- 4 years agoInactive User
- 5 months ago