<?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: Open microsoft office 365 cloud-based excel from JMP/JSL? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Open-microsoft-office-365-cloud-based-excel-from-JMP-JSL/m-p/242839#M47929</link>
    <description>&lt;P&gt;Try opening the file, or a parent directory, in a JMP web window first.&amp;nbsp; That should bring up the log in screen where you enter your credentials. Once you log in once in a JMP session those credentials should be passed with the subsequent open call.&amp;nbsp; There might be a way to automate that but I'm not sure how.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Web( "https://teams.microsoft.com", JMP window );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Since you mentioned getting this data in R, you could always call the&amp;nbsp;R code to get the data directly from JMP.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I second txnelson's suggestion to open a JMP ticket for this; it shouldn't be so hard.&lt;/P&gt;</description>
    <pubDate>Fri, 26 Feb 2021 18:12:26 GMT</pubDate>
    <dc:creator>ih</dc:creator>
    <dc:date>2021-02-26T18:12:26Z</dc:date>
    <item>
      <title>Open microsoft office 365 cloud-based excel from JMP/JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/Open-microsoft-office-365-cloud-based-excel-from-JMP-JSL/m-p/242367#M47865</link>
      <description>&lt;P&gt;JMP recently got a built-in ability to open Google sheets.&amp;nbsp; Before that in scripts I was calling an R package called Googlesheets to open them.&amp;nbsp; Now my company is moving to office 365 so we'll have cloud-based shared excel sheets and I'm not sure how I'll be able to read from those.&amp;nbsp; Is anyone opening these directly in JMP/JSL?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 23:26:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Open-microsoft-office-365-cloud-based-excel-from-JMP-JSL/m-p/242367#M47865</guid>
      <dc:creator>hardner</dc:creator>
      <dc:date>2023-06-09T23:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: Open microsoft office 365 cloud-based excel from JMP/JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/Open-microsoft-office-365-cloud-based-excel-from-JMP-JSL/m-p/242462#M47889</link>
      <description>&lt;P&gt;Looks like it takes a few steps to do this:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Within office 365/sharepoint/teams/etc, get a link to the file (which normally opens the file in a web browser)&lt;/LI&gt;&lt;LI&gt;Remove everything after the ? in the link and replace it with download=1&lt;/LI&gt;&lt;LI&gt;Save a copy of the file locally and open it in JMP using your preferred settings, then open and copy the 'source' script saved to that data table.&lt;/LI&gt;&lt;LI&gt;Replace the file location with the url you just modified.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your script would look something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open("https://company.sharepoint.com/:x:/r/sites/Site/Shared%20Documents/Folder/Subfolder/File%20name.xlsx?download=1",
	Worksheets( "Sheet 1" ),
	Use for all sheets( 1 ),
	Concatenate Worksheets( 0 ),
	Create Concatenation Column( 0 ),
	Worksheet Settings(
		1,
		Has Column Headers( 1 ),
		Number of Rows in Headers( 1 ),
		Headers Start on Row( 1 ),
		Data Starts on Row( 2 ),
		Data Starts on Column( 1 ),
		Data Ends on Row( 0 ),
		Data Ends on Column( 0 ),
		Replicated Spanned Rows( 1 ),
		Replicated Spanned Headers( 0 ),
		Suppress Hidden Rows( 1 ),
		Suppress Hidden Columns( 1 ),
		Suppress Empty Columns( 1 ),
		Treat as Hierarchy( 1 ),
		Multiple Series Stack( 0 ),
		Import Cell Colors( 0 ),
		Limit Column Detect( 0 ),
		Column Separator String( "-" )
	)
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Run that and hopefully you see the excel data.&amp;nbsp; Good luck!&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2020 14:58:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Open-microsoft-office-365-cloud-based-excel-from-JMP-JSL/m-p/242462#M47889</guid>
      <dc:creator>ih</dc:creator>
      <dc:date>2020-01-23T14:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: Open microsoft office 365 cloud-based excel from JMP/JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/Open-microsoft-office-365-cloud-based-excel-from-JMP-JSL/m-p/242804#M47923</link>
      <description>&lt;P&gt;Thanks! This is helpful but not working for me.&amp;nbsp; I get a 403 error and I'm presuming that I need some way to pass credentials for this to work (although at the moment I only have a test environment for the o365 implementation the real corporate version will be password protected as well.&amp;nbsp; I can't just go there with browser without being logged in.).&amp;nbsp; Both the JMP built-in googlesheets solution and the R one I was using used OAuth for that.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this working for you in a similar situation where you have to log in on your browser to get at the sheets yet JMP can just open if it knows the URL?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2020 14:54:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Open-microsoft-office-365-cloud-based-excel-from-JMP-JSL/m-p/242804#M47923</guid>
      <dc:creator>hardner</dc:creator>
      <dc:date>2020-01-24T14:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: Open microsoft office 365 cloud-based excel from JMP/JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/Open-microsoft-office-365-cloud-based-excel-from-JMP-JSL/m-p/242817#M47926</link>
      <description>&lt;P&gt;I suggest that you take this issue to the JMP Support team.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="mailto:support@jmp.com" target="_blank"&gt;support@jmp.com&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;This has to be something they need to be able to support, if they currently do not support it.&amp;nbsp; And by going to the support team, the issue will be tracked until implemented.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2020 15:31:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Open-microsoft-office-365-cloud-based-excel-from-JMP-JSL/m-p/242817#M47926</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2020-01-24T15:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: Open microsoft office 365 cloud-based excel from JMP/JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/Open-microsoft-office-365-cloud-based-excel-from-JMP-JSL/m-p/242839#M47929</link>
      <description>&lt;P&gt;Try opening the file, or a parent directory, in a JMP web window first.&amp;nbsp; That should bring up the log in screen where you enter your credentials. Once you log in once in a JMP session those credentials should be passed with the subsequent open call.&amp;nbsp; There might be a way to automate that but I'm not sure how.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Web( "https://teams.microsoft.com", JMP window );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Since you mentioned getting this data in R, you could always call the&amp;nbsp;R code to get the data directly from JMP.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I second txnelson's suggestion to open a JMP ticket for this; it shouldn't be so hard.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 18:12:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Open-microsoft-office-365-cloud-based-excel-from-JMP-JSL/m-p/242839#M47929</guid>
      <dc:creator>ih</dc:creator>
      <dc:date>2021-02-26T18:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: Open microsoft office 365 cloud-based excel from JMP/JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/Open-microsoft-office-365-cloud-based-excel-from-JMP-JSL/m-p/243048#M47969</link>
      <description>&lt;P&gt;Thanks.... technical support actually contacted &lt;EM&gt;me&lt;/EM&gt; based on this post (maybe related to your reply suggesting it's an issue for them).&amp;nbsp; How cool is that?!&amp;nbsp; Did not produce an immediate solution but may do and I appreciate it.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But also it's because I suspect there may be solutions that are workarounds outside of JMP that I'm still interested to see whether there are other users in similar situation who have found anything -&amp;nbsp; like maybe a python package solution for talking to o365...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm looking for a fully automatic solution that deals with credentials.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2020 15:27:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Open-microsoft-office-365-cloud-based-excel-from-JMP-JSL/m-p/243048#M47969</guid>
      <dc:creator>hardner</dc:creator>
      <dc:date>2020-01-27T15:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: Open microsoft office 365 cloud-based excel from JMP/JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/Open-microsoft-office-365-cloud-based-excel-from-JMP-JSL/m-p/243093#M47977</link>
      <description>Thanks! As noted above I am now working with technical support. I'm not sure whether my issues are very specific to our implementation (currently only a trial sandbox as we haven't switched to o365 yet) or are general issues about use of credentials via JMP. But here's what happens when I try your idea.. I can open a parent page like you show directly in the JMP Web window after getting a credentials page. It's the o365 home page looking just like it does in other browsers. But not only does that not allow Open() to work, I can't actually open a child excel sheet there. The parent page lists the sheets but if I try to type in the URL of a sheet (in the JMP Web window where I'm already logged in) I get a "sorry, you don't have access" page, while it works in Chrome or Microsoft Edge. And if I just interactively try to open the sheet from the parent page in the JMP Web window by clicking on it- it opens in Chrome instead!</description>
      <pubDate>Mon, 27 Jan 2020 20:53:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Open-microsoft-office-365-cloud-based-excel-from-JMP-JSL/m-p/243093#M47977</guid>
      <dc:creator>hardner</dc:creator>
      <dc:date>2020-01-27T20:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: Open microsoft office 365 cloud-based excel from JMP/JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/Open-microsoft-office-365-cloud-based-excel-from-JMP-JSL/m-p/243114#M47983</link>
      <description>&lt;P&gt;OK, my big problem was pointed out by a colleague...&amp;nbsp; my link to the file didn't look like the nice clean one ih showed (I could see that but he had an example from our system that &lt;EM&gt;did&lt;/EM&gt;).&amp;nbsp; I did get links to the file different ways (including just the URL showing in the browser and from a share button with option "copy link") and they all worked when pasted into Chrome or Microsoft Edge browsers but instead of ending like...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Folder/Subfolder/File%20name.xlsx&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;they all had extra stuff like this...&lt;/P&gt;&lt;P&gt;%7B21C93788-01B3-4508-8EC9-5451FBB8AEB6%7D&lt;/P&gt;&lt;P&gt;so even when I stripped it down to the "?"&amp;nbsp; after the filename I didn't have the apparently right type of URL for this to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then it may be necessary to do the second part ih suggested about logging in via Web() to input credentials in JMPs particular browser but I'm not sure because I had already done that earlier (so not sure if it would have worked with this URL based on credentials saved by other browsers or not).&amp;nbsp; Now that I have a nicer version of the URL it just opens from JSL nicely.&amp;nbsp; Does not need ?download=1 and so far is not only remembering the credentials for the session, I've rebooted 3 times and it can just do this from the get go each time without requesting credentials...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Open("&lt;A href="https://company.sharepoint.com/:x:/r/sites/Site/Shared%20Documents/Folder/Subfolder/File%20name.xlsx" target="_blank"&gt;https://company.sharepoint.com/:x:/r/sites/Site/Shared%20Documents/Folder/Subfolder/File%20name.xlsx&lt;/A&gt;");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My only issue now that since I'm not explicitly sending credentials I'm not sure what might make it forget them but so far it seems good at remembering them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2020 22:37:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Open-microsoft-office-365-cloud-based-excel-from-JMP-JSL/m-p/243114#M47983</guid>
      <dc:creator>hardner</dc:creator>
      <dc:date>2020-01-27T22:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: Open microsoft office 365 cloud-based excel from JMP/JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/Open-microsoft-office-365-cloud-based-excel-from-JMP-JSL/m-p/282434#M54648</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a similar issue. The solution proposed here works fine with a .jmp file, but it does not work with a .jmpaddin file stored in O365 which I would like to open directly from a JSL script.&amp;nbsp; I get a "cannot open" error.&amp;nbsp; If I open a local .jmpaddin file, everything works fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestion?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;BR /&gt;Matteo&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2020 12:02:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Open-microsoft-office-365-cloud-based-excel-from-JMP-JSL/m-p/282434#M54648</guid>
      <dc:creator>matteo_patelmo</dc:creator>
      <dc:date>2020-07-28T12:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Open microsoft office 365 cloud-based excel from JMP/JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/Open-microsoft-office-365-cloud-based-excel-from-JMP-JSL/m-p/282478#M54658</link>
      <description>&lt;P&gt;This is not specific to o365 but to opening .jmpaddin from a URL as vs. a local path. At least I see the difference between local paths and other non-office URLs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a way to refresh an addin that's in a URL-accessible location&amp;nbsp; that I got from colleagues...&lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #333333; cursor: text; font-family: inherit; font-size: 16px; font-style: normal; font-variant: normal; font-weight: 300; letter-spacing: normal; line-height: 1.7142; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;using NewHTTPRequest() to get file, put in local spot and then open()&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="open addin url.png" style="width: 673px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/25776iAA2234DE1CBA3239/image-size/large?v=v2&amp;amp;px=999" role="button" title="open addin url.png" alt="open addin url.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2020 14:28:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Open-microsoft-office-365-cloud-based-excel-from-JMP-JSL/m-p/282478#M54658</guid>
      <dc:creator>hardner</dc:creator>
      <dc:date>2020-07-28T14:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: Open microsoft office 365 cloud-based excel from JMP/JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/Open-microsoft-office-365-cloud-based-excel-from-JMP-JSL/m-p/282489#M54663</link>
      <description>&lt;P&gt;Thanks, but unfortunately it seems not to be working with the O365 URL (both as-is and with download=1 after ?).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get the message: could not resolve host &lt;EM&gt;mycompany&lt;/EM&gt;.sharepoint.com&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is strange because the same kind of URL works just fine with .jmp data table and open().&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Matteo&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2020 14:51:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Open-microsoft-office-365-cloud-based-excel-from-JMP-JSL/m-p/282489#M54663</guid>
      <dc:creator>matteo_patelmo</dc:creator>
      <dc:date>2020-07-28T14:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: Open microsoft office 365 cloud-based excel from JMP/JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/Open-microsoft-office-365-cloud-based-excel-from-JMP-JSL/m-p/363273#M61296</link>
      <description>&lt;P&gt;I did a flavor of this, but I put a web browser box inside a new window.&amp;nbsp; That gives me a display box that I can close.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;credentials = New Window( "quick open", Web Browser Box( "path to site" ) );&lt;BR /&gt;credentials&amp;lt;&amp;lt;close window;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 26 Feb 2021 17:13:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Open-microsoft-office-365-cloud-based-excel-from-JMP-JSL/m-p/363273#M61296</guid>
      <dc:creator>johnmoore</dc:creator>
      <dc:date>2021-02-26T17:13:07Z</dc:date>
    </item>
  </channel>
</rss>

