Quickly, I do not see direct answers, so I thought I would ask. (Here is the same question asked on the microsoft social site , and it also remains unanswered)
If I have DisplayRule and ValueRule, how can I check for null? This proposed solution below does not seem to work (according to a related question):
<DisplayRule Id="new.incident.form.IsNotRelatedToY.DisplayRule"> <ValueRule Field="YId" Value="null" InvertResult="true" /> </DisplayRule>
Does it depend on the type of field? If so, I need it to work in two separate cases when YId is an entity reference, and also when YId is a string. I believe that "null" cannot work for a string, because "null" is a valid string.
Does anyone have a working example?
EDIT: It looks like the ValueRule documentation has nothing about itself.
source share