on 10-17-2018 10:08 AM
Hi Expert,
I want search value in node with collection in business object.
Here my BO:
businessobject BusinessObject1 {
[Label("ID")] element TestID:ID;
[Label("Nama")] element TestName:LANGUAGEINDEPENDENT_SHORT_Name;
node Node1[0,n]{
[Label("Node ID")] element TestNodeID:ID;
[Label("Node Nama")] element TestNodeName:LANGUAGEINDEPENDENT_SHORT_Name;
}
action bSearch;
}
Here code action search:
import ABSL; var data:BusinessObject1.Node1; var coll=this.Node1; //coll.GetFirst().TestNodeID.Contains("2"); coll.Where(n => n.TestNodeID=="000000000000000000000000000000000000000000000000000000000002");
I want the result is:
TestNodeID TestNodeName
2 efgh
How can i filter value and show the collection without remove value collection.
Regards,
Machriza
Hi Tobias,
That's great.
Thanks for your suggestion.
Regards,
Machriza
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Tobias,
Thanks before for your response.
Yes,i want show value the line in the nodes with a parameters.for example,if i put parameter TestNodeId,value=2..how i can do it without i removed the value in the node (that i know about node..we only add or remove collection..there are nothing find class).If it is possible to do?
Regards,
Machriza
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.