<?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: Get InfoProvider name in a javascript. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-infoprovider-name-in-a-javascript/m-p/6552276#M1429821</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I still need a answer on this one. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Coen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Feb 2010 13:25:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-02-15T13:25:30Z</dc:date>
    <item>
      <title>Get InfoProvider name in a javascript.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-infoprovider-name-in-a-javascript/m-p/6552275#M1429820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question about javascript in WAD 7. When I push a button, a javascript is started to open a pdf file in the portal. This works fine. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;function openInfoProviderDoc( )
  {
var x=window.open( 'http://sapsvr62.mcb.local:50000/irj/go/km/docs/documents/mis/documents/sales/zsd_m01.pdf' );
  }&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I need the InfoProvider (technical name) in the javascript. Is there a function to get name or can I pass the InfoProvider as a parameter?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;function openInfoProviderDoc( varInfoPro  )
  {
var x=window.open( 'http://sapsvr62.mcb.local:50000/irj/go/km/docs/documents/mis/documents/sales/' + varInfoPro +'.pdf' );
  }&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;function openInfoProviderDoc( )
  {
var varInfoPro=bla.get( INFOPROVIDER )
var x=window.open( 'http://sapsvr62.mcb.local:50000/irj/go/km/docs/documents/mis/documents/sales/' + varInfoPro +'.pdf' );
  }&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Coen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2010 08:35:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-infoprovider-name-in-a-javascript/m-p/6552275#M1429820</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-02T08:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: Get InfoProvider name in a javascript.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-infoprovider-name-in-a-javascript/m-p/6552276#M1429821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I still need a answer on this one. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Coen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2010 13:25:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-infoprovider-name-in-a-javascript/m-p/6552276#M1429821</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-15T13:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: Get InfoProvider name in a javascript.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-infoprovider-name-in-a-javascript/m-p/6552277#M1429822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Coen, why are you using window.open if a simple link (with property target set to "_blank") will open the PDF on a new browser? Is the infoprovider inserted in a textbox by your users or are you showing it on the webpage? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;a href="....../ZSD_M01.pdf" target="_blank"&amp;gt;PDF doc&amp;lt;/a&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2010 21:36:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-infoprovider-name-in-a-javascript/m-p/6552277#M1429822</guid>
      <dc:creator>michael_hobbins</dc:creator>
      <dc:date>2010-02-16T21:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: Get InfoProvider name in a javascript.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-infoprovider-name-in-a-javascript/m-p/6552278#M1429823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for you interest. We added 2 buttons to our default web templates. The first button opens  a general document explaining the use of the buttons, filters, settings, context menu etc. The second button opens a document which describes the InfoProvider. I need the second button to be user unattended, opening the document of the current InfoProvider. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The key is, how can I capture the technical name of the InfoProvider into a variable? After that it's just creating a string and concatenate the variable. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course any alternative that match will be appreciated . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Coen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2010 05:54:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-infoprovider-name-in-a-javascript/m-p/6552278#M1429823</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-17T05:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: Get InfoProvider name in a javascript.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-infoprovider-name-in-a-javascript/m-p/6552279#M1429824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A question, what's the "infoprovider"? If it's master data of the user, you can calculate it and use it as part of thelink when "building" the HTML to be shown&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Feb 2010 01:35:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-infoprovider-name-in-a-javascript/m-p/6552279#M1429824</guid>
      <dc:creator>michael_hobbins</dc:creator>
      <dc:date>2010-02-21T01:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: Get InfoProvider name in a javascript.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-infoprovider-name-in-a-javascript/m-p/6552280#M1429825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The InfoProvider in this situation is a multicube. In our case, all queries are build on multicubes. Queries are linked to standard web template like the ZANALYSIS_PATTERN or ZDISPLAY_PATTERN. Standard template are maintained  in the WAD, which has javascript functionality. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, each template is connected to a query which is connected to a InfoProvider (multicube). Depending on the selection in the portal the ZDISPLAY_PATTERN can open a query that is build on InfoProvider ZSD_M01 (sales and delivery) or  ZQM_M01 (quality). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Recently I found out that when I use the "Text" web item, I can bind a "General text element" and select the InfoProvider name. Question again is, how do I get this in a variable in the javascript.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards Coen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Feb 2010 06:25:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-infoprovider-name-in-a-javascript/m-p/6552280#M1429825</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-22T06:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: Get InfoProvider name in a javascript.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-infoprovider-name-in-a-javascript/m-p/6552281#M1429826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK Coen, sorry but I can't help you then.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2010 01:26:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-infoprovider-name-in-a-javascript/m-p/6552281#M1429826</guid>
      <dc:creator>michael_hobbins</dc:creator>
      <dc:date>2010-02-23T01:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: Get InfoProvider name in a javascript.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-infoprovider-name-in-a-javascript/m-p/6552282#M1429827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Michael.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2010 05:37:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-infoprovider-name-in-a-javascript/m-p/6552282#M1429827</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-23T05:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: Get InfoProvider name in a javascript.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-infoprovider-name-in-a-javascript/m-p/6552283#M1429828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question is still open. We need a solution or alternative. Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards Coen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2010 05:43:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-infoprovider-name-in-a-javascript/m-p/6552283#M1429828</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-23T05:43:00Z</dc:date>
    </item>
  </channel>
</rss>

