Image Container does not update after edit
Hi
I am building an app which uses an Image container. I can drag an image to the container and it loads and saves correctly.
Clicking on the image or using the Open in editor menu item opens the image in an editor and the usual tools are available to add shapes, comments etc to the image. However on closing the editor ( there does not seem to be a save & close option) the image in the container is not updated/refreshed to reflect the edits made.
Opening in the editor shows the annotations correctly so they are not being lost.
Any changes made using the crop tool are lost.
Am I missing something or is this a bug.
I have attached a simple app which demonstrates this behaviour.
Thanks for any assistance with this.
Regards
Chris
5 replies
-
I am able to duplicate the issues in the public cloud, so I would send an email to Ninox support.
-
I reported this to Ninox and got the following response:
Hello Chris,
we are aware of this behavior and it is intended.
Image annotations are saved, but the image container does not automatically refresh to reflect edits made in the editor.Best regards,
Rather disappointing!
-
It sounds like you might be running into a UI refresh issue where the front-end isn't catching the change made to the record. One trick that sometimes works in Ninox is to force a UI refresh by using a small script at the end of your edit trigger.
Try adding dialog("Success", "Image updated", ["OK"]) or even just a simple closeRecord() followed by an openRecord(this) to the button or trigger you're using. This usually forces the container to reload the actual file from the server. If it's still stuck, double-check that the file name isn't identical to the previous one; sometimes the cache thinks nothing has changed if the filename stays the same!
Content aside
- 3 days agoLast active
- 5Replies
- 51Views
-
3
Following
