OpenContent icon indicating copy to clipboard operation
OpenContent copied to clipboard

OC5 Edit additional data url

Open Timo-Breumelhof opened this issue 3 years ago • 2 comments
trafficstars

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 avatar Oct 31 '22 11:10 Timo-Breumelhof

ok sorry, was already implemented before..

Uploading image.png…

Timo-Breumelhof avatar Oct 31 '22 13:10 Timo-Breumelhof

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 avatar Nov 08 '22 13:11 Timo-Breumelhof

Fixed in 05.00.04

Timo-Breumelhof avatar Nov 21 '22 15:11 Timo-Breumelhof