Quantcast
Channel: SCN : Discussion List - BOPF Application Framework
Viewing all articles
Browse latest Browse all 249

Call BO query dynamically from FBI

$
0
0

Hi Experts!

 

I'm trying to implement a search and result list in a FBI application in order to add elements to a subnode "ITEMS" of my BO. The idea is that users get to select multiple lines of the search result and add them to the "ITEMS" node with one click.

 

So I need a search uibb, a search result list and a list for selected items. And I also need a Master Data Object (wrapper BO) with a query to feed the search uibb. (This is not a problem)

 

The biggest challenge is however that one or more properties from the "ITEMS" parent node must be propagated to the selection criteria of the query. For example, if the parent node is of node category car and the fixed property from the parent node is "make = BMW", then the query of the search uibb must have this criteria in its selection parameters.

 

> Any ideas how I can make this fixed property of my BO available to the query located in the Master Data Object? (The fixed property of the parent node is unfortunatelly also transient at the time of query execution).

 

> Would it in this case be an option to create a query on my "ITEMS" subnode? (instead of using the Master Data Object approach)?

 

 

 

Last, the parent node also has node categories: when car, the result list would have different fields then when bike. And of course, the query would need to be different too ( on a different db table / md object ).

 

> For this I thought to use CBA (FPM context based adaptation) since there would not be too many node categories. Any thoughts / other recommendations?

 

EDIT: I noticed the FBI exit class can also be useful for the last question..

 

Many thanks in advance!!

 

Kind regards,

Bjorn


Viewing all articles
Browse latest Browse all 249

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>