Questions tagged [user-record]

This Tag is used to group all queries related to Salesforce user Record

Filter by
Sorted by
Tagged with
0
votes
0answers
22 views

Use of ?noredirect=1&isuserentityoverride=1

Can you please explain me the use of setting noredirect=1 and isUserEntityOverride=1 and appending it to the url. I'm creating a custom link in Lightning which will open the user record. If I set ...
0
votes
1answer
31 views

Is it possible to create a user from one Org to another automatically?

I am trying to Create an Org to manage all of the user records for a POC. So from my POC org I have an Object called People (can also be the user record) and have a related list called Org Access (...
1
vote
1answer
42 views

Suppressing password generation when creating community user with API

I want to use the Salesforce API (REST or SOAP) to provision new Community Cloud Users. I have successfully invoked the API and created the user account, however the transaction automatically ...
0
votes
0answers
125 views

Process Builder Post to Chatter as Any User

Is there a way that upon editing/saving any user record that I can post to chatter as that user what his Profile is? Example: I, the System Admin Edit User 'John Doe'. ((I change John Doe to ...
2
votes
1answer
274 views

Documentation: Automated Process user/proxy user

I wanted to read more about the Automated Process user and what processes go through that user but I cannot find a salesforce's documentation page. Can somebody provide me with a link? I also read ...
0
votes
1answer
29 views

Allow access to a user-type custom object

I have a custom object called 'Advisor' and for every single record, I would like to allow authentication access for that one Advisor to log in and view their record and make changes. For example, ...
3
votes
1answer
32 views

Show View State checkbox on User record is missing

I have one client where the "Show View State in Development Mode" checkbox field is missing on the User detail screen, so I can't enable View State. The user has a full Salesforce license and is a ...
1
vote
2answers
239 views

soql query not retrieving user records for Community User

List<String> userIds = new List<String>(); for(Note n : notes) { userIds.add(n.CreatedById); } Map<String, User> userMap = SystemContextMethodsHelper.getUsers(userIds); ...
6
votes
2answers
728 views

Can community user query internal users of salesforce

I am running a trigger whenever a contact is edited. In trigger I am querying user [Select id from user] I am getting all the users when trigger in run in any internal user context. But when same ...
1
vote
0answers
21 views

Reassign Contact Associated to Community User [duplicate]

I am not finding a way to change the contact that the community user is associated to. I have tried the following: 1) Upload/Download via Data Loader - FAIL - Data Loader cannot see ContactId on ...
0
votes
1answer
21 views

date format and phone number format

I have a few user who complained that the date format and phone number format are the US ones. This is creating issues as the number of digits are not the same for phone numbers, and people may ...
1
vote
1answer
320 views

Show user profile image - third party site

I am using Salesforce REST API to pull in the user profile salesforce object into my external site. I wanted to be able to display things like about me, title, and image on my site. I get all of this ...
0
votes
1answer
79 views

Exception email alert cites a UserId that doesn't exist in my org

I wrote an apex service (called by my Account Trigger before insert and before update) that runs some complex validation , and it starts by querying for the user record of the running user since the ...
1
vote
1answer
94 views

System.CalloutException: You have uncommitted work pending error when creating testing user and testing callout

There are a lot of questions related to "System.CalloutException: You have uncommitted work pending" errors, but could not find solution for following use case: Basically, a static method in the test ...
1
vote
1answer
782 views

No such column 'ProfileId' on entity 'User' when try to do SOQL query using Community Plus User

I am trying to query User record information in Community by using Community Plus user but getting following error: No such column 'ProfileId' on entity 'User' Any idea what specific permission my ...
0
votes
0answers
675 views

SFDX: Create User with Salesforce License in Scratch Org

I'm trying to create a user in a scratch org through SF CLI using force:user:create and a user-def.json file. Here is a sample body request according to Salesforce documentation: { "Username": "...
0
votes
1answer
41 views

User Standard Controller populate output fields with logged in user details

Thanks anyone for listening. I have added a section to our User page layout consisting of 14 custom fields that are used to track sales performance (most use the DLRS app to roll up data from ...
0
votes
1answer
403 views

Api name for Mobile User field in User detail page

I need to turn off Mobile User flag on Users for some profile. I am not able find the Api name for that to execute that through script. Please let me know anyone has idea on that. Thanks in advance.
2
votes
0answers
256 views

How to enable community user to view/edit their Contact fields?

We need to enable community users to be able to edit their contact fields through My Profile. But it's showing only User details. To cater that I tried building a lightning component to read user Id ...
0
votes
1answer
45 views

Really Is not possible to delete User or any other option.?

I have created a community where any public user can self register. As a developer, I'm developing a different functionality for Self registration Page. Now I've to test self Registration ...
0
votes
1answer
362 views

How to get the user logged in in community page?

I need get the user id logged in a web page community site.com (not is a VisualForcePage) in this page I need the user id and others user's fields.
0
votes
2answers
39 views

Creating a new record out of a newly created user record

I have a custom object called Employee__c. Once I create a new User in Salesforce, a new and corresponding Employee__c record has to be automatically created in the system using the information from ...
1
vote
1answer
298 views

SOQL Query Like % Wild Card not working?

I am currently trying to do a SOQL query with a like using the % wildcard. According to the documentation: The % wildcard matches zero or more characters. This does not seem like it's working. ...
0
votes
2answers
13 views

How to use user custom field value in custom object field in filter in Reports?

I am Trying to create a report on Object__c, I have custom field(projectName__c) value on the current user. So while creating the reports, I am planning to filter like below:. Object__c....
0
votes
1answer
286 views

I can't deactivate a User

I hope any one can help me, I am trying to inactivate a user in Salesforce, and when I try to update the user unchecking the box Active, and I receive a email after 3 or 4 hours saying it can't ...
0
votes
1answer
698 views

Visualforce page saying Constructor is not visible

I am designing an empty VF page which has a controller which has a constructor which is being used to update values on user record but whenever I try to save the page it says Constructor is not ...
0
votes
1answer
28 views

validation rule while user creation in assigning appropriate profile

I would like to assign profile to the user based on domain name of the email.If the domain is other and the assigned profile is not matching when creating user. It should throw me error. For Example: ...
0
votes
0answers
26 views

Facing issue while editing record

i am trying to edit the record in one of the custom object, but i am getting error Insufficient Privileges. Profile having access to read,edit,create,view all .Please suggest what is the problems is ...
1
vote
2answers
1k views

Can't reference User.LanguageLocaleKey in Formula Field / Workflow / Validation rule

When creating a formula field whose value is dependant on the current user's language, I find that I can't reference User.LanguageLocaleKey For example, when trying to create a link to an image whose ...
0
votes
1answer
16 views

Organization Profile Newsletters

Organization Profile Settings - Newsletters The last I knew, you verified per User if they get any Newsletters. Today, I was notified some of our users are getting the non-Admin Newsletter, so I ...
1
vote
1answer
4k views

Assign role to user in Apex

I'm trying to assign a role to a user using Apex. Here my code: user.UserRole=[select UserRoleId from UserRole where Name='CEO'].UserRoleId; But the debugger give the error: illegal assignment ...
0
votes
0answers
252 views

No email notification when Username is changed for Community User

When I change the username of the Community user ( any community license) from user record page in SFDC , I don't see any email notification from salesforce sent to the user notifying of username ...
0
votes
1answer
84 views

Attach Files To A User Record

How would you go about allowing attaching Files to a User record (related list, preferably)? This is a new request I never previously considered. The only way I can think of is to create a simple ...
1
vote
1answer
118 views

View access to managerId field on User Object

According to this post he used to access the managerId field on user via a formula field, why we cannot access this field directly? Is there a permission to control the accessibility via permission-...
3
votes
0answers
106 views

How to set up a test user in a unit test that invokes a callout from a future method

I want to do the following in a unit test: Create a test user to invoke System.runAs with Update a case record and then invoke a future method that has a callout in it Check the result Turns out I ...
1
vote
1answer
284 views

How to change the record owner for newly created user in trigger

I am creating a new user depending on the existing contact record. Now i want to change the contact record owner to newly created user. below is my trigger. In userList i am getting the newly created ...
2
votes
2answers
2k views

create user in trigger of contact

Please help me as I am new to salesforce. i want to create a user record when a contact is inserted. Not all contact but contact which are being converted from lead. i have created a custom checkbox ...
1
vote
1answer
187 views

Chatter User List in Napili Community [closed]

I'm looking to see if I can add a user list in my Napili Community that lists Name and allows the user to follow them. Basically I'm looking for something like that "Chatter" > people sub-tab that ...
2
votes
2answers
1k views

Using {!User.FirstName} in Email template aiming for User object but return current user

I have an Email triggered on User object and want to say Dear User.FirstName something something. In the merge field for Email template, User.FirstName will only reference the current User's first ...
1
vote
0answers
33 views

Picklist look-up on non-active user or Chatter user

We are looking for a way to add a picklist to an object that will reference an inactive user, or a free license user, like Chatter Free. We have a group of users who really don't need access to ...
2
votes
3answers
4k views

Get dateformat based on Locale

i am trying to fetch the date format for the logged-in User in javascript on visualforce page. Usually I used to get this data by using: window.UserContext.dateFormat Expected Output should be: "...
0
votes
1answer
52 views

How to stop frozen user in lookup search window

How to stop frozen user in lookup search window. We have one requirement we need to stop displaying frozen user in lookup search layout . any help will be highly appreciated
12
votes
2answers
3k views

Deleting Users from Salesforce permanently

Its been quite while that a large number of Users were Deactivated and not need them anywhere in ORG. And the user list who were deactivated getting piled up to a heap now. Couple of users never ...
1
vote
2answers
488 views

What is the significance “Development Mode” on User Record details? [closed]

I can see a "Development Mode" flag for the User-Records under System Administrator profile and not able to see in other Profiles. I am using the DEV ORG. Can someone tell me the significance of this ...
3
votes
3answers
3k views

Can I assign Permission set to a profile instead of user?

I knew that Permission set can be assigned to User record. But just want to know the possibility of assigning the Permission set to a Profile instead of user. I saw some query related to this posted ...
0
votes
1answer
706 views

Allow users to update the Manager field on their user record

On the user record there is a field called "Manager". It is a standard user object field. I would like to give my users the permission to edit this field themselves, however in the field level ...
1
vote
0answers
94 views

What's a work-around for creating a master-detail relationship for Users?

I'm trying to create a user-centric schema and running into the limitations of the built-in user object. I need the following: Managers should see a list of all users assigned to them with a roll-up ...
0
votes
1answer
2k views

Can someone please tell me more about the 'Accessibility Mode' mentioned in User Record?

I was trying to create a Meeting request from salesforce calendar and receiving below error "This page isn't available because you're not using the Salesforce Classic 2010 user interface theme or ...
0
votes
1answer
23 views

Look up Filter Condition doesn't show record shared by other user

I have one account record and it has a field of picklist (Type) and value set to ("salesforce"). This Account Record is created and shared by admin to the roles(x,y,z) by Manual sharing rule. When i ...
2
votes
1answer
531 views

User.Username Field Accepts More Than 80 Characters?

The length of UserName field in the standard User object is 80 characters (ie. Text(80)). Recently in my production org, a User record was created with a Username more than 80 characters. Due to ...