on 05-03-2014 9:49 AM
I think that if the item is extendable in the BO extension, you can add additional fields in the item node, and then add these additional fields in the search area using the extensebility explorer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello May T.
Maybe this is related to your question reg. the Overview nodes.
The QueryByElement which is created by the SDK for every node in the BODL is restricted to the elements of the actual node.
If you need elements form othe rnodes, e.g. from the sub-node Item, you call the Query Builder and define a query with all elements from the resp. nodes you need.
For this query you should be able to
- Access the elements evenof the sub node
- Define filtes for this elements
HTH,
Horst
Not very helpful, Horst, I have read it. I think it doesn't contain much about Advanced Filter for node item.
What I want to do is to search the database by every element in my BO including node elements.
Just to be clear for what I want.
element companyID:ID;
node product[0,n]{
element productID:ID;
}
Company Product
C1 P1
P2
P3
C2 P1
P4
C3 P1
P2
I can make the filter for the company id.
But I can't make the filter for the product id.
I want to get C1,C2,C3 when I search for the product id P1.
Regards,
May T.
Good morning May T.
Not one query for company and another one for products but only one for both.
Let's say your BO looks like this
After activation choose "Create Query" in the context menu for this BO (that's the Query Builder)
Follow the next steps and adapt them to your use case:
Step 1: Define the name and the parent of the query node
Step 2: Define the elements which can be used as query parameters
Step 3: Define which elements shall occur in the node. Only 1.1 relationship; therefore not the ProductIds
Finally activate the BO. Now it contains the Overview node with the query which in turn contains the company ID and the product ID (and the amount).
Use this query in your UI for the DefaultSet.
HTH,
Horst
Hello May T,
Is your /Root/DataList bound to the Overview node or the Root node of your BO?
In my test UI I bound it to the Overview node (so the result list is just the Overview node) and on selection of a line in this list I took the node ID of this line (which is the same as the real Root node ID) and triggered the BO Operation Read with this node ID.
HTH,
Horst
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.