I will be assisting a startup design firm nearby to get up and running with MicroStaion/ProjectWise (PW) - most likely only one license of each.
Their filestorage is all in Microsoft OneDrive, a component of Sharepoint. For any projects on PW, they should be able to pull files, references, symbology, etc from the PW managed workspace. But for projects they may have not hosted on someone's PW, they will need a local workspace. How would one setup a local workspace for their use using OneDrive? I know it's possible to map OneDrive as a drive letter but it's also not advised (never mind having to log into every single PC with the credentials to map the drive letter). Has anyone got any experience setting up a Workpsace using OneDrive? One can open files from One Drive with no issue - but getting the correct symbology and such is another matter.
Any advice is appreciated!
Interesting question. How many users are involved? Are they logging into thier machines with microsoft accounts so all of the OneDrive sharing etc is handling by the login?
Will they be isnatlling on multiple machines?
With the addition of the OneDrive 'Always keep on this device option' ecah user should be able to have a local copy of all the files involved. The default path is long and tedious and will vary per user, so I'd suggest changing the local onedrive location to be the same for each user e.g. C:\_ONEDRIVE (or another drive letter if multiple drives are present to avoid filling a smaller SSD?).
You could then have C:\_ONEDRIVE\Configuration\ and C:\_ONEDRIVE\Projects synced by OneDrive and use our installer to point the Custom Configuration at C:\_ONEDRIVE\Configuration\.
These blogs may help:
CONNECT Edition - Custom Configuration - Part 1 : Initial Creation Steps
CONNECT Edition - Configuration Tips : Should I edit ConfigurationSetup.cfg?
Feel free to share more details and ask further questions.
Interesting and totally cool if you can pull it off!!
I have not tested this in any way shape or form but here would be how I would approach it based on a single user. I am not sure how to share this easily between users, I have never seen a OneDrive Organization share, I would think that storing it in SharePoint maybe easier to do and share out to many. This is based on MSTNCE12.
Good Luck with this! I am interested in how it works for you. Also how it works with regards to editing files such as DGNlib and any conflicts in file editing that may occur. Please report back any findings.
Don't be afraid to question the status quo
One Drive creates an environment variable that points to the users one drive. You can use that in the _USTN_CUSTOM_CONFIGURATION. Note that One Drive for Business creates a different environment variable than regular One Drive (OneDriveCommercial is the Environment variable for One Drive for Business). So for John's example you can instead use:
%if defined (OneDrive) && ($(OneDrive) != "") && exists ($(OneDrive))
%elif defined (OneDriveCommerical) && ($(OneDriveCommercial) != "") && exists ($(OneDriveCommercial))
Couple of things you'll probably want to test:
I couldn't figure out how to do it in OneDrive so I used SharePoint to sync it to the local machine. I used SharePoint so I could control some read write access, have a central repository that is sync'd to the local user. A concern is that each user on a machine will have a copy.
%if defined $(USERPROFILE) && ($(USERPROFILE) != "") && exists ($(USERPROFILE))
_USTN_CUSTOM_CONFIGURATION = $(USERPROFILE)\SharePoint\BCE_Configuration/
_USTN_CUSTOM_CONFIGURATION = //$(server)/BCE_Configuration/