Custom attribute in EC Objects 2 (EC) and 3 (BIS) #95
-
I am aware of changes in custom attributes implementation in ECO2 and ECO3, but the linked page describe primarily technical aspects. I'd like to ask whether custom attributes defined in When thinking about EC Objects 2 features, what I am missing:
I am aware modeling concepts are different in former EC schemas and BIS world, so I welcome explanation how the same result can be reached in BIS (or why it's not necessary now ;-) Regards, Jan |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I found another custom attribute I use quite often :-)
I think the answer (correct mapping from ECO2 to ECO3) is Format class, used as ECCustomAttribute at related class. Is it right? |
Beta Was this translation helpful? Give feedback.
-
Hey @LabyrinthTechnology, the CoreCustomAttributes schema is not 100% fixed so if there is an idea or enhancement that is necessary/helpful and needs to be at that low of a level (rather than in BisCore or another Domain schema), it can definitely be added to future versions of the schema. With that being said, here's the idea for the new way to handle each of the CAs you brought up:
cc: @ColinKerr and @scsewall in case they have anything to add. |
Beta Was this translation helpful? Give feedback.
Hey @LabyrinthTechnology, the CoreCustomAttributes schema is not 100% fixed so if there is an idea or enhancement that is necessary/helpful and needs to be at that low of a level (rather than in BisCore or another Domain schema), it can definitely be added to future versions of the schema.
With that being said, here's the idea for the new way to handle each of the CAs you brought up:
DontShowNullProperties
- The idea is to use PresentationRules for this type of conditional display instead of putting it directly in the ECSchema with a custom attribute.ArrayBehaviorAttributes
- I believe this one is the same as above and the new place to do it is in PresentationRulesCategory
- Yes, this …