<?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: the template of PPT report (Save Presentation) in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/the-template-of-PPT-report-Save-Presentation/m-p/42797#M24812</link>
    <description>&lt;P&gt;Hi WHTseng,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You are almost there! Just add 'template' to your script and it should work.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt=Open( "$SAMPLE_DATA/Big Class.jmp" );
biv = Bivariate( Y( :weight ), X( :height ), Fit Line( {Line Color( {213, 72, 87} )} ) );
rbiv = biv &amp;lt;&amp;lt; report;
rbiv &amp;lt;&amp;lt;Save Presentation("C:\Users\whtseng\Desktop\wow1.pptx", Template("C:\Users\whtseng\Desktop\JMPExportTemplate.pptx") ,PNG);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps!&lt;/P&gt;</description>
    <pubDate>Wed, 02 Aug 2017 20:49:22 GMT</pubDate>
    <dc:creator>SirBWhite</dc:creator>
    <dc:date>2017-08-02T20:49:22Z</dc:date>
    <item>
      <title>the template of PPT report (Save Presentation)</title>
      <link>https://community.jmp.com/t5/Discussions/the-template-of-PPT-report-Save-Presentation/m-p/42434#M24666</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have some problems about the template of PPT report.&lt;/P&gt;&lt;P&gt;I try to use&amp;nbsp;the other file as the template instead of the default one, but the Save Presentation showed that&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;STRONG&gt;&lt;EM&gt;Unsupported picture format in access or evaluation of 'Save Presentation' , Bad Argument( "C:\Users\whtseng\Desktop\temp1.pptx" ), Save Presentation(&lt;/EM&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;&lt;STRONG&gt;&lt;EM&gt;"C:\Users\whtseng\Desktop\wow1.pptx","C:\Users\whtseng\Desktop\temp1.pptx",PNG) /*###*/&lt;/EM&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems my template has format issue, so I delete the "&lt;SPAN&gt;C:\Users\whtseng\Desktop\&lt;/SPAN&gt;&lt;SPAN&gt;temp1&lt;/SPAN&gt;&lt;SPAN&gt;.pptx" to let JMP use the default template JMPExportTemplate.pptx in C:\Program Files\SAS\JMP\12\pptx. It works!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So I copied the&amp;nbsp;JMPExportTemplate.pptx to desktop, and modify the script to use it&amp;nbsp;as template. It fails!! And the same message showed up,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;STRONG&gt;&lt;EM&gt;Unsupported picture format in access or evaluation of 'Save Presentation' , Bad Argument( "C:\Users\whtseng\Desktop\JMPExportTemplate.pptx" ), Save Presentation(&lt;BR /&gt;"C:\Users\whtseng\Desktop\wow1.pptx","C:\Users\whtseng\Desktop\JMPExportTemplate.pptx",PNG) /*###*/&lt;/EM&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I never changed any format and content in&amp;nbsp;JMPExportTemplate.pptx, how can this format issue happen again? and how can I fix it?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here is my code:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;FONT color="#0000FF"&gt;Names Default To Here&lt;/FONT&gt;( 1 );
dt=&lt;FONT color="#0000FF"&gt;Open&lt;/FONT&gt;( &lt;FONT color="#800080"&gt;"$SAMPLE_DATA/Big Class.jmp"&lt;/FONT&gt; );
biv = Bivariate( Y( :weight ), X( :height ), Fit Line( {Line Color( {&lt;FONT color="#008000"&gt;213&lt;/FONT&gt;, &lt;FONT color="#008000"&gt;72&lt;/FONT&gt;, &lt;FONT color="#008000"&gt;87&lt;/FONT&gt;} )} ) );
rbiv = biv &amp;lt;&amp;lt; &lt;STRONG&gt;&lt;FONT color="#000080"&gt;report&lt;/FONT&gt;&lt;/STRONG&gt;;
rbiv &amp;lt;&amp;lt;&lt;FONT color="#000080"&gt;&lt;STRONG&gt;Save Presentation&lt;/STRONG&gt;&lt;/FONT&gt;(&lt;FONT color="#800080"&gt;"C:\Users\whtseng\Desktop\wow1.pptx"&lt;FONT color="#000000"&gt;,&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;"C:\Users\whtseng\Desktop\JMPExportTemplate.pptx"&lt;/FONT&gt;,PNG);&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Thank you for any helps!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jul 2017 13:58:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/the-template-of-PPT-report-Save-Presentation/m-p/42434#M24666</guid>
      <dc:creator>WHTseng</dc:creator>
      <dc:date>2017-07-24T13:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: the template of PPT report (Save Presentation)</title>
      <link>https://community.jmp.com/t5/Discussions/the-template-of-PPT-report-Save-Presentation/m-p/42797#M24812</link>
      <description>&lt;P&gt;Hi WHTseng,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You are almost there! Just add 'template' to your script and it should work.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt=Open( "$SAMPLE_DATA/Big Class.jmp" );
biv = Bivariate( Y( :weight ), X( :height ), Fit Line( {Line Color( {213, 72, 87} )} ) );
rbiv = biv &amp;lt;&amp;lt; report;
rbiv &amp;lt;&amp;lt;Save Presentation("C:\Users\whtseng\Desktop\wow1.pptx", Template("C:\Users\whtseng\Desktop\JMPExportTemplate.pptx") ,PNG);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps!&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2017 20:49:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/the-template-of-PPT-report-Save-Presentation/m-p/42797#M24812</guid>
      <dc:creator>SirBWhite</dc:creator>
      <dc:date>2017-08-02T20:49:22Z</dc:date>
    </item>
  </channel>
</rss>

