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

Community site session details

Session Id : 5NHDSPTWs2MS4dt9rG2k1Z
Power Pages - Power Apps Portals
Answered

Customer Self Service Support Page web template

Like (0) ShareShare
ReportReport
Posted on 21 May 2021 07:23:26 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 

  • Pruss10 Profile Picture
    57 on 21 May 2021 at 09:01:14
    Re: Customer Self Service Support Page web template

    Hi @OliverRodrigues , thank you so so much. 🙂

  • Verified answer
    oliver.rodrigues Profile Picture
    9,342 Most Valuable Professional on 21 May 2021 at 08:39:52
    Re: Customer Self Service Support Page web template

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

     

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
Lucas001 Profile Picture

Lucas001 60 Super User 2025 Season 2

#2
Fubar Profile Picture

Fubar 55 Super User 2025 Season 2

#3
surya narayanan Profile Picture

surya narayanan 35