Hi Avi,
Similar to Armeen's questions, I guess it depends what import/ export means and the functionality you are trying to accomplish. Assuming the location is not already a synchronized location and you just wish to open, copy, create etc. files on your OneDrive but with PB's FILE???????() functions then you have a couple of approaches:
- Map a network drive to your OneDrive and then use that mapped drive letter as you would the C: drive...if this is needed for many users in an organization then the drive mapping should be accomplished as part of Group Policy configurations
- Hardcode the UNC naming format (minus the user and machine names which would be obtained at run time and concatenated together) of the OneDrive in your PB code such that it would look something like this: "\\" + ls_MACHINENAME + "\Users\" + ls_USERNAME + "\OneDrive"
If you're looking to do more complex things, like getting notifications when files on OneDrive are changed, then the API approach is the way to go.
HTH...regards,
Mark
https://learn.microsoft.com/en-us/sharepoint/onedrive-in-citrix-virtual-apps-deployment-guide
https://support.citrix.com/article/CTX276664/limitations-of-microsoft-onedrive-when-using-with-profile-manager-and-virtual-desktops
https://www.citrix.com/blogs/2023/03/02/enable-easy-access-citrix-profile-management/