Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Dynamics 365 Portals Custom Page Template Rating

Posted on by

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>



*This post is locked for comments

  • RE: Dynamics 365 Portals Custom Page Template Rating

    Hi Nicholas,

    The code is working fine. The rating option is showing on the web page. But the rating is not appearing on the knowledge article record from the CRM side.

    Do you know any work around for this?

    Thanks

  • Redouane Kherouf Profile Picture
    Redouane Kherouf 25 on at
    RE: Dynamics 365 Portals Custom Page Template Rating

    Thanks

    Red

  • Nicholas Hayduk Profile Picture
    Nicholas Hayduk 2,863 on at
    RE: Dynamics 365 Portals Custom Page Template Rating

    Hi Red,

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

    Nick

  • Redouane Kherouf Profile Picture
    Redouane Kherouf 25 on at
    RE: Dynamics 365 Portals Custom Page Template Rating

    HI Nicholas,

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

    Thanks

    Red

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Dynamics 365 Portals Custom Page Template Rating

    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 %}

  • Elmar Profile Picture
    Elmar on at
    RE: Dynamics 365 Portals Custom Page Template Rating

    Thanks it thanks!

  • Verified answer
    Nicholas Hayduk Profile Picture
    Nicholas Hayduk 2,863 on at
    RE: Dynamics 365 Portals Custom Page Template Rating

    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

  • Elmar Profile Picture
    Elmar on at
    RE: Dynamics 365 Portals Custom Page Template Rating

    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.

  • Suggested answer
    Arpit Shrivastava Profile Picture
    Arpit Shrivastava 7,518 User Group Leader on at
    RE: Dynamics 365 Portals Custom Page Template Rating

    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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans