<?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: Powerpoint slide title using column value in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Powerpoint-slide-title-using-column-value/m-p/701901#M88633</link>
    <description>&lt;P&gt;Which version of JMP are you using? Create new window of your ppt1 and check that the outline box is correct there. I'm using JMP17 and this is working correctly (if I understand what you are trying to do)&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

dt_sub = Eval List({Open("$SAMPLE_DATA/Big Class.jmp")});
dt_graphs1 = dt_sub[1] &amp;lt;&amp;lt; get as report;

hb1 = H List Box();
hb1 &amp;lt;&amp;lt; Append(Eval(Parse(Eval Insert("dt_graphs^v^"))));
hb1a = hb1 &amp;lt;&amp;lt; get picture;

sex_key = Column(dt_sub[v], "Sex") &amp;lt;&amp;lt; get values;
ppt1 = Outline Box("Date for 2023_" || Char(sex_key) || ")", hb1a);

ppt1 &amp;lt;&amp;lt; Save Presentation("$TEMP/jmp_example.pptx", append, "PNG");

nw = New Window("", ppt1); // use this to verify
Open("$TEMP");
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;A href="https://www.jmp.com/support/help/en/17.2/#page/jmp/display-box-messages.shtml?os=win&amp;amp;source=application#ww2164087" target="_blank"&gt;Display Box Messages (jmp.com)&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1700643857791.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/59023i78B8BE169320E4E0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1700643857791.png" alt="jthi_0-1700643857791.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 22 Nov 2023 09:04:32 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2023-11-22T09:04:32Z</dc:date>
    <item>
      <title>Powerpoint slide title using column value</title>
      <link>https://community.jmp.com/t5/Discussions/Powerpoint-slide-title-using-column-value/m-p/701886#M88631</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am trying to create a graph using a subset data. And I needed the column value to be concatenated into the slide's title. For example, the title of the slide is "Data for 2023_" and I need to add what specific sex the data is for. Output should be "Data for 2023_Male" and&amp;nbsp;"Data for 2023_Female". Here is the code I have created&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;For( v=1, v &amp;lt;= N items (dt_sub), v++, 
hb1 = HlistBox();
sex_key= Column(dt_sub[v], "Sex") &amp;lt;&amp;lt; get values;
hb1 &amp;lt;&amp;lt; Append(Eval(Parse(EvalInsert("dt_graphs^v^"))));
hb1a = hb1 &amp;lt;&amp;lt; get picture;
ppt1 = OutlineBox("Date for 2023_" || char(sex_key) || ")", hb1a);
ppt1 &amp;lt;&amp;lt; savepresentation( pathppt, append, PNG );
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;But the output title of the box is &lt;STRONG&gt;Data for 2023_=Scriptable[]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Please help&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2023 08:36:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Powerpoint-slide-title-using-column-value/m-p/701886#M88631</guid>
      <dc:creator>UserID16644</dc:creator>
      <dc:date>2023-11-22T08:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: Powerpoint slide title using column value</title>
      <link>https://community.jmp.com/t5/Discussions/Powerpoint-slide-title-using-column-value/m-p/701901#M88633</link>
      <description>&lt;P&gt;Which version of JMP are you using? Create new window of your ppt1 and check that the outline box is correct there. I'm using JMP17 and this is working correctly (if I understand what you are trying to do)&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

dt_sub = Eval List({Open("$SAMPLE_DATA/Big Class.jmp")});
dt_graphs1 = dt_sub[1] &amp;lt;&amp;lt; get as report;

hb1 = H List Box();
hb1 &amp;lt;&amp;lt; Append(Eval(Parse(Eval Insert("dt_graphs^v^"))));
hb1a = hb1 &amp;lt;&amp;lt; get picture;

sex_key = Column(dt_sub[v], "Sex") &amp;lt;&amp;lt; get values;
ppt1 = Outline Box("Date for 2023_" || Char(sex_key) || ")", hb1a);

ppt1 &amp;lt;&amp;lt; Save Presentation("$TEMP/jmp_example.pptx", append, "PNG");

nw = New Window("", ppt1); // use this to verify
Open("$TEMP");
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;A href="https://www.jmp.com/support/help/en/17.2/#page/jmp/display-box-messages.shtml?os=win&amp;amp;source=application#ww2164087" target="_blank"&gt;Display Box Messages (jmp.com)&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1700643857791.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/59023i78B8BE169320E4E0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1700643857791.png" alt="jthi_0-1700643857791.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2023 09:04:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Powerpoint-slide-title-using-column-value/m-p/701901#M88633</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-11-22T09:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: Powerpoint slide title using column value</title>
      <link>https://community.jmp.com/t5/Discussions/Powerpoint-slide-title-using-column-value/m-p/702097#M88644</link>
      <description>&lt;P&gt;or something like this?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_0-1700683367884.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/59032i7332D2AB3D33FD9C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_0-1700683367884.png" alt="hogi_0-1700683367884.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt_sub = Data Table( "Big Class" ) &amp;lt;&amp;lt; Subset(By( :sex ));

pathppt = "C:\temp\ppt.pptx";

For( v=1, v &amp;lt;= N items (dt_sub), v++, 
//v= 1;
hb1 = HlistBox();
sex_key= dt_sub[v]&amp;lt;&amp;lt;  get name;
hb1 &amp;lt;&amp;lt; Append(dt_sub[v] &amp;lt;&amp;lt; get as report);
ppt1 = OutlineBox("Date for 2023 " || sex_key, hb1);
ppt1 &amp;lt;&amp;lt; savepresentation( pathppt, append, "PNG" );
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 22 Nov 2023 20:04:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Powerpoint-slide-title-using-column-value/m-p/702097#M88644</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2023-11-22T20:04:00Z</dc:date>
    </item>
  </channel>
</rss>

