We have a requirement where we use External IDs in Salesforce Custom Object.
Ideally, we wanted to make this External ID field to be :
1. Read Only.
2. Required.
But i don't see why Salesforce does not allow us to do this. Salesforce allows us to do only one thing at a time.
Based on my Understanding, If We have a required field in Object, It needs to be added in the Page Layout. When we try to make it as ReadOnly field, Salesforce does not allow us to do. But we don't want the users to edit the External IDs. This seems to be a huge Problem for us.
Why do i think this Requirement/Use Case Valid? :
New Records are created by Integration APIs. So once created ,with Unique external ID, we don't want the users to edit External IDs.
Other than Validation Rule, Is there any other solution any one could think of? Our Client does not accept Validation Rule as a Solution.