locked
How to retrive the Null Value via plugin RRS feed

  • Question

  • Hi

    I have tried retriving the values through RetriveMultiple method via plugin. But when the attribute contains no value, then the code is displaying error.

    Can I retrive the null values through code?

    Suggestion?
    Sunday, July 19, 2009 11:53 PM

Answers

  • Null values items are not returned, so you cannot access their values. If its null there is nothing to get which is why the platform does not return them.

    You must use the Entity.Properties.Contains({property name}) method which returns a boolean to decide if its safe to access a property value or not.

    Cheers

    Steve

    Monday, July 20, 2009 12:52 AM