the expression could not be parsed because of syntax error or because it uses undefined namespace prefix or unsupported function

Hi,

I am using the expression for filtering the dropdown in infopath 2010.

the expression contains 42 conditions.i need to add some more conditions.whenever i am trying to add more than 42 conditions .i am facing the below issue when i  publishing the infopath form to sharepoint 2010 list

"the expression could not be parsed because of syntax error or because it uses undefined namespace prefix or unsupported function "

and also find the issue screen shot and expression below

Issue screen shot

My current expression with 42 conditions:--

contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field4) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field103) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field104) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field105) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field106) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field253) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field111) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field145) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field146)and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field147) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field148) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field149) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field150) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field151) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field152) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field153) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field154)and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field112) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field155)and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field156) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field113) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field157) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field158) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field159) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field160) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field161) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field162)and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field163) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field164)and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field165) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field166)and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field167) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field168) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field169) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field170) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field171) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field172) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field173) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field174)and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field228) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field232) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field233)

Please suggest me to fix the issue urgent

September 3rd, 2015 1:19am

It was working fine with 42 conditions.if its exceeded more than 42 then i am facing this issue

Please suggest ASAP

Free Windows Admin Tool Kit Click here and download it now
September 3rd, 2015 1:25am

Hi,

I am using the expression for filtering the dropdown in infopath 2010.

the expression contains 42 conditions(working fine with 42 conditions).i need to add some more conditions.whenever i am trying to add more than 42 conditions .i am facing the below issue when i  publishing the infopath form to sharepoint 2010 list

"the expression could not be parsed because of syntax error or because it uses undefined namespace prefix or unsupported function "

and also find the issue screen shot and expression below

Issue screen shot

My current expression with 42 conditions:--

contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field4) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field103) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field104) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field105) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field106) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field253) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field111) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field145) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field146)and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field147) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field148) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field149) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field150) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field151) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field152) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field153) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field154)and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field112) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field155)and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field156) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field113) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field157) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field158) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field159) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field160) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field161) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field162)and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field163) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field164)and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field165) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field166)and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field167) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field168) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field169) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field170) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field171) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field172) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field173) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field174)and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field228) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field232) and contains(../d:ModelId, xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:field233)

Please suggest me to fix the issue urgent

September 3rd, 2015 1:28am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics