I was working on a requirement few days back. Which involved deleting a bunch of ‘Actvity Records’ and creating history records somewhere else. Sounded simple enough and I thought just half hour and I should be back with my blog
But that was not to be
. I got stuck with the task for next 4 hrs. Reason, whenever I tried to delete the records I used to get the following error:
“You do not have the ability to delete records on this screen or view”
After a little R&D I was able to isolate the root cause of the problem. It was the User Propertes defined on the ‘Action Business Component’ that resulted in that error. But you can face this error if
- No Delete property is set to true for Applet,Business Component, MVL
- User Properties are defined on that BC which are resulting in making the record read only
So, I solved the problem by
- Creating a copy of ‘Action BC’
- Removing all the user properties defined
- Adding that BC in BO
- Then using that BC in script to delete the records
Hope this helps !!!!!!!!


2 Comments at "Error deleting Records - Root Cause?"
I doubt you’ll see any delete errors if the readonly property is set on Applet or Business Component. As it grey’s out the delete option itself.
Other option to overcome this error is to create a copy of the view and mark it as “Admin”… this will override all applet / BC user props and you don’t need any detailed configs…
Cheers,
-Beri
Hi RB,
I was talking about deleting record by scripting. Yes, the option is gryed out on UI but you can still try to delete it through scripting.
Yes, the Admin property you have mentioned can be one of the other option But again the only step that you will be able to skip is disabling of user properties.You will still have to add it in BO to make it work
. I have not tried it but will try … thanks for the suggestion.
Comment Now!