-
Create new user from community while logged in as a Community User
I am trying to create a new user from community while logged in as a Community User. The logged in user first enters the list of fields (Like First Name, Last Name, Mobile Phone etc). On Clicking Next, first a contact is created (The newly created Contact is assigned the Account of logged in user and Owner of Account will also be the owner of the newly created Contact).
Next, a user record will be created. The contactId of user will be Id of newly created contact.
However, I am having two issues here:
While assigning AccountId and Account OwnerId, I am having insufficient cross reference id. The logged in user profile has access to the Account fields and read access to the record as well.For creating user, the ProfileId of the new user should be ProfileID of logged in user. But I am not able to pass it because the logged in user doesn't have access to profile Id.Please let me know if I am missing any permissions. The logged in user's license is a Customer Community plus license.
Log In to reply.
Popular Salesforce Blogs
How to enable Custom Notification using Apex?
What is a Custom Notification? A custom notification can be a custom notification within your Salesforce org. You can use this feature to send notifications…
What is Salesforce Customer Portal?
Before we start with the Salesforce customer portal, let’s explore all the types of Salesforce portals, their differences, and their use case. Types of Salesforce…
Popular Salesforce Videos
Case Escalation In Salesforce | Salesforce Development Tutorial
Case Escalation in Salesforce. This video will cover the following points - 1. Case escalation Get a brief introduction about case escalation. 2. Configuration Take…
Salesforce Integration: How to Do it the Best Way?
Once you deploy Salesforce solutions to improve the operation of your enterprise, your next logical step is to enhance the overall functionalities by integrating Salesforce…
Introduction To Salesforce Integration
This video is about a basic intro to Salesforce Integration What is integration? Types Of integration Benefits of Salesforce integration Best Practices for successful integration…
Popular Salesforce Infographics
5 Essential Skills for Salesforce Developers
Calling all aspiring Salesforce developers! Conquer the platform with these 5 must-have skills: ✅ Expertise ✅ Coding chops ✅ Problem-solving power ✅ Teamwork & communication…
Top Benefits of Integrating Salesforce and NetSuite
Salesforce, on the one hand, is the world’s number cloud-based CRM. NetSuite, on the other hand, is one of the best ERP systems. And when…
10 Must Know Salesforce Stats
It’s no secret that Salesforce have been named number #1 most innovative company in the world 3 times over. We have summed up some of the key…