Skip to content

HiddenClass schema property has no effect on Property Grid getContent #1451

Description

@Emi1yZhang

In OS+, we have several properties with HiddenClass from CoreCustomAttributes, they are used to tell UI components not to show it but we are still seeing it in property grid.

For example:

 <ECProperty propertyName="SurfaceTypeParkingLot" typeName="SurfaceType" category="LayoutParkingArea_ParkingGrading" displayLabel="Surface Type" description="Surface type or material for parking lot." >
  <ECCustomAttributes>
    <HiddenProperty xmlns="CoreCustomAttributes.01.00.03" />
    <Deprecated xmlns="CoreCustomAttributes.01.00.03">
      <Description>SurfaceTypeParkingLot is deprecated for LayoutParkingArea. </Description>
    </Deprecated>
  </ECCustomAttributes>
</ECProperty>

But still seeing Parking Island -> Type
Image

I saw there was a similar issue raise last year: #940, but seems like the fix is only for tree hierarchy. getData -> getContent for property grid is still returning those hidden classes.

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions