sachatrauwaen / OpenContent

Structured Content editing for DNN (Dotnetnuke)
46 stars 25 forks source link

OC5 Edit additional data url #196

Closed Timo-Breumelhof closed 1 year ago

Timo-Breumelhof commented 1 year ago

To allow editing without the DNN persona bar being visible (with an edit-role in the manifest), it would be nice if users could also edit additional data like categories. If the editUrl would be part of the model under Additional Data > field, this would allow creating an edit button per additional data type:

image

Timo-Breumelhof commented 1 year ago

ok sorry, was already implemented before..

![Uploading image.png…]()

Timo-Breumelhof commented 1 year ago

I can create a link like this:

{{#if Context.IsEditable}}

   <a href="{{AdditionalData.Context.Categories.EditUrl}}" title="Edit Categories" class="btn btn-primary btn-rounded">Edit Categories</a>

{{/if}}

But if I login with a user from the assigned editors role, I get this error when clicking the button: image

Timo-Breumelhof commented 1 year ago

Fixed in 05.00.04