10
Views
2
Comments
Solved
[Draw Over Image] ImageBase64 from Entity
draw-over-image
Reactive icon
Forge asset by Toto
Application Type
Reactive

Hi,

Is there a way to get the “DrawOverImage” use a text base64 image from an entity record?

It only appears to accept text image if it is set as a Default Value. I have tried various ways of assigning a value from an entity record to the assigned variable (ImageBase64).

I have tried assigning it in an After Fetch, OnInitialize and a Data Action.

My goal is to have multiple text images saved in an entity be able to select an image, mark it up with the DrawOverImage, save it and retrieve it for other changes.

 Hope this makes sense and there is a solution.

Thanks,

Glenn

2019-01-07 16-04-16
Siya
 
MVP
Solution

@Glenn Southward : I noticed that there is no OnParameterChanged event handler in the DrawOverImage block. Currently, the drawing occurs when an image is selected and during the OnReady event. Please add an OnParameterChanged handler and call DrawOnImage from there. I think that should address your scenario.

UserImage.jpg
Glenn Southward

@Siya,

Thanks for you reply and instructions. I didn't think to actually modify the DrawOverImage block directly. Your instructions worked perfectly. Your assistance is greatly appreciated.

Regards,
Glenn

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.