<?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 How do I let user select their files to open via JSL? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-do-I-let-user-select-their-files-to-open-via-JSL/m-p/641095#M83832</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;As I'm new user to JMP, I want to know how do I open any csv file&amp;nbsp; without specifying any folder in the JSL script.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have saved this script from data table but instead of opening the folder and hence csv file from here I want the users to select folder and open any csv like in below image.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sukanyap_1-1686484702008.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/53680iC5EC3B0678D7A350/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sukanyap_1-1686484702008.png" alt="Sukanyap_1-1686484702008.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 11 Jun 2023 12:02:11 GMT</pubDate>
    <dc:creator>Sukanyap</dc:creator>
    <dc:date>2023-06-11T12:02:11Z</dc:date>
    <item>
      <title>How do I let user select their files to open via JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-let-user-select-their-files-to-open-via-JSL/m-p/641095#M83832</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;As I'm new user to JMP, I want to know how do I open any csv file&amp;nbsp; without specifying any folder in the JSL script.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have saved this script from data table but instead of opening the folder and hence csv file from here I want the users to select folder and open any csv like in below image.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sukanyap_1-1686484702008.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/53680iC5EC3B0678D7A350/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sukanyap_1-1686484702008.png" alt="Sukanyap_1-1686484702008.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2023 12:02:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-let-user-select-their-files-to-open-via-JSL/m-p/641095#M83832</guid>
      <dc:creator>Sukanyap</dc:creator>
      <dc:date>2023-06-11T12:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: How do I let user select their files to open via JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-let-user-select-their-files-to-open-via-JSL/m-p/641103#M83833</link>
      <description>&lt;P&gt;One more I want to add is I tried "Pick File" to select any folder and open the csv file but it is throwing error as below&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sukanyap_0-1686485628651.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/53681i590A2BC46216E0A6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sukanyap_0-1686485628651.png" alt="Sukanyap_0-1686485628651.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2023 12:14:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-let-user-select-their-files-to-open-via-JSL/m-p/641103#M83833</guid>
      <dc:creator>Sukanyap</dc:creator>
      <dc:date>2023-06-11T12:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: How do I let user select their files to open via JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-let-user-select-their-files-to-open-via-JSL/m-p/641139#M83834</link>
      <description>&lt;P&gt;The simplest form of what you specified you need is:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
file = Pick File(
	"Select csv File",
	"$HOME",
	{"csv Files|csv", "All Files|*"},
	1,
	0
);
If( file != "",
	dt = Open( file )
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Look in the Scripting Index for the definitions and examples of the Pick File and Open functions.&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2023 12:23:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-let-user-select-their-files-to-open-via-JSL/m-p/641139#M83834</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2023-06-11T12:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: How do I let user select their files to open via JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-let-user-select-their-files-to-open-via-JSL/m-p/641176#M83836</link>
      <description>&lt;P&gt;Thanks it worked&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2023 15:42:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-let-user-select-their-files-to-open-via-JSL/m-p/641176#M83836</guid>
      <dc:creator>Sukanyap</dc:creator>
      <dc:date>2023-06-11T15:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: How do I let user select their files to open via JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-let-user-select-their-files-to-open-via-JSL/m-p/651172#M84196</link>
      <description>&lt;P&gt;Hi txnelson,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your commands helped me, but now since we're directly opening any data table it seems JMP is not reading the change in data types of the user density here arrow marked. Originally the data type of "user density" is "numeric and continuous" but in my JSL i changed it to character and nominal, but it seems JMP is not reading this, since we're opening the data table directly&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sukanyap_0-1687515707421.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/54103i7A6CA0ABFE534B63/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sukanyap_0-1687515707421.png" alt="Sukanyap_0-1687515707421.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Can you please help me here, how do I make JMP possible to ready my changes, it is needed in my plotting and data processing&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sukanyap_1-1687515879518.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/54104i8202A66195337686/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sukanyap_1-1687515879518.png" alt="Sukanyap_1-1687515879518.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2023 10:24:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-let-user-select-their-files-to-open-via-JSL/m-p/651172#M84196</guid>
      <dc:creator>Sukanyap</dc:creator>
      <dc:date>2023-06-23T10:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: How do I let user select their files to open via JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-let-user-select-their-files-to-open-via-JSL/m-p/651216#M84203</link>
      <description>&lt;P&gt;It is not really to debug your issue without having your data files.&amp;nbsp; I suggest you use the Excel Wizard on the files that are not being handled correctly.&amp;nbsp; The wizard should give you some insight on how JMP is interpreting your files.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2023 11:56:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-let-user-select-their-files-to-open-via-JSL/m-p/651216#M84203</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2023-06-23T11:56:30Z</dc:date>
    </item>
  </channel>
</rss>

