Hi,
I would like to download file (Entity with Blob field) via API download page. I’ve a simple entity with fields FileName, FileSize, AppVersion, Data(blob field). I’ve created Datastructure with All fields and then I created API File download page with that Datastructure and FileNameField
as FileName and ContentField
as Data. MimeType is ?
. When I try to get the file via browser, there is http error 404 not found
thrown.
I tried to debug it with log4net logger Origam.Server.Pages
where I can see only one row :
2024-10-01 13:42:01,475 [20] DEBUG Origam.Server.Pages.UserApiProcessor - Resolving page /api/public/aplikace
Then I tried logger Origam.DA.Service.AbstractSqlDataService
, if there is any query to database and it is empty. (It doesn’t matter if it’s with or without a Datastructure Method
selected). If I test the SQL query generated on Datastrusture Filter from Architect, it shows the data as expected.
What am I doing wrong?
Origam version is 2024.7.0.3446.
Thank you for any advice !!!