You need to sign in to do that
Don't have an account?
CharlesOliveria
How to restrict updates of a field to Apex Program only?
We have a visualforce page and apex to handle configuration of our line items on an opportunity. How do we restrict updating of the line item fields to only allow update of these records by code? We don't want the users to update these fields manually.
We can't change the CRUD permissions to read only because they won't be able to update via the code.
Can this be accomplished with validation rules or triggers?
If you don't want user to edit field manually, just make that fields readonly from the pagelayout.
Best Regards,
Dayakar.D
All Answers
If you don't want user to edit field manually, just make that fields readonly from the pagelayout.
Best Regards,
Dayakar.D
and put some button to redirect to back.
Best Regards,
Dayakar.D