How do i change the path in SmartDocs view listing page ?

I see full URL in the smartdocs view listing page, i would like to display only resource path ? How do i do this ?

2699-screen-shot-2016-05-17-at-61840-pm.png

~~ SF-1077215~~Kronos~~

Solved Solved
0 1 301
1 ACCEPTED SOLUTION

Follow Steps below,

  • Login as administrator

Hover on the page, you will see wheel like icon on top right side bar, click on view edit.

2700-screen-shot-2016-05-17-at-62114-pm.png

  • Edit the view field , Custom text, Click on the field.

2701-view-edit.png

  • Change the HTML Text , From
<div class="method_details clearfix">
  <div class="method_data title">
    <div class="verb-auth"><p data-role="verb" class="[verb]">[verb]</p>[security]</div>
    <div class="title-description">[title]<p title="[base_url][resource_path]" class="resource_path" data-role="resource_path">[base_url][resource_path]</p></div>
  </div>
  <div class="method_data description">[body]</div>
</div>

TO

<div class="method_details clearfix">
  <div class="method_data title">
    <div class="verb-auth"><p data-role="verb" class="[verb]">[verb]</p>[security]</div>
    <div class="title-description">[title]<p title="[resource_path]" class="resource_path" data-role="resource_path">[resource_path]</p></div>
  </div>
  <div class="method_data description">[body]</div>
</div>

You just removed base URL, Click on APPLY All displays.

  • Save the View

2702-screen-shot-2016-05-17-at-62722-pm.png

That's it. You got the resource path instead of FULL URL.

View solution in original post

1 REPLY 1

Follow Steps below,

  • Login as administrator

Hover on the page, you will see wheel like icon on top right side bar, click on view edit.

2700-screen-shot-2016-05-17-at-62114-pm.png

  • Edit the view field , Custom text, Click on the field.

2701-view-edit.png

  • Change the HTML Text , From
<div class="method_details clearfix">
  <div class="method_data title">
    <div class="verb-auth"><p data-role="verb" class="[verb]">[verb]</p>[security]</div>
    <div class="title-description">[title]<p title="[base_url][resource_path]" class="resource_path" data-role="resource_path">[base_url][resource_path]</p></div>
  </div>
  <div class="method_data description">[body]</div>
</div>

TO

<div class="method_details clearfix">
  <div class="method_data title">
    <div class="verb-auth"><p data-role="verb" class="[verb]">[verb]</p>[security]</div>
    <div class="title-description">[title]<p title="[resource_path]" class="resource_path" data-role="resource_path">[resource_path]</p></div>
  </div>
  <div class="method_data description">[body]</div>
</div>

You just removed base URL, Click on APPLY All displays.

  • Save the View

2702-screen-shot-2016-05-17-at-62722-pm.png

That's it. You got the resource path instead of FULL URL.