admin管理员组

文章数量:1302287

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 badges
Add a comment  | 

1 Answer 1

Reset to default 1

This 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

本文标签: I can39t process an xlsx file after importing it via a blob attribute en Genexus 18Stack Overflow