3 grammar, clarifying
source | link

VF Error Message How to modify a Visualforce error message

when i am updatingWhen I update a record from a details page i am gettingI get the error as

You do not have the level of access necessary to perform the operation you requested. Please contact the owner of the record or your administrator if access is necessary

But sameAnd when i am tryingI try to update the record from a Visualforce page it is giving the error as I get

Insufficient Privileges

I know both the error message ismessages are explaining the same.

But i problem but I want to display the same error message on VF as it is on Details page. Meansin both the place should give same error message.

Please commentplaces.

Regards, JP Mishra

VF Error Message

when i am updating a record from details page i am getting error as

You do not have the level of access necessary to perform the operation you requested. Please contact the owner of the record or your administrator if access is necessary

But same when i am trying to update the record from Visualforce page it is giving the error as

Insufficient Privileges

I know both the error message is explaining the same.

But i want to display the same error message on VF as it is on Details page. Means both the place should give same error message.

Please comment.

Regards, JP Mishra

How to modify a Visualforce error message

When I update a record from a details page I get the error

You do not have the level of access necessary to perform the operation you requested. Please contact the owner of the record or your administrator if access is necessary

And when I try to update the record from a Visualforce page I get

Insufficient Privileges

I know both the error messages are explaining the same problem but I want to display the same error message in both places.

2 improved formatting
source | link

when i am updating a record from details page i am getting error as "You do not have the level of access necessary to perform the operation you requested. Please contact the owner of the record or your administrator if access is necessary"

You do not have the level of access necessary to perform the operation you requested. Please contact the owner of the record or your administrator if access is necessary

But same when i am trying to update the record from Visualforce page it is giving the error as "Insufficient Privileges"

Insufficient Privileges

I know both the error message is explaining the same.

But i want to display the same error message on VF as it is on Details page. Means both the place should give same error message.

Please comment.

Regards, JP Mishra

when i am updating a record from details page i am getting error as "You do not have the level of access necessary to perform the operation you requested. Please contact the owner of the record or your administrator if access is necessary"

But same when i am trying to update the record from Visualforce page it is giving the error as "Insufficient Privileges"

I know both the error message is explaining the same.

But i want to display the same error message on VF as it is on Details page. Means both the place should give same error message.

Please comment.

Regards, JP Mishra

when i am updating a record from details page i am getting error as

You do not have the level of access necessary to perform the operation you requested. Please contact the owner of the record or your administrator if access is necessary

But same when i am trying to update the record from Visualforce page it is giving the error as

Insufficient Privileges

I know both the error message is explaining the same.

But i want to display the same error message on VF as it is on Details page. Means both the place should give same error message.

Please comment.

Regards, JP Mishra

1
source | link

VF Error Message

when i am updating a record from details page i am getting error as "You do not have the level of access necessary to perform the operation you requested. Please contact the owner of the record or your administrator if access is necessary"

But same when i am trying to update the record from Visualforce page it is giving the error as "Insufficient Privileges"

I know both the error message is explaining the same.

But i want to display the same error message on VF as it is on Details page. Means both the place should give same error message.

Please comment.

Regards, JP Mishra