Reputation: 167
Is it possible to convert a field from an interactive grid in a file browser?. I really need to upload the files according to the rows that a table has configured
select descripcion, alias
from documento_tipo dt
where requerido = 'S'
union all
select dt.descripcion, dt.alias
from documento_tipo_ramo dtr
join documento_tipo dt
on dtr.documento_tipo = dt.id
join cia_riesgo ramo
on dtr.ramo = ramo.id
join riesgo r
on ramo.riesgo = r.id
where r.id = :P15_ID
If you can't, is there any other solution?, thank you.
Upvotes: 1
Views: 2273
Reputation: 431
There is no option to add file browse in an IG. Please follow the below steps as a work around.
Create a Modal Dialog page (example: Page 2)
Create a Hidden item in the page. This is to hold your Primary Key value. (example: P2_ID).
Create a link column in your Interactive Grid. On click, the link must redirect to the modal page (page: 2). Pass the value of the primary key from the IG to the P2_ID Item. (Refer below screenshot).
Then follow the steps in the below link to save your uploaded file.
File browse Item uploading to BLOB column
Upvotes: 2