In a SharePoint list I have a column, created using a custom content type. Let's say, the content types is "MyContentType". I used in a column "My Custom Column".
Need to filter out items if the "My Custom Column" columns value is not null.
But, There are many lists in the site where column name might differ. The program requires to query many lists, in which the column name might differ, so i can't build the query based on column name, instead make use of the Content type name. Can this be achieved using a CAML query alone.