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(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 7th, 2015 10:59am

I'll bet that it is just too long. You may need to re-structure your form so that it uses a lookup list or something similar. If you can give more detail about what you're trying to do we may be able to help. In addition you have what appears to be hundreds of fields, there are limits to the number of columns you can use.
Free Windows Admin Tool Kit Click here and download it now
September 7th, 2015 4:20pm

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

Other recent topics Other recent topics