Now what happening is, if I am creating activity using my plugin then we can delete it at any time. But my plugin is based on time. So, I need to restrict this deleting. I have 2 parameters as StartDateTime and CurrentDateTime . And what I want to do is, if StartDateTime <= CurrentDateTime then I don't want to allow to delete that activity.
Is it possible?
It will be great if we can hide the delete option.
Posted the same problem for edit...