<?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>topic Re: Embed javascript into banner in Windchill Customization</title>
    <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Embed-javascript-into-banner/m-p/486582#M5888</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;A few remarks :&lt;/P&gt;
&lt;P&gt;Including JQuery's latest version may raise strange behaviors. PDMLink already includes JQuery, and not &amp;nbsp;the latest version.&lt;/P&gt;
&lt;P&gt;For example, frameworks used in &amp;nbsp;PDMLink 10.2 ( Found with Chrome Library Detector, a plugin )&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sélection_043.png" style="width: 160px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/2347iA3C6D517AE7D41A7/image-size/large?v=v2&amp;amp;px=999" role="button" title="Sélection_043.png" alt="Sélection_043.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Try with the provided JQuery.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Next, I don't know what Jira_Page is, but if it's a different server than PDMLink, you may hit the same origin issue.&lt;/P&gt;
&lt;P&gt;See &lt;A href="https://en.wikipedia.org/wiki/Same-origin_policy" target="_blank"&gt;https://en.wikipedia.org/wiki/Same-origin_policy&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Oct 2017 13:21:36 GMT</pubDate>
    <dc:creator>olivierfresse</dc:creator>
    <dc:date>2017-10-10T13:21:36Z</dc:date>
    <item>
      <title>Embed javascript into banner</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Embed-javascript-into-banner/m-p/486513#M5887</link>
      <description>&lt;P&gt;&amp;nbsp;I am trying to embed a Jira issue collector into our WC pages to collect tickets from users.&amp;nbsp; Jira created the issue collector and gave me the javascripts to embed.&amp;nbsp; I have tried to embed a variety of ways, but I cannot seem to get it to display or work correctly.&amp;nbsp; I've tried a couple ways shown below with no real success.&amp;nbsp; Both appear to load initally, then the button they are supposed to create disappears.&amp;nbsp; My console does not show errors, it just appears like the clickable button gets hidden or moved back in the page.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am just adding these into my banner.txt file.&amp;nbsp; I have the begin_custom.jspf modified to include the message banner.&amp;nbsp; Generally the message banner works okay.&amp;nbsp; Any pointers what I am doing wrong?&amp;nbsp; I'm not an html person.&amp;nbsp;&lt;/P&gt;
&lt;PRE class="default prettyprint prettyprinted"&gt;&lt;CODE&gt;&lt;SPAN class="tag"&gt;&amp;lt;script type="text/javascript" src="&amp;lt;Jira_page&amp;gt;/com.atlassian.jira.collector.plugin.jira-issue-collector-plugin:issuecollector.js?locale=en-US&amp;amp;collectorId=cac99114"&amp;gt;&amp;lt;/script&amp;gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE class="issue-collector-snippet aui-panel"&gt;&amp;lt;script src=&lt;SPAN class="snippet-string-text"&gt;"http://code.jquery.com/jquery-latest.js"&lt;/SPAN&gt;&amp;gt;&amp;lt;/script&amp;gt;&lt;BR /&gt;&amp;lt;script&amp;gt;jQuery.noConflict();&amp;lt;/script&amp;gt;&lt;BR /&gt;// Requires jQuery!&lt;BR /&gt;jQuery.ajax({&lt;BR /&gt; url: "&amp;lt;Jira_page&amp;gt;/download/batch/com.atlassian.jira.collector.plugin.jira-issue-collector-plugin:issuecollector-embededjs/com.atlassian.jira.collector.plugin.jira-issue-collector-plugin:issuecollector-embededjs.js?locale=en-US&amp;amp;collectorId=cac99114",&lt;BR /&gt; type: "get",&lt;BR /&gt; cache: true,&lt;BR /&gt; dataType: "script"&lt;BR /&gt;});&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2024 13:35:14 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Embed-javascript-into-banner/m-p/486513#M5887</guid>
      <dc:creator>mspencer</dc:creator>
      <dc:date>2024-03-15T13:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: Embed javascript into banner</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Embed-javascript-into-banner/m-p/486582#M5888</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;A few remarks :&lt;/P&gt;
&lt;P&gt;Including JQuery's latest version may raise strange behaviors. PDMLink already includes JQuery, and not &amp;nbsp;the latest version.&lt;/P&gt;
&lt;P&gt;For example, frameworks used in &amp;nbsp;PDMLink 10.2 ( Found with Chrome Library Detector, a plugin )&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sélection_043.png" style="width: 160px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/2347iA3C6D517AE7D41A7/image-size/large?v=v2&amp;amp;px=999" role="button" title="Sélection_043.png" alt="Sélection_043.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Try with the provided JQuery.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Next, I don't know what Jira_Page is, but if it's a different server than PDMLink, you may hit the same origin issue.&lt;/P&gt;
&lt;P&gt;See &lt;A href="https://en.wikipedia.org/wiki/Same-origin_policy" target="_blank"&gt;https://en.wikipedia.org/wiki/Same-origin_policy&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2017 13:21:36 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Embed-javascript-into-banner/m-p/486582#M5888</guid>
      <dc:creator>olivierfresse</dc:creator>
      <dc:date>2017-10-10T13:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: Embed javascript into banner</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Embed-javascript-into-banner/m-p/489223#M5889</link>
      <description>&lt;P&gt;I tried with the provided JQuery...it doesn't work either.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jira_Page is pointing to&amp;nbsp;a cloud based server.&amp;nbsp; It is not the same as the WC server.&amp;nbsp; I can look into the same origin possibility.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2017 10:48:11 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Embed-javascript-into-banner/m-p/489223#M5889</guid>
      <dc:creator>mspencer</dc:creator>
      <dc:date>2017-11-01T10:48:11Z</dc:date>
    </item>
  </channel>
</rss>

