We are setting up ORD using our states configuration files. The default location for the files is C:\IDOTCAD_ORD. I would like to move these to our cloud (OneDrive) to share and manage for our company. Below is a portion of the workspacesetup.cfg file. Towards the end there is a line # _USTN_WORKSETSROOT = $(MY_WORKSET_LOCATION)/. It looks like I can uncomment and change this line to the OneDrive directory, is that correct? I would like to use the same path for everyone, but OneDrive would require C:\user\username\OneDrive\...\IDOTCAD_ORD. Is there a way around the user\username?
ORD 2021 R2 Update 10 v 10.10.21.04
#============================================================================# Civil Organization Standard Location #============================================================================# Organization standards are base standards for a country or region or a# large asset owner such as a DOT. These standards should be the base that# provide most of the settings needed for OpenRoads Designer. Additional # company specific and project specific standards can be layered onto the# the Organizational standards using the WorkSpace and WorkSet respectively.## By default Organization standards are located at# \ProgramData\Bentley\OpenRoads Designer CE\Configuration\Organization-Civil\## The default location can be changed using the MY_CIVIL_ORGANIZATION_ROOT variable.# To redirect the entire configuration folder to a network location, uncomment the# MY_CIVIL_ORGANIZATION_ROOT line and replace the network path with the appropriate network path.## <<<< Make Changes Here >>>>#MY_CIVIL_ORGANIZATION_ROOT = c:/Configuration/Organization-Civil/
%if defined (MY_CIVIL_ORGANIZATION_ROOT) && exists ($(MY_CIVIL_ORGANIZATION_ROOT)) CIVIL_ORGANIZATION_ROOT = $(MY_CIVIL_ORGANIZATION_ROOT)%else CIVIL_ORGANIZATION_ROOT = $(_USTN_CONFIGURATION)Organization-Civil/%endif#----------------------------------------------------------------------------
#============================================================================# WorkSpace Standard Location#============================================================================# WorkSpace standards are extensions or overlays to an Organization standard.# A common use for WorkSpace standards is for company or client standards.# Organization + WorkSpace + WorkSet = OpenRoads Designer Environment## By default WorkSpace standards are located at# \ProgramData\Bentley\OpenRoads Designer CE\Configuration\WorkSpaces\## The default location can be changed using the _USTN_WORKSPACESROOT variable.# To redirect just the WorkSpace folder to a network location, uncomment the# following line and replace the network path with the appropriate network path.## <<<< Make Changes Here >>>>#MY_WORKSPACES_LOCATION = c:/Configuration/workSpaces/
%if defined (MY_WORKSPACES_LOCATION) && exists ($(MY_WORKSPACES_LOCATION)) _USTN_WORKSPACESROOT = $(MY_WORKSPACES_LOCATION)%endif#----------------------------------------------------------------------------
#============================================================================# WorkSet Standard Location#============================================================================# WorkSet standards are extensions or overlays to a WorkSpace standard.# A common use for WorkSet standards is for project specific standards and data.# Organization + WorkSpace + WorkSet = OpenRoads Designer Environment## By default WorkSets are children of WorkSpaces and are stored in# a sub folder of the WorkSpace. In other words, each WorkSpace has its# own set of WorkSets. The default location is a sub folder named WorkSets. For example,# \ProgramData\Bentley\OpenRoads Designer CE\Configuration\WorkSpaces\{workspace name}\WorkSets\## If the WorkSpace is redirected to the network using the MY_WORKSPACES_LOCATION# variable as described in the previous section, the WorkSet is automatically# redirected to that same network location and no changes are needed in this section.## If you choose to store the WorkSet in a different network location from# the WorkSpace standards, this section should be used. When WorkSets are# stored at a different network location than the WorkSpace, they are still# a child of the WorkSpace and they must still be organized with parent folders# named the same as the WorkSpace. These folders must be created manually.# Optionally the WorkSets could be stored in a separate folder from the WorkSpace# but be aware that this can cause users confusion because it is possible to create# new files in a WorkSet (project) using incorrect WorkSpace standards. To use this# optional method storing WorkSpaces and WorkSets in separate folders, uncomment the# _USTN_WORKSETSROOT = $(MY_WORKSET_LOCATION)/ line below and deleted or commented# out the line above it.## To redirect to a network location, uncomment the MY_WORKSET_LOCATION line and# replace the network path with your network path. This is the root path# where the WorkSets are located and does not include the required# WorkSpace folders that must be created manually.## <<<< Make Changes Here >>>>#MY_WORKSET_LOCATION = //MyNetwork/MyWorkSpaces/
%if defined (MY_WORKSET_LOCATION) && exists ($(MY_WORKSET_LOCATION)) _USTN_WORKSETSROOT = $(MY_WORKSET_LOCATION)$(_USTN_WORKSPACENAME)/# _USTN_WORKSETSROOT = $(MY_WORKSET_LOCATION)/%else _USTN_WORKSETSROOT = $(_USTN_WORKSPACEROOT)WorkSets/%endif
Robert,
You are aware there are three separate location variables you need to change? (Civil organization, workspace, workset) The headings in your post show you what to look for.
I'm not sure how it will work for your needs, but we use a startup script to sync the workspace files from a network location to each users local drive. Changes to the workspace are forced to the local drive including deleting obsolete files or resetting user-changed files.The same could be done for any other folder structure as long as there is write access to the target location.
If you choose to go with the user\username location, you might want to use this variable: %USERPROFILE%. For more info, see learn.microsoft.com/.../usmt-recognized-environment-variables
Jan Blaasse Yes I'm aware of this.
I currently have a script for when individuals log into the server, but we have individuals who work remotely and I'm attempting to find a way to sync their worksapce files. I was hoping to use OneDrive or SharePoint. I'll try the %USERPROFILE%.
Thank you for the information.
I would not hassle with OneDrive. The paths can be different for different users within the same organization. If you decide to forge ahead with OneDrive use the OneDrive variable, not %USERPROFILE%.
With OneDrive you have three Windows variables to work with: %OneDrive%, %OneDriveCommercial%, %OneDriveConsumer%.
Ideally the %OneDrive% variable will direct you to a common folder, using a common path below USERPROFILE, for everyone, but that is not always the case.
Rod WingSenior Systems Analyst