Skip to content

Can't Get Single Element Properties when using getElementProperties api #6619

Closed Answered by grigasp
guanhuaming asked this question in General
Discussion options

You must be logged in to vote

I rebased my branch on release/4.5.1 and the test still succeeds.

Now that I look at your initial post, I think the problem is this line:

this._presentationManager.rulesets().clear();

When a PresentationManager is created, it registers the rulesets it uses, including the "ElementProperties" one. Your call clears the registered rulesets list, so requesting content with "ElementProperties" ruleset ID results in no content.

Replies: 1 comment 7 replies

Comment options

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

@grigasp
Comment options

@guanhuaming
Comment options

@grigasp
Comment options

Answer selected by guanhuaming
@guanhuaming
Comment options

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