<?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 Open Record button on reference field in Developer forum</title>
    <link>https://www.servicenow.com/community/developer-forum/open-record-button-on-reference-field/m-p/1526420#M183346</link>
    <description>&lt;P&gt;Greetings Everyone,&lt;/P&gt;
&lt;P&gt;I have been trying to check if we can modify the url/view that is used when you click on the Open Record button when viewing the company reference field. The problem I am having is that the company is an Account in the CSM module and when we open the record the view defaults to default (sysparm_view=) because the Account fields are in the Case view we then have to change our view to Case to be able to view the fields.&lt;/P&gt;
&lt;P&gt;Has anyone been able to modify the href for the Open Record button?&lt;/P&gt;
&lt;P&gt;Screen shot from my PDI:&lt;/P&gt;
&lt;P&gt;&amp;lt;a href="customer_account.do?sys_id=12344&amp;amp;amp;sysparm_view=" class="btn btn-sm btn-default pop-over-button pull-right"&amp;gt;Open Record&amp;lt;/a&amp;gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/167058i57E0C738D95A30B2/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 22 Jul 2019 23:03:41 GMT</pubDate>
    <dc:creator>Efren T_ Marti1</dc:creator>
    <dc:date>2019-07-22T23:03:41Z</dc:date>
    <item>
      <title>Open Record button on reference field</title>
      <link>https://www.servicenow.com/community/developer-forum/open-record-button-on-reference-field/m-p/1526420#M183346</link>
      <description>&lt;P&gt;Greetings Everyone,&lt;/P&gt;
&lt;P&gt;I have been trying to check if we can modify the url/view that is used when you click on the Open Record button when viewing the company reference field. The problem I am having is that the company is an Account in the CSM module and when we open the record the view defaults to default (sysparm_view=) because the Account fields are in the Case view we then have to change our view to Case to be able to view the fields.&lt;/P&gt;
&lt;P&gt;Has anyone been able to modify the href for the Open Record button?&lt;/P&gt;
&lt;P&gt;Screen shot from my PDI:&lt;/P&gt;
&lt;P&gt;&amp;lt;a href="customer_account.do?sys_id=12344&amp;amp;amp;sysparm_view=" class="btn btn-sm btn-default pop-over-button pull-right"&amp;gt;Open Record&amp;lt;/a&amp;gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/167058i57E0C738D95A30B2/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2019 23:03:41 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/open-record-button-on-reference-field/m-p/1526420#M183346</guid>
      <dc:creator>Efren T_ Marti1</dc:creator>
      <dc:date>2019-07-22T23:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: Open Record button on reference field</title>
      <link>https://www.servicenow.com/community/developer-forum/open-record-button-on-reference-field/m-p/1526421#M183347</link>
      <description>&lt;P&gt;Have you tried creating the sys_popup,case view as described here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://hi.service-now.com/kb_view.do?sysparm_article=KB0745595" rel="nofollow"&gt;https://hi.service-now.com/kb_view.do?sysparm_article=KB0745595&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I wonder what the behavior will be if this view is in the system.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2019 23:58:57 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/open-record-button-on-reference-field/m-p/1526421#M183347</guid>
      <dc:creator>Mike Allen</dc:creator>
      <dc:date>2019-07-22T23:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: Open Record button on reference field</title>
      <link>https://www.servicenow.com/community/developer-forum/open-record-button-on-reference-field/m-p/1526422#M183348</link>
      <description>&lt;P&gt;I was able to get the sys_popup,case working on my PDI unfortunately was not able to get it to work our regular instance. on the PDI looks like it would work the only downside is that you would have to maintain two views.&lt;/P&gt;
&lt;P&gt;Ended up using a View Rule with code to detect the current URL and if it matched how the URL that button used to change the view.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for pointing me to the KB &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2019 17:45:41 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/open-record-button-on-reference-field/m-p/1526422#M183348</guid>
      <dc:creator>Efren T_ Marti1</dc:creator>
      <dc:date>2019-07-23T17:45:41Z</dc:date>
    </item>
  </channel>
</rss>

