-
i use SimplePropertyGrid and can display the element property ,but i want select all elements property by the SnapshotDb in the end console. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
Can you please clarify your question? I don't understand what you're trying to achieve. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
The data provider interface on the frontend is specific to our React-based UI layer. The The data provider interface is not available on the backend - you have to use the Presentation API directly. An example of that could be this (a little outdated) gist: https://gist.github.com/grigasp/aa75511dc4137137b651f56676c27f87. Have a look at Additionally, you might find this sample useful: https://www.itwinjs.org/sample-showcase/?group=Viewer+Features&sample=property-formatting-sample&imodel=Retail+Building+Sample, especially the "3. Do it yourself" approach. |
Beta Was this translation helpful? Give feedback.
The data provider interface on the frontend is specific to our React-based UI layer. The
PresentationPropertyDataProvider
implementation uses thePresentation
API to retrieve the properties. As @pmconne already summarized, the presentation system collects properties of the element and its related elements and aspects.The data provider interface is not available on the backend - you have to use the Presentation API directly. An example of that could be this (a little outdated) gist: https://gist.github.com/grigasp/aa75511dc4137137b651f56676c27f87. Have a look at
listElementProperties
function there.Additionally, you might find this sample useful: https://www.itwinjs.org/sample-showcase/?…