18
Views
4
Comments
not able to display image with message
Discussion

Hi community,

I have been following this course   

https://learn.outsystems.com/training/journeys/front-end-developer-650/widgets-and-patterns-exercise/o11/1511

at the end After sending a few messages, including the images, I am not able to upload image.

here is the oml I have attached, plz help me so that i would display image

I have attched the oml bellow plz help

ChattingAlone.oml

Hello Sarah,

I checked the oml and you made one small error.

Inside the "SendOnClick" client action you have a if-statement to check if the "binaryFile = NullBinary()".

the connectors are the wrong way, now when you add a image the "SendImage" server action is not triggered but the refresh only.


Swapping the connectors should fix it (changing False flow to True flow)

Hope this helps.

hey can u fix it for me in the oml plz

Champion

Hi

I Made a change to the If branch and updated this for you

Thanks
Tousif Khan

ChattingAlone_updated.oml

thaks @Tousif Khan  and @mika for great help

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