Can a business component delay getting data?
We have a view where the user doesn't need to see all the data at once, most applets are collapsed or hidden. Once they provoke an action, like expanding the applet, then the data needs to be shown.
We have tried making a business component not query by putting return(CancelOperation) on the query method via eScript for an example but this caused an error: User chose to interrupt the subsequent operations on Object BusComp [Name here] by returning CancelOperation in event BusComp_PreQuery. If this is not your intended behavior, please check your return statement in script.(SBL-EXL-00145)
Does anyone have an idea on how to delay getting a query on a business component? We thought of making the business component query something silly like [Id] = 'x' in order for it not to do much initially, but this view has 20+ applets. The queries for indexed fields might come back fast, but Siebel has to do those queries on every single applet before displaying the view to the user. We'd rather the business component just not query until told to via script somehow.