cancel
Showing results for 
Search instead for 
Did you mean: 

Import images to item master data

pm_witmond
Participant
0 Kudos

Hi,

I've created 3 extra UDF's for displaying images

Because we have a lot of pictures we have to fill these udf's automatically.

But when I try :

oitm.UserFields.Fields.Item("U_Foto_1").Value  = filePaths[i];

oitm.update();

the system generates an error (value too long)

What am I doing wrong ?

Thanks,

Paul

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member241304
Active Participant
0 Kudos

Hi Witmond,

The length is exceeds,so change the length in UDF's and also change the version in your project or  in User-Defined Windows.

Former Member
0 Kudos

Hi Witmond,

PFA.....

Create Field type like that..

I hope it will work....

Thanks & Regards,

P.T.Sampath

pedro_magueija
Active Contributor
0 Kudos

Hi Paul,

Check the UDF length and the number of chars in your filePaths[i].

Seems like you might be trying to add a value that is simply too long for the field.


Best regards,

Pedro Magueija


View Pedro Magueija's profile on LinkedIn