You need to sign in to do that
Don't have an account?
EarlatOnboard
How to prevent Customer Portal Users from deleting Related Content?
My question derives from working on a SFDC Customer Portal project for the business I work for. After configuring and setting up a Custom Profile, Custom Object, and Workspace permissions for Portal users, we found that when logged in as a Customer Portal user, the portal user is able to delete/remove related content from records created under the Custom object we configured. This Custom Object is permission to ONLY allow READ access to Customer Portal Profile Users. Does anyone have any ideas on how we can remove the delete button or prevent our portal users from deleting items from the "Related Content" section? Could this be a Bug?
Message Edited by EarlatOnboard on 11-07-2008 11:04 AM
Message Edited by EarlatOnboard on 11-07-2008 11:04 AM
Thanks for looking into this though,
Earl
Not sure if you're still having issues with this, but my organization wanted to prevent the deletion of any Contacts or Accounts and I spent some time looking to do this. You can remove the delete button from the view screen of the actual record but you are not able to remove it from the related lists section.
The way I got around this was by overriding the Delete button itself. Under the Buttons and Links section of the object page you can Override the delete button with a Visualforce Page. I created a dummy page using the standardController for that object (required for Override) that simply contains a header tag with the text "Deletion of Records is not Allowed". So whenever someone tried to delete a record it would display that message instead and perform no action.
Hope this helps.