function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
VijaySivakumarVijaySivakumar 

Create Test User Object for a customer portal Profile

Hi,

 

I need to create a test user object for a customer portal user. So i am creating a contact and attaching it with the User Object.

 

But this produces a MIXED_DML_OPERATION error. I learnt that this is because i am creating User after creating Contact. Also i have a trigger on the USER object.

 

Someone can help me to overcome this scenario?

 

Thanks

Vijay