AnsweredAssumed Answered

How to dynamically obtain a variable's type?

Question asked by Dan Covaliu on Dec 5, 2014
Latest reply on Jan 29, 2015 by Dan Covaliu

Hi,

 

I'm using Blaze Advisor for .Net 6.10.1. I want to create a code template that allows the user to author a rule by picking a ruleset's local variable (I used SRL Entity Provider, with the ruleset parameter set) and then browse that variable's properties.codetemplate.png

I tried to use SRL Entity Type Provider, but it returns something only for value types (boolean, date, etc.).

valuetype.png

For reference types, i.e. Account, it doesn't return any value.

reftype.png

Maybe I'm not using the right Type Provider. Is there any way to accomplish my goal? Thank you!

Outcomes