+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Using GetDataItems with array of guid

Using GetDataItems with array of guid

1 posts, 0 answered
  1. Kiko
    Kiko avatar
    5 posts
    Registered:
    07 May 2012
    07 Jun
    Link to this post

    Hi,

    I am using GetDataItems filtering on a Guid field, like this:

    .GetDataItems("DynamicModuleType","Id.Equals('xxxx-xxxx-xxxx-xxxx')); And it works propperly.

    I need to filter on a Guid Array field...

    Can I do something like this?

    .GetDataItems("DynamicModuleType","ArrayIdField.Exists('xxxx-xxxx-xxxx-xxxx')); 

    OR

    .GetDataItems("DynamicModuleType","ArrayIdField.Contains('xxxx-xxxx-xxxx-xxxx')); 

    I do not want to use a Where clause because to do this I need to get all the registers and then filter.

1 posts, 0 answered