cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Pruss10
Helper I
Helper I

Customer Self Service Support Page web template

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 

1 ACCEPTED SOLUTION

Accepted Solutions
OliverRodrigues
Super User
Super User

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

 




If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Power Apps Portals Super User


Oliver Rodrigues


 

View solution in original post

2 REPLIES 2
OliverRodrigues
Super User
Super User

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

 




If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Power Apps Portals Super User


Oliver Rodrigues


 

Hi @OliverRodrigues , thank you so so much. 🙂

Helpful resources

Announcements
Welcome Super Users.png

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (4,427)