<?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: Save data table to a sharepoint in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Save-data-table-to-a-sharepoint/m-p/5257#M5256</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;I think you are changing the view to an Explorer view, and then copying the URL (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://"&gt;http://&lt;/A&gt;&lt;SPAN&gt;...) and trying to use that.&amp;nbsp; I don't think that will work.&amp;nbsp; Try this instead:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you are looking at your desired Sharepoint folder:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Change the view to &lt;STRONG&gt;All Documents&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;2. Click on &lt;STRONG&gt;Actions &amp;gt; Open with Windows Explorer&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Once the Windows Explorer window opens (separately from IE), you will have a unc-style folder path that you can use.&amp;nbsp; It should start with &lt;STRONG&gt;\\&lt;/STRONG&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Jul 2012 12:31:02 GMT</pubDate>
    <dc:creator>pmroz</dc:creator>
    <dc:date>2012-07-16T12:31:02Z</dc:date>
    <item>
      <title>Save data table to a sharepoint</title>
      <link>https://community.jmp.com/t5/Discussions/Save-data-table-to-a-sharepoint/m-p/5252#M5251</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 have succeded in reading data tables (uploaded manually) from a sharepoint using JSL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I cannot find a way to make JMP (version 8.0.2 on Windows) save a file to this sharepoint.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To read a file I use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dt = open(::path||"MyTable.jmp");&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;where path is a long string starting with &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://communities.sas.com/"&gt;http://&lt;/A&gt;&lt;SPAN&gt;.....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;This works fine.&lt;SPAN __jive_emoticon_name="cool" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.jmp.com/5.0.2/images/emoticons/cool.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To save a file I use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dt &amp;lt;&amp;lt; save(::path||"MyTable1.jmp")&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;JMP interprets ::path||"MyTable1.jmp" as the filename and not as the full path incl filename!? And saves the file with a stupidly long name in the current directory in stead of on the sharepoint...&lt;SPAN __jive_emoticon_name="cry" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.jmp.com/5.0.2/images/emoticons/cry.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions are highly appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR, Marianne&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2012 18:58:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Save-data-table-to-a-sharepoint/m-p/5252#M5251</guid>
      <dc:creator>MTOF</dc:creator>
      <dc:date>2012-07-11T18:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: Save data table to a sharepoint</title>
      <link>https://community.jmp.com/t5/Discussions/Save-data-table-to-a-sharepoint/m-p/5253#M5252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Marianne,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you try with this syntax ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;strpath = "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://"&gt;http://&lt;/A&gt;&lt;SPAN&gt;..............";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;dt = open(strpath || "MyTable.jmp");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dt &amp;lt;&amp;lt; save(strpath || "MyTable1.jmp");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you copy the log of the save statement ?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Guillaume&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2012 09:58:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Save-data-table-to-a-sharepoint/m-p/5253#M5252</guid>
      <dc:creator>gbu</dc:creator>
      <dc:date>2012-07-12T09:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: Save data table to a sharepoint</title>
      <link>https://community.jmp.com/t5/Discussions/Save-data-table-to-a-sharepoint/m-p/5254#M5253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Guillaume&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thank you for trying to help &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.jmp.com/5.0.2/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Yes, my path is a string (defined as ::path = "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://communities.sas.com/"&gt;http://&lt;/A&gt;&lt;SPAN&gt;..............\"; )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The path as such works fine, otherwise the open command would not have worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when saving the problem occurs. I've nailed the problem, but don't know how to overcome it! The problem is that Save interprets the input string I give it in the wrong way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial;"&gt;&lt;SPAN style="font-family: Arial; font-size: 10pt;"&gt;dt&amp;lt;&amp;lt;Save("MyTable.jmp") &lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; saves dt as &lt;SPAN style="text-decoration: underline;"&gt;MyTable.jmp&lt;/SPAN&gt; in the &lt;SPAN style="text-decoration: underline;"&gt;current directory&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial;"&gt;&lt;SPAN style="font-family: Arial; font-size: 10pt;"&gt;dt&amp;lt;&amp;lt;Save("C:\Program Files\MyTable.jmp") &lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; saves dt as &lt;SPAN style="text-decoration: underline;"&gt;MyTable.jmp&lt;/SPAN&gt; in &lt;SPAN style="text-decoration: underline;"&gt;C:\Program Files&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;dt&amp;lt;&amp;lt;Save("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://........\MyTable.jmp/"&gt;http://........\MyTable.jmp&lt;/A&gt;&lt;SPAN&gt;")&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; is supposed to save dt as &lt;/SPAN&gt;&lt;SPAN style="text-decoration: underline;"&gt;MyTable.jmp&lt;/SPAN&gt; in the specified folder on the Sharepoint (given by the path), but instead saves dt in the &lt;SPAN style="text-decoration: underline;"&gt;current directory&lt;/SPAN&gt; as a file named &lt;SPAN style="text-decoration: underline;"&gt;http---..................MyTable.jmp&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no error message in the log - only 'Scriptable[]' as JMP &lt;SPAN style="text-decoration: underline;"&gt;does&lt;/SPAN&gt; save the file - just in the wrong place with the wrong name...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've also tried changing directory using set current directory, thinking that then I could save the file using &lt;SPAN style="font-size: 10pt; font-family: Arial;"&gt;dt&amp;lt;&amp;lt;Save("MyTable.jmp") afterwards, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;but nothing happens (no error message, no change in directory).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set current directory (::path);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR, Marianne&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2012 20:45:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Save-data-table-to-a-sharepoint/m-p/5254#M5253</guid>
      <dc:creator>MTOF</dc:creator>
      <dc:date>2012-07-12T20:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: Save data table to a sharepoint</title>
      <link>https://community.jmp.com/t5/Discussions/Save-data-table-to-a-sharepoint/m-p/5255#M5254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See if you can open your Sharepoint folder as a windows folder.&amp;nbsp; That will give you the unc-style path which will work from JMP.&amp;nbsp; When you are looking at the appropriate Sharepoint folder, click on Actions &amp;gt; Open with Windows Explorer.&amp;nbsp; You will get a Windows Explorer window showing your files.&amp;nbsp; The correct folder path is at the top, and will look something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;\\mysite.mycompany.com\mysubject\jmpprograms\Shared Documents&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, your complete file path will be "\\mysite.mycompany.com\mysubject\jmpprograms\Shared Documents\MyTable.jmp"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2012 20:50:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Save-data-table-to-a-sharepoint/m-p/5255#M5254</guid>
      <dc:creator>pmroz</dc:creator>
      <dc:date>2012-07-12T20:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: Save data table to a sharepoint</title>
      <link>https://community.jmp.com/t5/Discussions/Save-data-table-to-a-sharepoint/m-p/5256#M5255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear PMroz&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your comment, but this is exactly what I've done!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Opened the Sharepoint folder in Windows Explorer and copied the path from here: ::pathstr="&lt;A href="http://mysite.mycompany.net/mysubject/JMP_DB/"&gt;http://mysite.mycompany.net/mysubject/JMP_DB/&lt;/A&gt;";.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This path works fine with dt=open(::pathstr||"MyTable.jmp").&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it doesn't work with dt&amp;lt;&amp;lt;save(::pathstr||"MyTable.jmp");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See explanation of what happens in my reply above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR, Marianne&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;somehow got an extra set of http: in the above text... Message was edited by: Marianne Toft&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2012 21:08:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Save-data-table-to-a-sharepoint/m-p/5256#M5255</guid>
      <dc:creator>MTOF</dc:creator>
      <dc:date>2012-07-12T21:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: Save data table to a sharepoint</title>
      <link>https://community.jmp.com/t5/Discussions/Save-data-table-to-a-sharepoint/m-p/5257#M5256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;I think you are changing the view to an Explorer view, and then copying the URL (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://"&gt;http://&lt;/A&gt;&lt;SPAN&gt;...) and trying to use that.&amp;nbsp; I don't think that will work.&amp;nbsp; Try this instead:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you are looking at your desired Sharepoint folder:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Change the view to &lt;STRONG&gt;All Documents&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;2. Click on &lt;STRONG&gt;Actions &amp;gt; Open with Windows Explorer&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Once the Windows Explorer window opens (separately from IE), you will have a unc-style folder path that you can use.&amp;nbsp; It should start with &lt;STRONG&gt;\\&lt;/STRONG&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jul 2012 12:31:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Save-data-table-to-a-sharepoint/m-p/5257#M5256</guid>
      <dc:creator>pmroz</dc:creator>
      <dc:date>2012-07-16T12:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: Save data table to a sharepoint</title>
      <link>https://community.jmp.com/t5/Discussions/Save-data-table-to-a-sharepoint/m-p/5258#M5257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, I really &lt;SPAN style="text-decoration: underline;"&gt;have&lt;/SPAN&gt; done as you write and get the path in my previous reply. I'm on Windows XP - maybe you're on something different?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway - removing the http: and exchanging the front slashes with back slashes worked to a certain extent...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now JMP understands what I want to do and &lt;SPAN style="text-decoration: underline;"&gt;tries&lt;/SPAN&gt; to save the file with the correct name in the correct folder. Only now I get an error message:&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: black; font-family: 'Courier New';"&gt;I/O problem. Unable to open in ReadWrite mode. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: black; font-family: 'Courier New';"&gt;The specified network name is no longer available.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: black; font-family: 'Courier New';"&gt;Unable to save file.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looks like some kind of permission problem, but my permissions on this sharepoint is "Full Control" - I thought that was good enough.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2012 07:19:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Save-data-table-to-a-sharepoint/m-p/5258#M5257</guid>
      <dc:creator>MTOF</dc:creator>
      <dc:date>2012-07-18T07:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: Save data table to a sharepoint</title>
      <link>https://community.jmp.com/t5/Discussions/Save-data-table-to-a-sharepoint/m-p/5259#M5258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm running Internet Explorer 8 on Windows XP.&amp;nbsp; Our Sharepoint is not the latest version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sounds like you need to check with your Sharepoint administrator.&amp;nbsp; The following commands worked btw:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dt = current data table();&lt;/P&gt;&lt;P&gt;dt &amp;lt;&amp;lt; save("\\abcde.jnj.com\def\hijkl\Shared Documents\x.jmp");&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2012 14:19:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Save-data-table-to-a-sharepoint/m-p/5259#M5258</guid>
      <dc:creator>pmroz</dc:creator>
      <dc:date>2012-07-18T14:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: Save data table to a sharepoint</title>
      <link>https://community.jmp.com/t5/Discussions/Save-data-table-to-a-sharepoint/m-p/5260#M5259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'll get in contact with our IT guys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much for your help sorting this out!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR, Marianne&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2012 14:49:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Save-data-table-to-a-sharepoint/m-p/5260#M5259</guid>
      <dc:creator>MTOF</dc:creator>
      <dc:date>2012-07-18T14:49:29Z</dc:date>
    </item>
  </channel>
</rss>

