Your question has been submitted and is awaiting moderation.
Thank you for reporting this content, moderators have been notified of your submission.
I have templates to display records and from here, the end-users can add/edit/delete said records.
But, when there aren't any records, I have the NoItemsTemplate configure to let the end-users that there aren't any records. And within this, I added an xmod:addbutton so records can be added.
The issue is that with this configuration, the new button is shown to everyone, not just the administrators, etc.
I tried adding a Panel with ShowRoles="Administrators", but even then, the button is being displayed.
Any ideas on how to hide this button?
Thanks..