How to avoid "Property value is not valid" warning while editing ECExpressions


Applies To 
Product(s):Bentley Class Editor
Version(s):08.11.09.XXX (SS5) | 08.11.11.XXX (SS6)
Environment: Windows 7/8.1/10 (64 bit)
Area: Class Editor
Subarea: Schema Editing
Original Author:Kestutis Mitkus, Bentley Product Advantage Group

Overview

To edit Desired Properties ECExpression in schema through Bentley Class Editor..

Problem Description

When editing ECExpression value in required class property, software sometimes prompts warning about wrong value and rejects saving.

Steps to Resolve

  1. Open schema in Bentley Class Editor and start ECExpression editing in required Classes property
  2. Select on any other property
  3. Select edited property again. All changes will be approved and saving will be allowed.

    In this example a ECEXpression of NAME property was edited, then after editing, other property selected and then all changes saved. If any other field, inside the same property, will be selected, then this warning might start to popup.



If you already are getting this warning and you can't do any changes, then click cancel. It will return for you earlier ECExpresion value.

  1. Save all schema changes
  2. Select on any other property
  3. Select required property again
  4. Paste or write required ECExpression value


    In this example schema was saved, other property selected, then NAME property selected again and ECExpression editing started.

  5. Select any other property again.
  6. Select edited property again
  7. Now you should not get any warning and you should be able to save all changes


    In this example after editing ECExpression other property was selected, then NAME property selected again and saving was allowed with no issues.

After each ECExpression editing, any other property should be selected first and then changes will be approved and you will be able to save them.

Still a Problem?

If above problem still persist, then please create a Service Request and contact Bentley Product Advantage group along with the list of all relevant details to get in depth analysis and for possible solution or workarounds. 

See Also

communities.bentley.com/.../31216.fundamentals-basics-of-class-editor-schemas

 Comments or Corrections?

Bentley's Product Advantage Group requests that you please confine any comments you have on this Wiki entry to this Comments or Corrections?" section. THANK YOU!