I have a VF page where the end user with a specific profile updates the case in that page.Others Edits in standard page.
The End user with a specific profile should not able to see the edit button when he views the record or edit link when it is searched from global search.
Solutions Tried not working:
1.This is happening due to edit permission in profile.If I remove EDIT PERMISSION he cant update through API.
2.I am overriding standard button with VF page for specific Profile. But the script is recursively loaded for that specific profile since edit link is called once again.
1.Is there any solution to hide the edit button, and allow access through API.
2.Can we Use VF page for one profile and standard edit page for another profile for edit button.
Please provide me solution for this issue.