SBX - Search With Button

SBX - Forum Post Title

Dynamics 365 Portals Custom Page Template Rating

Microsoft Dynamics CRM Forum

Elmar asked a question on 8 Feb 2018 4:00 AM

Question Status

Verified

Hi all,

My client is using a custom page template on a Dynamics 365 Portal.

On this page we'd like to add the 'rating' (5 star) or 'voting' (thumbs up) functionality.

Any suggestions how to do this?

My Page Template is something like this:

<div class="container">
  <div class="page-heading">
    {% block breadcrumbs %}
      {% include 'Breadcrumbs' %}
    {% endblock %}
  {% block title %}
    {% include 'Page Header' %}
  {% endblock %}
 </div>
 <div class="row">
  <div class="col-md-8">
   {% block main %}
    {% include 'Page Copy' %}
   {% endblock %}
  </div>
  <div class="col-md-4">
    {% block right_aside %}
      I'd like to add the standard rating functionality here!!
   {% endblock %}
  </div>
 </div>
</div>



Reply
Suggested Answer

Hello Elmar,

You can follow below link in order to incorporate Rating feature on CRM Portal.

https://community.adxstudio.com/products/adxstudio-portals/documentation/configuration-guide/customization-tools/ratings/


If found useful, please mark the answer as verified.


Cheers
Arpit
https://arpitmscrmhunt.blogspot.com

Reply
Elmar responded on 8 Feb 2018 4:38 AM

Hi Arpit,

My web page is already enabled for rating.

When I use the standard 'Page' page template the rating option is shown.

But in my case I'm using a custom page template that is related to a custom web template.

I need to add the 'rating functionality' somewere in the code of the web template.

Reply
Nicholas Hayduk responded on 13 Feb 2018 9:29 AM
My Badges
Verified Answer

Hi Elmar,

The liquid code to add the rating functionality looks like:

{% rating id: page.id, entity: page.logical_name, readonly: false, panel: true, snippet: "Rating Heading", step: "1", min: "0", max: "5", round: true %}

Hope that helps.

Nick

Reply
Elmar responded on 13 Feb 2018 9:38 AM

Thanks it thanks!

Reply
Vamc responded on 28 Mar 2019 7:45 PM

Hi Elmar, am looking for similar solution, did you get this working, what is the actual liquid code you have used. Tried this but getting 'Liquid error: Value cannot be null. Parameter name: input'

{% rating id: page.id, entity: page.logical_name, readonly: false, panel: true, snippet: "Rating Heading", step: "1", min: "0", max: "5", round: true %}

Reply
Redouane Kherouf responded on 14 May 2019 10:19 AM

HI Nicholas,

 How to change the rating type from scale to  vote (thumb up/down)?

Thanks

Red

Reply
Nicholas Hayduk responded on 14 May 2019 1:07 PM
My Badges

Hi Red,

Unfortunately I'm not aware of any way of changing the rating type.

Nick

Reply
Redouane Kherouf responded on 15 May 2019 11:50 AM

Thanks

Red

Reply
Nicholas Hayduk responded on 13 Feb 2018 9:29 AM
My Badges
Verified Answer

Hi Elmar,

The liquid code to add the rating functionality looks like:

{% rating id: page.id, entity: page.logical_name, readonly: false, panel: true, snippet: "Rating Heading", step: "1", min: "0", max: "5", round: true %}

Hope that helps.

Nick

Reply
Suggested Answer

Hello Elmar,

You can follow below link in order to incorporate Rating feature on CRM Portal.

https://community.adxstudio.com/products/adxstudio-portals/documentation/configuration-guide/customization-tools/ratings/


If found useful, please mark the answer as verified.


Cheers
Arpit
https://arpitmscrmhunt.blogspot.com

Reply

SBX - Two Col Forum

SBX - Migrated JS