Greetings,
Anyone using the script sample from the user guide to add employee images to HR11?
I've created a copy of HR11 and have added the sample script to the form. I also added an image object to the main form named "image1". When I preview the form I simply get a url link at the top of the form and and a loading icon they never goes away.
Both sample functions, FORM_OnInit() and FORM_OnAfterTransaction(data) will fail. If I delete the OnInit() function, then the form loads but gets stuck on inquire when INQUIRE is performed.
this is the OnInit function from the user guide :

Is there perhaps an updated syntax for getFormElement?