You need to sign in to do that
Don't have an account?
Subhrajyoti Nath
validation
why we should use the validations for restricting the users based on thier profile name not based on their profile id ?
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
If we take that background context into consideration now, that is why hard coding IDs is a bad idea as the Profile ID will have a different value in your Sandbox vs. in your Production environment. This means that your validation will break once you've migrated it into Production.
All Answers
Hi Subhrajyoti Nath,
We hould not hard code any id it may ver from organisation to organisation that is why we should use Name in place of Id .
I think you ar ecleaar now .
Let me know if it helps !!
Thanks
Manoj
If we take that background context into consideration now, that is why hard coding IDs is a bad idea as the Profile ID will have a different value in your Sandbox vs. in your Production environment. This means that your validation will break once you've migrated it into Production.