Hallo Outsystems Developer and Community i am new on OutSystems still learning about this low code i want to askis it possible if Image have Null binary data? because i got an error "Error Executing Query"i think it because on my image, because i making Employee Directory on Training. i got error if user don't have image, if user have image the pop-up error did not showi was thinking using if statement
If(GetEmployee.List.Current.EmployeePicture.Picture <> NullBinary(), GetEmployee.List.Current.EmployeePicture.Picture, (get default image from outsystem))but i don't know how to get the default image
sorry for my bad english, and can anyone explain to me what to do, or any documentation that i can read about this. Thank you very much
Hi @Michael Michael,
When you go below you have one image folder from there you can select any image which is in outsystem like below in the screenshot i did:
Hope this will helps you!!!
Regards,
Rajat
Or for the document you have resource folder in the data tab there you can add any file and like below image you can call it in the expression:
This is the way for only if you have file inside your application.
Thank you @Rajat Agrawal for the information, i gonna try this for my learning.i find a way, i don't know this is the best practice or not but im using if on the widget tree.