0

We have a customer community user and want the user to be able to create a master-detail record for different kinds of objects. However, everytime we try to insert a new record we get the following error:

INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY, insufficient access rights on cross-reference id: []

I understand that this is an access issue to a field the user does not have access to but I have verified that the user has access to all the fields required. So I think it is because customer community or partner community user cannot create a master-detail record. Does anyone have any experience with this?

I found a similar issue that has been left unanswered Here.

  • does the user profile have create permission on the CRUD for the detail records ? – Rao Jun 23 '16 at 21:42
  • Yes. Full access to object, and fields and read access to the master. – Jorjani Jun 24 '16 at 1:27
  • This is definitely not connected to type of connection object has. Are the detail is one of standard objects? If trigger or workflow on insert from detail object is updating other fields / objects they should have access there as well. – Andrei.Z Jun 24 '16 at 2:24
  • There are no triggers or workflows. Standard objects cannot be a detail in a master detail relationship. – Jorjani Jun 24 '16 at 13:41
0

for Standard profiles you can not control CRUD permission. you can do: 1. Clone the standard profile. 2. Give permissions on the custom objects which are used in the community.

Try it!

Let me know if you need some more info.

| improve this answer | |
0

Master detail relationship has a setting that specifies what kind of access to master record can create, delete, edit detail records. The user with read only access can only do dml on detail records, if the setting is set to "read Only".enter image description here

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.