You need to sign in to do that
Don't have an account?

Overriding a link using s-control
Hi,
I have a requirement where i need to override a link. The 'del' link present in Attachements tab in case page layout should be overridden. I have done a similar kind of requirement for Buttons but i dont know how to override a link.My requirement is a user should not be able to delete an attachement. When he tries to delete a message should be displayed. This can be done using s-controls. This 'del' link should be overridden with this s-control. Please help.
Message Edited by iqbal on 12-17-2007 05:05 PM
I have a requirement where i need to override a link. The 'del' link present in Attachements tab in case page layout should be overridden. I have done a similar kind of requirement for Buttons but i dont know how to override a link.My requirement is a user should not be able to delete an attachement. When he tries to delete a message should be displayed. This can be done using s-controls. This 'del' link should be overridden with this s-control. Please help.
Message Edited by iqbal on 12-17-2007 05:05 PM
You cannot override the "Del" link on the attachments related list. Editing of notes & attachments are based on the permissions of the user accessing the record to which the notes/attachments are related. So if your user has the authority to edit the record (Case) they will also have the authority to delete the attachment.
To remedy this I suggest removing the notes & attachments related list from the page layout of the users in question. If it is not visible on the page it cannot be deleted. You could then create a custom link on the case detail page where they could view the attachments in an sControl.
It's an odd work-around but could help,
-greg