<?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: Adding Links to JMP Dashboard to Download Powerpoints and Files in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Adding-Links-to-JMP-Dashboard-to-Download-Powerpoints-and-Files/m-p/217758#M43522</link>
    <description>&lt;P&gt;In the example App that I posted, the "PDF Slides" buttons works for me in HTML, because the JSL is a simple Web() command.&amp;nbsp; The "Script" button does not work, because the more general Open() command (and may other JSL commands) are not supported by the HTML report.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If your Web() links are not working, please see the discussion&amp;nbsp;&lt;LI-MESSAGE title="Interactive HTML hyperlink doesnt work" uid="29332" url="https://community.jmp.com/t5/Discussions/Interactive-HTML-hyperlink-doesnt-work/m-p/29332#U29332"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;.&amp;nbsp; It has a some additional suggestions on how to produce a simple Web() expression that the HTML report will recognize.&amp;nbsp; If you need a more complex script to come up with the URL to open, you might want to do that work in the Module script of the Application, and then do something like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Button1 &amp;lt;&amp;lt; Set Function(Function({this}, Web(...));&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This way, the logic for computing the URL will run only when the dashboard runs rather than each time the button is clicked.&amp;nbsp; The JSL associated with the button will be a simple Web() command with a fixed string.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 16 Jul 2019 18:35:30 GMT</pubDate>
    <dc:creator>danschikore</dc:creator>
    <dc:date>2019-07-16T18:35:30Z</dc:date>
    <item>
      <title>Adding Links to JMP Dashboard to Download Powerpoints and Files</title>
      <link>https://community.jmp.com/t5/Discussions/Adding-Links-to-JMP-Dashboard-to-Download-Powerpoints-and-Files/m-p/217170#M43412</link>
      <description>&lt;P&gt;I am new to using the dashboard on JMP and have searched for ways to add my PPT but I haven't found anything. When I switch out of dashboard and into application mode there are buttons and boxes that I can drag in but nothing referencing a downloadable link for my files. Also I haven't found anything on the scripting side that can add a downloadable link for jsl. Is this possible?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 19:24:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adding-Links-to-JMP-Dashboard-to-Download-Powerpoints-and-Files/m-p/217170#M43412</guid>
      <dc:creator>Kelly</dc:creator>
      <dc:date>2019-07-11T19:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Links to JMP Dashboard to Download Powerpoints and Files</title>
      <link>https://community.jmp.com/t5/Discussions/Adding-Links-to-JMP-Dashboard-to-Download-Powerpoints-and-Files/m-p/217320#M43447</link>
      <description>&lt;P&gt;After switching back to the Application Builder mode, you can add buttons by dragging them into the workspace.&amp;nbsp; Keep in mind that in Dashboard Mode, the builder adds all required containers (Tab List, H Splitter, V Splitter) for simplified layout.&amp;nbsp; In Application mode, containers need to be added directly.&amp;nbsp; In this example, I added an H List Box that contains two Button Box objects:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="DashboardButton.png" style="width: 310px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/18284i860C554A62DF05C6/image-size/large?v=v2&amp;amp;px=999" role="button" title="DashboardButton.png" alt="DashboardButton.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that I placed the objects as close to the outer Tab Page title as I could.&amp;nbsp; I would not recommend placing supplementary material like this between reports in a Dashboard, because the report content (Tab Pages and Splitters) can be rearranged in the running dashboard.&amp;nbsp; Modifiying that layout can affect the run-time behavior of the dashboard.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Next, for each button you can add a title and action script from the property panel (open from red-triangle menu or by dragging splitter from the right edge).&amp;nbsp; In this example, I used these commands to open a web resource or local file:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Web("https://www.jmp.com/support/downloads/pdf/jmp_user_guide.pdf")

Open("$SAMPLE_SCRIPTS/bootstrapSample.jsl")&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="DashboardButtonProp.png" style="width: 314px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/18285iDB2B1D9584A0AAA3/image-size/large?v=v2&amp;amp;px=999" role="button" title="DashboardButtonProp.png" alt="DashboardButtonProp.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The attached jmpappsource file contains a finished result.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2019 16:45:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adding-Links-to-JMP-Dashboard-to-Download-Powerpoints-and-Files/m-p/217320#M43447</guid>
      <dc:creator>danschikore</dc:creator>
      <dc:date>2019-07-12T16:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Links to JMP Dashboard to Download Powerpoints and Files</title>
      <link>https://community.jmp.com/t5/Discussions/Adding-Links-to-JMP-Dashboard-to-Download-Powerpoints-and-Files/m-p/217740#M43513</link>
      <description>&lt;P&gt;The links work perfectly on the dashboard. I was wondering if it is possible to have the buttons still functional when I save it as an interactive html. Currently it works on the dasboard but not on html. Is there an addition step that I need to do for the button links to work on interactive html?&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2019 17:41:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adding-Links-to-JMP-Dashboard-to-Download-Powerpoints-and-Files/m-p/217740#M43513</guid>
      <dc:creator>Kelly</dc:creator>
      <dc:date>2019-07-16T17:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Links to JMP Dashboard to Download Powerpoints and Files</title>
      <link>https://community.jmp.com/t5/Discussions/Adding-Links-to-JMP-Dashboard-to-Download-Powerpoints-and-Files/m-p/217758#M43522</link>
      <description>&lt;P&gt;In the example App that I posted, the "PDF Slides" buttons works for me in HTML, because the JSL is a simple Web() command.&amp;nbsp; The "Script" button does not work, because the more general Open() command (and may other JSL commands) are not supported by the HTML report.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If your Web() links are not working, please see the discussion&amp;nbsp;&lt;LI-MESSAGE title="Interactive HTML hyperlink doesnt work" uid="29332" url="https://community.jmp.com/t5/Discussions/Interactive-HTML-hyperlink-doesnt-work/m-p/29332#U29332"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;.&amp;nbsp; It has a some additional suggestions on how to produce a simple Web() expression that the HTML report will recognize.&amp;nbsp; If you need a more complex script to come up with the URL to open, you might want to do that work in the Module script of the Application, and then do something like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Button1 &amp;lt;&amp;lt; Set Function(Function({this}, Web(...));&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This way, the logic for computing the URL will run only when the dashboard runs rather than each time the button is clicked.&amp;nbsp; The JSL associated with the button will be a simple Web() command with a fixed string.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2019 18:35:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adding-Links-to-JMP-Dashboard-to-Download-Powerpoints-and-Files/m-p/217758#M43522</guid>
      <dc:creator>danschikore</dc:creator>
      <dc:date>2019-07-16T18:35:30Z</dc:date>
    </item>
  </channel>
</rss>

