cancel
Showing results for 
Search instead for 
Did you mean: 

Fiori Elements - prefill Search via URL Parameter

rb
Active Participant
0 Kudos

Hi,

I have a fiori elements app (List/Object Page) based on CDS Odata V2.

I want to prefill the search parameter via url parameter like you can add filter based on entity attributes.

When i try to add the url parameter &search I get an error:

Log-dbg.js:456

2022-09-28 09:32:20.012800 Illegal new hash - cannot be parsed: 'ioribcjobmonitor-tile&search=TEST' - sap.ushell.renderers.fiori2.Shell.controller

Someone an idea without custom controller code?

Best regards

Richard

junwu
Active Contributor
0 Kudos

in my old memory, list report doesn't have that function built in. ovp has. I copied the code from ovp to list report in my custom controller

Accepted Solutions (0)

Answers (1)

Answers (1)

gregorw
Active Contributor
0 Kudos

You have to use ? instead of & for the first parameter after the Semantic Action.