Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7910663
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T12:56:58+00:00 2026-06-03T12:56:58+00:00

Quick one, I don’t see any direct answers out there so I thought I’d

  • 0

Quick one, I don’t see any direct answers out there so I thought I’d ask. (Here is the same question asked on the microsoft social site and it is unanswered as well)

If I have a DisplayRule and a ValueRule in that, how can I check for null? This suggested solution below apparently doesn’t work (according to the linked 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 seperate cases, when YId is an entity reference, and also when YId is a string. I figure “null” cannot work for a string, because “null” is a valid string.

Anyone have a working example?

EDIT: it looks like the ValueRule documentation has nothing on the subject.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T12:57:00+00:00Added an answer on June 3, 2026 at 12:57 pm

    Good question, but unfortunately I don’t think there’s any good answer here because I think it’s a bug. If you use "null" as the value for a string attribute in a ValueRule for an EnableRule, you’ll see that the button in fact becomes enabled (or disabled depending on what you set for InvertResult). It just doesn’t work for DisplayRules. (My best guess is they just put more effort into developing EnableRules instead of DisplayRules; as mentioned in your link, there’s no support for CustomRules for DisplayRules either, though it exists for EnableRules.)

    I’d file a bug report, but Microsoft Connect is still only accepting “suggestions” for Dynamics CRM.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hey guys, one more quick question for any experts out there. I have a
Just a quick one about installing a PHP website, are there any tools out
I have one question. I made quick search on the site, but don't found
Quick question, again, I'm sure this is ridiculously simple but I don't see what
Quick one; Netbeans 7.0 for PHP development: Is there any way to inform NetBeans
When this quick one hour project came up I never thought that 2 days
I'm writing a simple program to convert text to strings. One quick question, how
Quick question: One of my forms in my winform app (c#) makes an async
I really don't want to have to reinvent the wheel with this one. There
Here's a quick one. In my navigation.xml I have this type of structure. <faq>

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.