Skip to main content

Caml query after modifyiedmodified choices

I have a column with an internal name of: PublicY with 2 choices: Yes/No, the query works but if iI change the choice name to Ja/Nej the code will not query the results, why? I have tryiedtried to change the code to Ja/Nej also

        <Eq>";
        <FieldRef Name='PublicY' />";                           
        <Value Type='Choice'>YES</Value>";
        </Eq>";

Caml query after modifyied choices

I have a column with an internal name of: PublicY with 2 choices: Yes/No, the query works but if i change the choice name to Ja/Nej the code will not query the results, why? I have tryied to change the code to Ja/Nej also

        <Eq>";
        <FieldRef Name='PublicY' />";                           
        <Value Type='Choice'>YES</Value>";
        </Eq>";

Caml query after modified choices

I have a column with an internal name of: PublicY with 2 choices: Yes/No, the query works but if I change the choice name to Ja/Nej the code will not query the results, why? I have tried to change the code to Ja/Nej also

        <Eq>";
        <FieldRef Name='PublicY' />";                           
        <Value Type='Choice'>YES</Value>";
        </Eq>";
Source Link
kalle
  • 61
  • 3

Caml query after modifyied choices

I have a column with an internal name of: PublicY with 2 choices: Yes/No, the query works but if i change the choice name to Ja/Nej the code will not query the results, why? I have tryied to change the code to Ja/Nej also

        <Eq>";
        <FieldRef Name='PublicY' />";                           
        <Value Type='Choice'>YES</Value>";
        </Eq>";