We have a project in Genexus 15 web, c# where we upload an xlsx file and then process it to import that data and it works without problems. We migrated the project and the processes where we use blob type attributes to import data stopped working.
Can someone give us an idea if we have to modify something in Gx 18 to be able to migrate these processes?
&Archivo is an blob attribute &filepath is an varchar attribute
We have a project in Genexus 15 web, c# where we upload an xlsx file and then process it to import that data and it works without problems. We migrated the project and the processes where we use blob type attributes to import data stopped working.
Can someone give us an idea if we have to modify something in Gx 18 to be able to migrate these processes?
&Archivo is an blob attribute &filepath is an varchar attribute
Share asked Feb 10 at 16:44 Falchini Cesar AdolfoFalchini Cesar Adolfo 334 bronze badges1 Answer
Reset to default 1This is due to security improvements since GX 17 u4
Instead of :
&RDEP_XLS.Open(&filepath)
Try this:
&File.Source = &filepath //&File: File datatype, &FilePath: Blob datatype
&RDEP_XLS.Open(&File.GetURI()) //&RDEP_XLS: ExcelDocument datatype