URGENT: Self registering community users do not get Skuid User Licence

  • 1
  • Problem
  • Updated 2 years ago
  • Solved
Start by saying, I have enabled Skuid org defaults for licensing assignments as well as for community profile.

When creating users through the salesforce interface, everything works fine BUT...

I have a self registering page for my community and when users sign up through this, it creates all the right SF logins, permission sets etc.. but Skuid does not create a new user for them or assign them the Skuid page viewer permission set. Which means that once signed up they can't actually access anything!

Please I desperately need this fixed ASAP or help building a workaround of some sort!
Photo of Segolene Nicoloff

Segolene Nicoloff

  • 488 Points 250 badge 2x thumb
  • Desperate and Anxious

Posted 2 years ago

  • 1
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
Here is a stab...   Is there any Apex code included in that self registration process?   Is it manipulating standard objects (like contacts or accounts)? If this is so, the skuid License assignment will fail.  Salesforce does not let you manipulate both setup objects and standard objects in the same transaction. 

https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_dml_non_mix_sobjects.htm

You might have to adjust your Apex,  so that these two aspects of self registration are separated.  Here is some discussion on the developer forums that show a workaround. 

https://developer.salesforce.com/forums/?id=906F000000090nQIAQ



Photo of Segolene Nicoloff

Segolene Nicoloff

  • 488 Points 250 badge 2x thumb
Thanks Rob! really helpful, my developer is looking over it now!
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
Cool