Function: navigateAndSearch()
navigateAndSearch(
ui5,ui5Nav,vocabulary,appId,criteria,options?):Promise<IntentResult<void>>
Defined in: src/intents/core-wrappers.ts:501
Navigates to an SAP app, applies search criteria, then clicks the Go / Search button.
Parameters
ui5
UI5 interaction handler.
ui5Nav
Navigation API (structural sub-type of UI5NavigationAPI).
navigateToApp
vocabulary
Vocabulary lookup service.
appId
string
FLP semantic-object hash (e.g. 'PurchaseOrder-manage').
criteria
Readonly<Record<string, string>>
Key/value map of field label → search value.
options?
Optional intent options.
Returns
Promise<IntentResult<void>>
An IntentResult<void> describing the outcome.
Remarks
ui5Nav.navigateToApp() is called unless options.skipNavigation is true.
Fields in criteria are resolved via vocabulary.getFieldSelector() and filled.
The Go button is clicked to trigger the search.
Intent
Navigate to a list app and run a search with the given criteria.
Capability
Reusable across all SAP domain search intents.
Example
import { navigateAndSearch } from '#intents/core-wrappers.js';
await navigateAndSearch(ui5, ui5Nav, vocab, 'PurchaseOrder-manage', { Vendor: '100001' });