I know this might be a very rare case, but in this case, I only need to allow users to update an existing record without letting them to delete or create a new record.
Do you have any suggestion or can you think of any approach that I can implement to add that functionality?
go to vs umbraco->Views->components->propertyeditors->listview->listview.html
then in listview page
in div
{{(listViewAllowedTypes[0].id}}
<!-- Renders when it's only possible to create one specific document type for, which no blueprint exists-->
<div class="btn-group" ng-show="createAllowedButtonSingle &&
(
(listViewAllowedTypes[0].id!=2081)
)">
instead of 2081 write your document id
to get your document id write {{(listViewAllowedTypes[0].id}}
Disable Create and Delete
Hi
Is there any way to disable Create and Delete action and just to allow update?
Also is there any way to change the default view (basically filter the result based on a column value? for example all active members.
Thanks
Ali
Comment author was deleted
Filter yes, you can hook into the event model and update the query, there are some exampkes on the forum here,
Only update I don't think so, read only yes but it's read only or crud
Thanks Tim.
I know this might be a very rare case, but in this case, I only need to allow users to update an existing record without letting them to delete or create a new record.
Do you have any suggestion or can you think of any approach that I can implement to add that functionality?
Comment author was deleted
You can always fork and tweak or you could do some backoffice tweaking and just hide the options with some js/css logic...
Hi Tim,
Thanks, I ended up just removing the delete and create button from the UI. that should do the trick for now.
Cheers
Ali
go to vs umbraco->Views->components->propertyeditors->listview->listview.html then in listview page in div
instead of 2081 write your document id
to get your document id write
{{(listViewAllowedTypes[0].id}}
is working on a reply...