Export to Excel using stored procedure with parameter

hi, I have MS SQL stored procedure with one parameter as datasource. When using New page wizard, with Export excel option, generated code is as following

if i put parameter in front of query, red error lines are gone, but Export to Excel produces error page

it says "Page not found" with following URL
https://localhost:5001/export/fidelisbazaamon/pregledpolicas/excel(id=1,%20fileName='PregledPolicas')?$filter=true&$select=id_police,id_partnera,id_ponude,id_upita,osigurana_svota,premija,broj_police,pocetak_osiguranja,kraj_osiguranja,iznos_provizije,status,id_osiguravatelja,broj_ugovora

does anyone has an idea what could be wrong ?
thanks

Hi @pvukojev,

You are right, at the moment the export controller method is missing the parameter in the route template - we will fix it for our next update!