Select to view content in your preferred language

ExpressionMap Purpose and Processing

575
1
05-13-2022 01:33 AM
MarkJTurnbull
Regular Contributor

Hi ExB Gurus

Just wondering if someone can explain to me the intended use of the (IM)ExpressionMap interface (as opposed to (IM)Expression interface). I gather that the ExpressionMap is a collection of Expression objects, from what I have read, and the documentation states that you can pass an Expression or an ExpressionMap into the ExpressionResolverComponent. It appears that the ERC should return MultipleExpressionResolveResults when an ExpressionMap is passed in. The documentation does not have any details about MERR. I have tried to interogate the results passed into my onChange handler and I can't see how you can iterate over the MultipleExpressionResolveResults or get at the SingleExpressionResolveResult items, I can only see an exp property in the raw json.

Can anyone provide a sample of how to use the ERC with and ExpressionMap, preferably as a React class?

Any assistance is appreciated.

Mark

1 Reply
MarkJTurnbull
Regular Contributor

Anyone from the ExB Product team able to provide some advice?