Skip to content

how to filter out the itemtype properties information from multiple element properties #6620

Answered by grigasp
guanhuaming asked this question in General
Discussion options

You must be logged in to vote

Filtering out the information after you get the result is:

  1. inefficient,
  2. problematic, since the result doesn't contain metadata, which makes it impossible to identify what to remove (unless there's something you can trust to always stay the same, e.g. the category name).

The most efficient way would be to tell the Presentation system to not load those properties at all. However, the intention of getElementProperties API was to make it as simple as possible to retrieve properties displayed in the property grid, so it doesn't have this customization option. For that you would need to:

  1. Find out where the properties come from. The BisCore supplemental ruleset defines a number of ContentMod…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@guanhuaming
Comment options

@grigasp
Comment options

@guanhuaming
Comment options

@grigasp
Comment options

Answer selected by guanhuaming
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants