Images in entity

0
dear community! I need your help. How to make an entity have an image field as an attribute? I need to attach images to a form.
asked
6 answers
1

Hi Christhian,
To attach a image create a entity and generalize to system.image as shown below


Then generate the overview pages, now you can able to upload image to your form

answered
0

Hi, Dhinesh Kumar R

 

Thank you so mucho for your answer,

 

I’ve created the entity, then added some attributes and generalize to system as shown bellow:

 

 

I need to store the images into an attribute, how can I do that?

answered
0

I need the image I’m going to upload to be stored in the Imagen attribute:

 

answered
0

Then I want to show the image in the data view, but I can’t:

 

answered
0

Hello,

 

In order to store the uploaded image in a  String attribute, you can try this:


You can use Base64 encode file java action from Community Commons module https://marketplace.mendix.com/link/component/170

This java action will converts an un-encoded file to a base 64-encoded string. Then store the returned result in a string attribute and set the String attribute length to Unlimited.

 

Hope it helps!
 

answered
0

Sorry, package version is not compatible

answered