I created an elaborate tree folder structure using the SystemAdmin account for a tenant and filled it with images. A tenant Admin account is then used to maintain the images/folders. In the full UI, the tenant admin can move images between folders without problem. An asterisk appears next to the base level folders, but not sub-folders.
When using an embedded custom UI part, and the tenant admin API key, the Move function does not allow for moving images between sub-folders. The expected behavior is that functionality should be consistent with that of the full UI.
Is this a glitch, or a misunderstanding on my behalf?
To clarify, I have also created a brand new group for the tenant administrator, and specifically gave that group Full Access permissions to the gallery, with “Allow subfolders to inherit permissions” ticked… That also didn’t work.
Thanks for the quick response. I think the direct link would be better to understand what’s going on.
[Link removed for security]
If you try to move any of these images to another folder, you will see that it lists the “EveryPage Gallery” as an option, with a sub-folder arrow beside it. That arrow is however inactive, even though there is clearly another 100+ sub folders under it.
Hi Huy,
I am very familiar with that page, so unfortunately it does not help.
Is there somewhere I can file this as a bug?
To be clear, the bug is that when using Razuna UI parts in an iframe, the Move functionality does not allow access to sub-folders at any time. The button to expand the folder tree is always inactive.
I think I have found something interesting though. Looking at the console in Chrome, as soon as the “Move file” window is displayed, the error
jquery.tree.min.js:1 Uncaught TypeError: $(…).live is not a function
comes up. So it points to a javascript error within the page logic. This is on a page where I am not actually embedding the UI part, this is just the UI part on its own, the way it would be embedded in an iframe - so it’s not like my page’s javascript is interfering with Razuna’s.
I obviously have no control over the javascript on the page, so I doubt it is something I am doing wrong.
Obviously, embedding any UI part with iframe has its limits. Cross-domain
security, javascript not working across domains, etc. Since your are
running Razuna locally you can work around these issues on your server.
That said, we will not support this functionality in the future as you can
use the API to rebuild just about every aspect in Razuna.
Well, we’re not really talking about any cross-domain security or related limitations. That’s not what’s going on here at all… We expect the Razuna UI part to be completely self-contained, with no scripted access to its parent window - it’s merely displayed in an iframe.
Not that it matters really, because if you’re not supporting this functionality in future releases, there is little point in fixing them now.