Is setting CIVIL_UPGRADE_PROMPT_OFF=0 the same as %undef it?

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?

Parents
  • Hello Kevin,

    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.

    https://communities.bentley.com/products/rail_design/w/rail_design__wiki/48595/upgrade-prompt

    Regards,

    Purva Lakde

  • 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.

    MaryB

    Power GeoPak 08.11.09.918
    Power InRoads 08.11.09.918
    OpenRoads Designer 2021 R2

        

Reply
  • 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.

    MaryB

    Power GeoPak 08.11.09.918
    Power InRoads 08.11.09.918
    OpenRoads Designer 2021 R2

        

Children
No Data