+ 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