Skip to main content
Hi,

I need to filter my XML field and am trying the below code, but it is not working. Could you please let me know how can i filter with XML field.

My filter code is:

oWorklistCriteria.AddFilterField(SourceCode.K2ROM.WCLogical.And, SourceCode.K2ROM.WCField.ProcessXml, _
"NoteItems", SourceCode.K2ROM.WCCompare.Like, ddlRequestNo.SelectedValue)

My XML looks like..

<Root>
<NoteDetails>
<Request No>1200</RequestNo>
......
</Root>

Thanks,
Senthil
I have solved this problem by using Datafield mapping with XML. And How can i Update the particular item in XML.

Am having the below XML format:

<Root>
<NoteDetails>
<ItemNo>SomeData</ValueNode1>
<Qty>SomeMoreData</ValueNode2>
<Price>EvenMoreData</ValueNode3>
<ItemNo>SomeData</ValueNode1>
<Qty>SomeMoreData</ValueNode2>
<Price>EvenMoreData</ValueNode3>
</NodeDetails>
</ParentNode>

How can I update the particular Qty for the second node by using K2ROM code?

Thanks.

Reply