Record Producer (from scoped application) not opening in Service Portal.

Rajini2
Mega Sage

I built a scoped application and a record producer that will be an intake form. It works fine in legacy view.

But, when I tried to open the same record producer from my Service Portal widget (global), it is giving errors like below.

 

Rajini2_0-1687535512657.png

 

<div class="col-sm-6 col-md-3">
    <span class="ng-scope">
      <div class="ng-scope" widget="widget">
        <div class="iconLink">
          <a ng-href="?id=sc_cat_item&amp;sys_id=ebfc7e7c97a5ad1088f177500153af4e&amp;sysparm_category=e15706fc0a0a0aa7007fc21e1ab70c2f" target="" href="?id=sc_cat_item&amp;sys_id=ebfc7e7c97a5ad1088f177500153af4e&amp;sysparm_category=e15706fc0a0a0aa7007fc21e1ab70c2f">          
            <div class="c-tooltip">
              <img src="sp-home-privacy-security.png" width="60" height="60"/>
              <h2 class="iconLinkText">Cybersecurity/Privacy</h2>
              <div class="c-tooltiptext">Report a Cybersecurity or Privacy Incident.</div>
            </div>
          </a>
        </div>
      </div>
    </span>
  </div>

 

I am dealing with the scoped application first time, no idea how to fix this.  

1 ACCEPTED SOLUTION

Looks like you're using a cloned widget. There is no OOTB Widget with the SysID 

17258e4797c7895088f177500153afda.

The out of the box catalog item widget has no issue with scoped record producers.

View solution in original post

3 REPLIES 3

Shreya Wani
Tera Guru
Tera Guru

Hi @Rajini2,

 

Try this code.

 

<div class="col-sm-6 col-md-3">
    <span class="ng-scope">
      <div class="ng-scope" widget="widget">
        <div class="iconLink" ng-init="myRP = '?id=sc_cat_item&amp;sys_id=ebfc7e7c97a5ad1088f177500153af4e&amp;sysparm_category=e15706fc0a0a0aa7007fc21e1ab70c2f'">
<a ng-href="{{myRP}}">Record Producer</a>   
            <div class="c-tooltip">
              <img src="sp-home-privacy-security.png" width="60" height="60"/>
              <h2 class="iconLinkText">Cybersecurity/Privacy</h2>
              <div class="c-tooltiptext">Report a Cybersecurity or Privacy Incident.</div>
            </div>
          </a>
        </div>
      </div>
    </span>
  </div>

 

If you feel that I have assisted you in any manner, please mark my comment as helpful/correct.

 

Thanks,

Shreya

Shreya, I tried. Same Error.

But I did not see the error in UTAH. So I am good with that. Thanks for your help.

Looks like you're using a cloned widget. There is no OOTB Widget with the SysID 

17258e4797c7895088f177500153afda.

The out of the box catalog item widget has no issue with scoped record producers.