<?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 Open jmp file from Teams/Sharepoint on publicly used script in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Open-jmp-file-from-Teams-Sharepoint-on-publicly-used-script/m-p/775388#M95756</link>
    <description>&lt;P&gt;Opening a jmp file from Microsoft Teams/Sharepoint is simple enough if I'm the only one using the script. I just go into Teams and click "Add Shortcut to OneDrive" and then am able to map to the file as shown below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open("C:\Users\{username}\OneDrive - {company}\Data\Table.jmp");&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The problem I'm having is that I want this script to be usable by others in the company. I could make {username} a variable, but then it would still rely on others having the same shortcut added to their OneDrive. I've also tried copying the link to the file from Teams, but JMP isn't able to open that (e.g.&amp;nbsp;https://{company}.sharepoint.com/:u:/s/{department}/Ed7cb_0X97BFtr4z-xh9mw0BBurcocxxsg91yyz9hHVUjg?e=y&amp;nbsp;&amp;nbsp;). Even if that did work, I would have to know the exact path for each file when I would very much prefer to just use folder structure naming.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to open Teams/Sharepoint files that will consistently work with multiple people using the script?&lt;/P&gt;</description>
    <pubDate>Thu, 25 Jul 2024 15:15:38 GMT</pubDate>
    <dc:creator>mtrensch</dc:creator>
    <dc:date>2024-07-25T15:15:38Z</dc:date>
    <item>
      <title>Open jmp file from Teams/Sharepoint on publicly used script</title>
      <link>https://community.jmp.com/t5/Discussions/Open-jmp-file-from-Teams-Sharepoint-on-publicly-used-script/m-p/775388#M95756</link>
      <description>&lt;P&gt;Opening a jmp file from Microsoft Teams/Sharepoint is simple enough if I'm the only one using the script. I just go into Teams and click "Add Shortcut to OneDrive" and then am able to map to the file as shown below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open("C:\Users\{username}\OneDrive - {company}\Data\Table.jmp");&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The problem I'm having is that I want this script to be usable by others in the company. I could make {username} a variable, but then it would still rely on others having the same shortcut added to their OneDrive. I've also tried copying the link to the file from Teams, but JMP isn't able to open that (e.g.&amp;nbsp;https://{company}.sharepoint.com/:u:/s/{department}/Ed7cb_0X97BFtr4z-xh9mw0BBurcocxxsg91yyz9hHVUjg?e=y&amp;nbsp;&amp;nbsp;). Even if that did work, I would have to know the exact path for each file when I would very much prefer to just use folder structure naming.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to open Teams/Sharepoint files that will consistently work with multiple people using the script?&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2024 15:15:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Open-jmp-file-from-Teams-Sharepoint-on-publicly-used-script/m-p/775388#M95756</guid>
      <dc:creator>mtrensch</dc:creator>
      <dc:date>2024-07-25T15:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: Open jmp file from Teams/Sharepoint on publicly used script</title>
      <link>https://community.jmp.com/t5/Discussions/Open-jmp-file-from-Teams-Sharepoint-on-publicly-used-script/m-p/775400#M95758</link>
      <description>&lt;P&gt;Maybe one of these from &lt;LI-MESSAGE title="How to re-access a file on SharePoint?" uid="766316" url="https://community.jmp.com/t5/Discussions/How-to-re-access-a-file-on-SharePoint/m-p/766316#U766316" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-forum-thread lia-fa-icon lia-fa-forum lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;would work?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"Few older posts (open JMP's web browser, authenticate there and then open the file)&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A class="lia-mention-container-editor-message lia-img-icon-forum-thread lia-fa-icon lia-fa-forum lia-fa-thread lia-fa" href="https://community.jmp.com/t5/Discussions/Open-microsoft-office-365-cloud-based-excel-from-JMP-JSL/m-p/242367#U242367" target="_blank"&gt;Open microsoft office 365 cloud-based excel from JMP/JSL?&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A class="lia-mention-container-editor-message lia-img-icon-forum-thread lia-fa-icon lia-fa-forum lia-fa-thread lia-fa" href="https://community.jmp.com/t5/Discussions/How-to-extract-data-from-an-Excel-file-on-Sharepoint/m-p/336998#U336998" target="_blank"&gt;How to extract data from an Excel file on Sharepoint?&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;&lt;A class="lia-mention-container-editor-message lia-img-icon-forum-thread lia-fa-icon lia-fa-forum lia-fa-thread lia-fa" href="https://community.jmp.com/t5/Discussions/Executing-file-from-Office-sharepoint-directly/m-p/370037#U370037" target="_blank"&gt;Executing file from Office sharepoint directly&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;There could be also an option to authenticate using HTTP Request, but I'm not familiar how that can be done with sharepoint."&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2024 15:29:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Open-jmp-file-from-Teams-Sharepoint-on-publicly-used-script/m-p/775400#M95758</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-07-25T15:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: Open jmp file from Teams/Sharepoint on publicly used script</title>
      <link>https://community.jmp.com/t5/Discussions/Open-jmp-file-from-Teams-Sharepoint-on-publicly-used-script/m-p/777314#M95861</link>
      <description>&lt;P&gt;I have the beginnings of a JSL/HTTP Request/New OAuth2 script that uses the MS Graph API.&lt;BR /&gt;It doesn't access files (yet).&lt;BR /&gt;The biggest hurdle is registering in your company's Azure/Entra portal.&lt;BR /&gt;Depending on your admin rights it can be super easy/barely an inconvenience or you may have to go through some hoops.&lt;BR /&gt;However, once authenticated, it's fairly easy to step through OneDrive/Sharepoint with MS graph.&lt;BR /&gt;Most of the data is JSON (which I just think of as JSL Associative Arrays)&lt;BR /&gt;when you get to a file item, there's a url where you can actually retrieve the file.&lt;/P&gt;
&lt;P&gt;I can post what I have (or email me) if you're interested.&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2024 21:48:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Open-jmp-file-from-Teams-Sharepoint-on-publicly-used-script/m-p/777314#M95861</guid>
      <dc:creator>bryan_boone</dc:creator>
      <dc:date>2024-07-29T21:48:36Z</dc:date>
    </item>
  </channel>
</rss>

