1. Rick Minucci
  2. PowerBuilder
  3. Thursday, 30 September 2021 15:48 PM UTC

  Does anybody know how I can consume and write files to Microsoft One Drive? I believe our company is moving (VERY SOON) to Microsoft O365 and will be moving all of our data to One Drive from our Network share this includes all of our Excel, Word Templates and PDF's which we use heavily in our insurance policy packaging application to create Policies which get emailed mailed to our customers... We do a lot of OLE and file writes in this process... The issue here is that we depend upon a Drive Letter designation but this Drive letter is not available in One Drive (or perhaps it is and I do not know) which will break our automated packing processes which are written in Appeon Powerbuilder 2017 R3... Does anyone know how to access onedrive directly in Powerscript? or at least direct me to where I can address these concerns? Thank you in advance... - Rick

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 30 September 2021 16:05 PM UTC
  2. PowerBuilder
  3. # 1

Hi Rick;

  You should be able to read/write to the user's local OneDrive from your PB Apps, as follows:

C:\Users\<UserName>\OneDrive\Documents

  Once a file update, delete or insert has been done locally, the OneDrive O/S feature should then synchronize the file updates to the Cloud (AFAIK).

HTH

Regards ... Chris

Comment
There are no comments made yet.
mike S Accepted Answer Pending Moderation
  1. Thursday, 30 September 2021 16:04 PM UTC
  2. PowerBuilder
  3. # 2

I'm fairly certain you can map your one drive as a drive letter.  You can in dropbox....

you can network share your local directory, then map that share to a drive letter.

 

quick google provides:  How to map OneDrive as a Drive Letter in Windows 10 - Windows Central Forums

 

plus,  you can look into changing everything up and using REST apis to copy blobs/files.  lot of work to change it, but doable.

 

 

 

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.