cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Image to Table JMP extension imports single or batch images as data tables. Useful to extract curves from pictures or convert image data to curve data to use in analyses like Functional Data Explorer. Download and install the extension.

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