<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Adding the &amp;quot;Item&amp;quot; field from Requested Items to &amp;quot;My Approvals&amp;quot; in Developer forum</title>
    <link>https://www.servicenow.com/community/developer-forum/adding-the-quot-item-quot-field-from-requested-items-to-quot-my/m-p/3009863#M1135792</link>
    <description>&lt;P&gt;I hope that there is someone that can assist me with trying to solve this issue. First off I want to say that I am not programmer by any means. With that said, I do understand basic code. What I am trying to do is edit the server side of a cloned Approvals widget so that I can get the "item" field from a requested item to display with the approval. I have added a couple of Screen shots of what I tried.&lt;/P&gt;</description>
    <pubDate>Mon, 05 Aug 2024 20:53:23 GMT</pubDate>
    <dc:creator>ccurtis</dc:creator>
    <dc:date>2024-08-05T20:53:23Z</dc:date>
    <item>
      <title>Adding the "Item" field from Requested Items to "My Approvals"</title>
      <link>https://www.servicenow.com/community/developer-forum/adding-the-quot-item-quot-field-from-requested-items-to-quot-my/m-p/3009863#M1135792</link>
      <description>&lt;P&gt;I hope that there is someone that can assist me with trying to solve this issue. First off I want to say that I am not programmer by any means. With that said, I do understand basic code. What I am trying to do is edit the server side of a cloned Approvals widget so that I can get the "item" field from a requested item to display with the approval. I have added a couple of Screen shots of what I tried.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2024 20:53:23 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/adding-the-quot-item-quot-field-from-requested-items-to-quot-my/m-p/3009863#M1135792</guid>
      <dc:creator>ccurtis</dc:creator>
      <dc:date>2024-08-05T20:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: Adding the "Item" field from Requested Items to "My Approvals"</title>
      <link>https://www.servicenow.com/community/developer-forum/adding-the-quot-item-quot-field-from-requested-items-to-quot-my/m-p/3010017#M1135826</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/711810"&gt;@ccurtis&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For that you need to clone the OOTB approval widget and need to modify the below&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in sever side script you need to add the&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; t.name= task.cat_item.getDisplayValue();&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;for reference:&lt;/DIV&gt;&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bhavya11_0-1722915960109.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/377174i98DB8CE52CBDE997/image-size/medium?v=v2&amp;amp;px=400" alt="Bhavya11_0-1722915960109.png" title="Bhavya11_0-1722915960109.png" /&gt;&lt;/span&gt;&lt;P&gt;in HTML&lt;/P&gt;&lt;P&gt;need to add below lines&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;div ng-if="approval.task.name"&amp;gt;&amp;lt;label&amp;gt;${Catalog item}&amp;lt;/label&amp;gt; {{::approval.task.name}}&amp;lt;/div&amp;gt;&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bhavya11_1-1722916003920.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/377175i03B19575A1B7A1D4/image-size/medium?v=v2&amp;amp;px=400" alt="Bhavya11_1-1722916003920.png" title="Bhavya11_1-1722916003920.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Output:&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bhavya11_2-1722916033504.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/377176iE9CB92E661428AAC/image-size/medium?v=v2&amp;amp;px=400" alt="Bhavya11_2-1722916033504.png" title="Bhavya11_2-1722916033504.png" /&gt;&lt;/span&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BK&lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 06 Aug 2024 03:48:42 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/adding-the-quot-item-quot-field-from-requested-items-to-quot-my/m-p/3010017#M1135826</guid>
      <dc:creator>Bhavya11</dc:creator>
      <dc:date>2024-08-06T03:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: Adding the "Item" field from Requested Items to "My Approvals"</title>
      <link>https://www.servicenow.com/community/developer-forum/adding-the-quot-item-quot-field-from-requested-items-to-quot-my/m-p/3010743#M1136039</link>
      <description>&lt;P&gt;Bhavya11 thank you for this, I have been banging my head against the wall on this for 2 days.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2024 13:41:46 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/adding-the-quot-item-quot-field-from-requested-items-to-quot-my/m-p/3010743#M1136039</guid>
      <dc:creator>ccurtis</dc:creator>
      <dc:date>2024-08-06T13:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: Adding the "Item" field from Requested Items to "My Approvals"</title>
      <link>https://www.servicenow.com/community/developer-forum/adding-the-quot-item-quot-field-from-requested-items-to-quot-my/m-p/3011329#M1136171</link>
      <description>&lt;P&gt;You're welcome! I'm glad I could help&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2024 04:00:04 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/adding-the-quot-item-quot-field-from-requested-items-to-quot-my/m-p/3011329#M1136171</guid>
      <dc:creator>Bhavya11</dc:creator>
      <dc:date>2024-08-07T04:00:04Z</dc:date>
    </item>
  </channel>
</rss>

