More in this section
Forums / Developing with Sitefinity / Using GetDataItems with array of guid

Using GetDataItems with array of guid

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
1 posts, 0 answered
  1. Kiko
    Kiko avatar
    5 posts
    Registered:
    07 May 2012
    07 Jun 2016
    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