This topic contains 1 reply, has 2 voices, and was last updated by Mike Kudelya 7 years, 7 months ago.
- Topic
Hi guys,
I’m trying to do an CRUD but deleting does not work. I have tried many ways.
This is my datagrid.yml file:1234567891011121314151617181920212223242526272829303132333435properties:id: ~view_link:type: urlroute: b2_b_customer_importer_b2_b_customer_importer_viewparams: [ id ]update_link:type: urlroute: b2_b_customer_importer_b2_b_customer_importer_updateparams: [ id ]delete_link:type: urlroute: b2bcustomer_api_delete_b2b_customerparams:- idactions:view:type: navigatelabel: oro.grid.action.viewicon: eye-openlink: view_linkrowAction: trueupdate:type: navigatelabel: oro.grid.action.updateicon: editlink: update_linkdelete:type: deletelabel: oro.grid.action.deleteicon: trashlink: delete_link#acl_resource: b2bcustomerimporter_b2bcustomerimporter_deleteWith this file, I retrieved an error “You have no permission to perform this action”, when I uncomment this line:
1acl_resource: b2bcustomerimporter_b2bcustomerimporter_deleteand add acl.yml file:
1234b2bcustomerimporter_b2bcustomerimporter_delete:type: entityclass: B2BCustomerImporterB2BCustomerImporterBundle:Agencypermission: DELETEThe delete button disapeared.
Another problem, when I try to use sapCode (an unique property of entity) instead of id (line after properties) the delete button does not work correctly, the entity disappeared for a second and appears again. Some one can tell me why? Thanks a lots.
The forum ‘OroCRM’ is closed to new topics and replies.