web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Customer Self Service ...
Power Pages
Unanswered

Customer Self Service Support Page web template

(0) ShareShare
ReportReport
Posted on by 57

Hi Guys,

 

I was working on Customer Self service web portal and somehow, by mistake, all the content in Customer Service - Support home web template got list.  Can you kindly send me the default web template content, if you have it with you. Would really appreciate your help.

 

The web page looks like the attached one.

 

@OliverRodrigues @Fubar   @OOlashyn @ragavanrajan 

Categories:
I have the same question (0)
  • Verified answer
    oliver.rodrigues Profile Picture
    9,368 Most Valuable Professional on at

    You can spin up a separate trial environment and copy the content, or restart the Portals via Admin Center (but this would restart all your Portal configuration)

     

    I have a trial environment here, I believe no changes made to the Web Template, so here it is:

    {% extends 'layout_1_column' %}
    
    {% block main %}
     {% include 'page_copy' %}
     {% assign created = request.params['created'] %}
     {% if created %}
     <div class='alert alert-block alert-success alert-case-created'><p>{% editable snippets 'CustomerService/Support/A_Case' type: 'text', default: resx['CustomerService_Support_A_Case'], escape: true %}{{ created | h }}{% editable snippets 'CustomerService/Support/CaseCreated' type: 'text', default: resx['CustomerService_Support_Case_Created'], escape: true , tag: 'span' %}</p></div>
     {% endif %}
     <div class="case-deflection">
     <div class="content-panel panel panel-default">
     <div class="panel-heading">
     <span aria-hidden="true" class="fa fa-search"></span> {% editable snippets 'CustomerService/Support/HelpQuestion' type: 'text', default: resx['CustomerService_Support_Help_Question'], escape: true , tag: 'span'%}
     </div>
     <div class="panel-body">
     <div class="input-group">
     <div class="input-group-btn search-clear-container">
     <button type="button" class="btn btn-default search-clear" title="{{ snippets['CustomerService/Support/ClearButton'] | default: resx['CustomerService_Support_ClearButton'] | h }}">
     <span aria-hidden="true" class="fa fa-times"></span>
     </button>
     </div>
     <input aria-label="{{ snippets['CustomerService/Support/HelpQuestion'] | default: resx['CustomerService_Support_Help_Question'] | h }}" title="{{ snippets['CustomerService/Support/FailedLogin'] | default: resx['CustomerService_Support_FailedLogin'] | h }}" type="text" class="form-control subject case-deflection" data-container=".case-deflection" data-target="#case-deflection-topics" data-template="#case-deflection-results" data-itemtemplate="#case-deflection-results" data-case-deflection-pagesize="5" data-case-deflection-logicalnames="knowledgearticle,incident,adx_issue,adx_webpage,adx_communityforumthread,adx_communityforumpost,kbarticle" data-case-deflection-query="" data-case-deflection-filter="" data-noresultstext="{{ snippets['CustomerService/Support/NoResults'] | default: resx['CustomerService_Support_NoResults'] | h }}" placeholder="{{ snippets['CustomerService/Support/FailedLogin'] | default: resx['CustomerService_Support_FailedLogin'] | h }}" />
     <div class="input-group-btn">
     <button type="button" class="btn btn-default search-apply" aria-label="{{ snippets['CustomerService/Support/SearchButton'] | default: resx['CustomerService_Support_SearchButton'] | h }}" title="{{ snippets['CustomerService/Support/SearchButton'] | default: resx['CustomerService_Support_SearchButton'] | h }}">
     <span aria-hidden="true" class="fa fa-search"></span>
     </button>
     </div>
     </div>
     </div> 
     <ul class="list-group" id="case-deflection-topics"></ul>
     <div class='panel-footer paging clearfix'>
     <button type="button" class="btn btn-default search-more pull-right"><span class='fa fa-plus'></span>
    {% editable snippets 'CustomerService/Support/ShowMore' type: 'text', default: resx['CustomerService_Support_ShowMore'], escape: true, tag: 'span' %}</button>
     </div>
     </div>
     </div>
     {% if user %}
     {% include 'entity_list' key:page.adx_entitylist.id %}
     {% else %}
     <div class='alert alert-block alert-info'><p><span class='fa fa-info-circle'></span>{% editable snippets 'CustomerService/Support/SignIn' type: 'text', default: resx['CustomerService_Support_PleaseSignIn'], escape: true, tag: 'span' %}</p></div>
     {% endif %}
     {% raw %}
     <script type="text/javascript">
     (function ($) {
     $(document).ready(function () {
     setTimeout(function() {
     $(".alert-case-created").slideUp(100);
     }, 5000);
     });
     }(jQuery));
     </script>
     <script id="case-deflection-results" type="text/x-handlebars-template">
     {{# each items}}
     <li class="list-group-item">
     <h4 class="list-group-item-heading"><a href="{{ url }}">{{ title }}</a></h4>
     <p class="list-group-item-text search-results fragment">{{{ fragment }}}</p>
     <div>
     {{#label entityLogicalName 'adx_communityforum'}}
     <span class='label label-info'>{% endraw %}{{ resx['Forums_Label']}}{% raw %}</span>
     {{/label}}
     {{#label entityLogicalName 'adx_communityforumthread'}}
     <span class='label label-info'>{% endraw %}{{ resx['Forums_Label'] }}{% raw %}</span>
     {{/label}}
     {{#label entityLogicalName 'adx_communityforumpost'}}
     <span class='label label-info'>{% endraw %}{{ resx['Forums_Label'] }}{% raw %}</span>
     {{/label}}
     {{#label entityLogicalName 'adx_event'}}
     <span class='label label-info'>{% endraw %} {{ resx['Events_Label'] }} {% raw %}</span>
     {{/label}}
     {{#label entityLogicalName 'adx_eventschedule'}}
     <span class='label label-info'>{% endraw %} {{ resx['Events_Label'] }} {% raw %}</span>
     {{/label}}
     {{#label entityLogicalName 'adx_issue'}}
     <span class='label label-danger'>{% endraw %} {{ resx['Issues_Label'] }} {% raw %}</span>
     {{/label}}
     {{#label entityLogicalName 'incident'}}
     <span class='label label-success'>{% endraw %} {{ resx['Resolved_Cases_Label'] }} {% raw %}</span>
     {{/label}}
     {{#label entityLogicalName 'kbarticle'}}
     <span class='label label-primary'>{% endraw %} {{ resx['Knowledge_Base_Label'] }} {% raw %}</span>
     {{/label}}
     {{#label entityLogicalName 'knowledgearticle'}}
     <span class='label label-primary'>{% endraw %} {{ resx['Knowledge_Base_Label']}} {% raw %}</span>
     {{/label}}
     </div> 
     </li>
     {{/each}}
     </script>
     {% endraw %}
    {% endblock %}

     

  • Pruss10 Profile Picture
    57 on at

    Hi @OliverRodrigues , thank you so so much. 🙂

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Jerry-IN Profile Picture

Jerry-IN 71

#2
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard