I want to make sure our users are always told when a file they open is going to be upgraded to a new schema, but some of our client workspaces (and occasionally workset.cfg files outside of our control) turn off the prompts by setting CIVIL_UPGRADE_PROMPT_OFF=1
I'd like to prevent this variable from being set but you can't %lock an undefined variable to prevent from being set. Instead, if I set CIVIL_UPGRADE_PROMPT_OFF=0 and lock that, will it have the same effect as being undefined?
If you set CIVIL_UPGRADE_PROMPT_OFF=0 and lock, your files will automatically updated with no prompt and this variable must appear in your configuration variable list. But if you want to give the choice to upgrade or not then Don't set any variable (they must not appear in variables list in File>Settings>Configuration>Variables).
Below is the link of upgrade prompt and set up configuration variables.
From that link, it doesn't look as if there is any way to lock the prompt ON. You can only ensure no prompt/open read-only or no prompt/ upgrade automatically.
How do we lock the prompt ON so that users cannot disable it?I understand that if the variable is NOT defined, the prompt will be shown. But users, being who they are, may end up setting this variable at the user level, which is NOT desired behavior. How can we ensure that this variable STAYS undefined, regardless of what the user might try to do? As Kevin mentioned, we can %lock variables at higher levels so that user configurations have no effect, but there is no way to %lock a variable that hasn't been defined. We don't want it defined, we want it to stay undefined.
Power GeoPak 08.11.09.918Power InRoads 08.11.09.918OpenRoads Designer 2021 R2
An alternative may be to use an Autorun macro and have the line below to remove it for all users on start of their sessions:
I haven't found anyway to stop a variable being defined in the first instance unfortunately.
OpenRoads Designer 2022 R1 (10.11) | Microstation CE Update 17.2 | ProjectWise CE 3.4
Doesn’t the auto run macro run after the ORD upgrade prompt? So this would work for files opened with File…Open but not the first file opened?