cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • New to JMP? Join us Sept. 23-24 for the Early User Edition of Discovery Summit, tailor-made for new users. Register now for free!
  • Your voice matters! Tell us how you prefer to receive JMP updates, so we can tailor our communication to your needs. Take short survey.
  • See how to access JMP Marketplace - and - find, create & share add-ins to extend your JMP. Watch video.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
zxu11
Level III

how to open/save a data file on sharepoint in JSL?

I tried to use 

 

dt = Open("https://company.sharepoint.com/.../myfile.jmp");

 

got error: Internet Error: 403 in access or evaluation of "open".

 

Any idea?

 

Thanks.

John

3 REPLIES 3
Michael_MXAK
Level IV

Re: how to open/save a data file on sharepoint in JSL?

Hi, John, try this:

 

dlg = New Window(<<Modal, "Click OK when logged in", V List Box(Web Browser Box("https://company.sharepoint.com/", JMP Window), Text Box("Click OK when logged into Sharepoint")));

dt = Open("https://company.sharepoint.com/.../myfile.jmp");

The web browser box allows your system to handshake with SP and provide credentials to JMP.

Re: how to open/save a data file on sharepoint in JSL?

Hi,

I have the same problem, getting the 403 error when trying to download excel file from sharepoint. My script seems to work with files for which I have editing rights. The file I am trying to download I have only read-only access, can this be the problem?

 

Ressel
Level VII

Re: how to open/save a data file on sharepoint in JSL?

Very interesting! We use Box, and naturally I've repurposed your code snippet. The handshake and login work. Opening the file doesn't. Thanks for the tip :)

Recommended Articles