Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [user]

A person who uses the system, often more specifically a person with a user licence assigned.

Filter by
Sorted by
Tagged with
0
votes
1answer
14 views

Get field value User in Report on Custom object

Is it possible in Saleforce lighting to have a report on a custom object and get a field value from the user object without adding a formulafield on the custom object or is there a way to add the ...
1
vote
2answers
42 views

SOQL With Owner Fields cause Errors

I'm trying to receive some fields from Owner in a custom object. Some of the standard fields are retrieving perfectly and some throws me an error. Example: [SELECT Name, Fields__c,Field2__C Owner....
0
votes
2answers
43 views

How do I create a Community User in apex code?

I need to create a test class for a community user, so need to first create the user, then do my test as that user. I'm struggling to get the Account for the User though. What is wrong here? The last ...
0
votes
1answer
16 views

In test class can see all org users in list

I have written one query in test class for fetching users,as per my understanding query should return the user records created in test class only,but its giving all user from salesforce org.is that ...
0
votes
1answer
23 views

Customize global search

In the global search result shown in type ahead/auto complete search, how do I customize the field shown in second row. It generally shows, object type and one more field. For example, if I type for a ...
0
votes
1answer
9 views

Limit records based upon multiple criteria on object and user

I'm looking at limiting access to certain records such that should a record be assigned to a certain group of users (via some field on the object), only those users would be able see or edit those ...
1
vote
1answer
26 views

Not able to change case owner to current owner's manager using process builder

I need to be able to change case to current case owner's manager using standard manager ID field on User object. As shown in the screenshot below. I am getting following flow error every time flow ...
0
votes
1answer
24 views

Control On updation from UI or apex

can we Have acess or control in salesforce to control whether a particular updation should be From UI only or It should be through apex/process builder(backend)? I have One Field stage on an ...
0
votes
1answer
27 views

Automatically logging with some other user if open service console with system admin

System Admin is automatically logging with some other user when we a=try to open lighting service console. and getting error : "We're sorry to report that something has happened to your session. Log ...
1
vote
0answers
33 views

LWC: @wire No such column 'UserRoleId' on entity 'User'

I am getting this error when trying to do @wire for the current user. I assume that this is some sort of sharing issue. Is there a way to do something similar to without sharing for @wire so that I ...
0
votes
3answers
82 views

Field is not writeable: User.UserType

I'm trying to test a scheduled Apex class and I have a method that generates fakes users within my test class: List<User> newUsers = new List<User>(); Profile p = [ SELECT Id FROM ...
0
votes
0answers
20 views

I need specific users to be service cloud user

I wanted some users are service cloud users.One of the approach we found is to create a permission set with app permission**(Service Console (standard__LightningService))** as below but then i found ...
1
vote
1answer
25 views

User Object - Lastvieweddate & lastreferenceddate

Referring to the User object in particular, what exactly do the fields lastvieweddate and lastreferenceddate refer to? Is the lastvieweddate the last time the user viewed his/her own user information ...
0
votes
1answer
22 views

Visualforce User Lookup to fetch Partner users

I need to Lookup a Partner User from my VF page for which I leverage the Standard Salesforce lookup and use apex:inputField and point to Account.Owner field. Here is a trimmed version of my VF which ...
0
votes
1answer
21 views

How can I set a Dashboard to just Specific Users?

I was just asked by my Director of Sales to set a Specific Dashboard for him and one other user. The dashboard is created, but I cannot find a way to set it to their home. I found a way to do so in ...
0
votes
0answers
46 views

I CAN'T FIND user throwing error

We are getting the error below. It’s getting thrown after a batch process but what’s confusing to me is that I can’t locate the user that is throwing the error. When I copy and paste the user Id I ...
0
votes
1answer
21 views

how to enable view state checkbox for non salesforce admin profile

we have multiple user who's user licence is salesforce but profile is not system administration, profile's are different-different. i need to enable view state and development mode for particular user....
0
votes
1answer
43 views

System.SetPassword for setting Password does not work in APEX but works in Anonymous Execution

We are trying to create community users and contacts for our accounts through an apex class. In this class we use System.setPassword to set the password of the newly created users. We get no errors or ...
0
votes
0answers
17 views

Method returns incorrect current App Name for one User

I have a component that displays different input fields depending on which App the user is currently using. For some reason, we have one System Admin that gets 'Sales' returned as an AppName, ...
0
votes
1answer
55 views

User lookup in my custom object is not showing the list of users available .Unable to select users from the look up field

I have a custom object (case) with look up field(Assigne agent) on user , lookup filter ( asignee agent > profile>name equals system administrator). When I create a new case ,I'm not able to look up /...
0
votes
0answers
23 views

How can assign I Approval Requests to a queue when the original approver is away from office / on leave?

Two parts to this question: How can I notify the system when a Manager (Approver) is on leave? Once the system knows a Manager is on leave, how can Approval requests sent to that Manager be routed to ...
2
votes
2answers
180 views

User Vs. Connected App

I'm a little confused. I need to integrate an external platform with Salesforce to consume REST services. What is the difference between using an integration user with API permission rather than ...
0
votes
2answers
66 views

Can't create a new “system administrator” user

A few days ago I created a new "system administrator" user in this way: service setup - users - new user license: salesforce profile: system administrator But now I can't. I don't have the option "...
0
votes
1answer
48 views

Not able to update UserLogin object to lock user's password from flow

I am using update record component to update the IsPassword field on the UserLogin object. For that I am adding a condition to update the take the records based on Logged in user Id. i.e. UserId=...
1
vote
0answers
24 views

SFDX Scratch orgs are missing Chatter Plus/Chatter Only license

I need to create a user with "Chatter Plus/Chatter Only" license in my DX scratch org with this config: { "orgName": "Demo Company", "edition": "Developer", "features": [ "PersonAccounts", ...
1
vote
0answers
26 views

How to create users with a predefined LanguageLocaleKey and license?

I'm trying to create a user via /lightning/o/User/new , but LanguageLocaleKey is required and i can't access the field to be shown in the layout. Probably i'll need the License type too. I already ...
0
votes
1answer
33 views

Create a Customer Community User in Test to Login Connected Application

Please help out in any way possible with the below challenge; We have an application connected to salesforce which is logged in by our customers(accounts) through community users which are created ...
0
votes
2answers
23 views

Why does User lookup point to a random (disabled) user in the org when not specified?

We have a custom object MyCustomObject__c, which contains a lookup to the user reference. When we update this object by API, we might not set the value User__c, but Salesforce seems to be defaulting ...
0
votes
1answer
39 views

Create a Community User & Contact, then assign to an existing Account

I am a little bit new to salesforce & APEX AND need help with the following, I want to create bulk community users & then assign them to existing accounts through APEX code/classes (for ...
1
vote
1answer
48 views

“Mobile User” Extract or report

I am looking to pull a report/extract that says which users have the following checkbox marked as true. I have tried getting this data in multiple ways, but can't seem to find the object this field is ...
2
votes
2answers
43 views

Considering the Order of Execution, Can a Manually Entered Record through the UI ever be in a Queue Before Insert?

Background: I've been building a Lead round robin system to evenly distribute work. It checks for records owned by queues, and assigns them to the next user available in each queue. I opted to do a ...
4
votes
1answer
65 views

Is there any way to change definition of default user created for scratch org? [duplicate]

Is there any way to change definition of default user created for scratch org? I would like the default Administrator user to have properties UserPreferencesUserDebugModePref ...
0
votes
0answers
76 views

How can I validate a Password during the creation of a new User in Apex?

I would know if there is an Apex method to validate a Password during the creation of a new User in Apex. I found the method Site.validatePassword(user, password, confirmpassword) but it's available ...
2
votes
1answer
160 views

Sending email in sandbox post copy

When I refresh a sandbox I have a class that runs to fix some things like email addresses and custom settings. I've also been asked to email the developer the new org ID so that their testing ...
1
vote
1answer
33 views

Role hierarchy not having Partner Manager and Partner Executive Role

I created a user by convert lead to contact and then enabling the partner account and enabling the partner user. I was able to create the user but when I edit the user to select a different role I ...
0
votes
0answers
36 views

Community User not able to view 'Upload file' button and chatter access

We using community with 3 role setup. Created an Account with Four contact records. All four contacts are enabled as a community user. In that two users are assigned to customer Executive and another ...
0
votes
0answers
18 views

Create Salesforce Community User using Rest API [duplicate]

I am trying to figure out if it is possible to create a Salesforce Community User using the REST API. I would use a kind of Site.createPortalUser() method to create the Account, Contact and User in ...
0
votes
1answer
33 views

Given a list of user ids, how can I get these users profiles?

All I've been able to find is the method UserInfo.getProfileId() which will only get the logged in user's profile ID. I need to get the profile of a list of users.
1
vote
1answer
20 views

How to get the Email field in a SOQL query mapped from a custom Opportunity field?

I have custom field in the Opportunity object that is a Lookup and maps the Opportunity object to the User object. I'm trying to write a query that retrieves fields from the Opportunity, and also ...
0
votes
0answers
8 views

Profile Indicator(Image) next to User Name in Chatter

The Requirement is to display the image or icon next to the user's name in chatter indicating if he is the Employee or Manager or customer user with different icons Is it achievable in standard ...
0
votes
0answers
21 views

Check via apex if current ORG is on deployment [duplicate]

I have a class that update users on success but whenever our release team is doing a deployment on the org this action still retrieves success but doesn't make the update. Is there a way I can check ...
2
votes
0answers
40 views

What is the API Name for Accessibility Mode (Classic Only) in User Settings?

What is the API Name for Accessibility Mode (Classic Only) in User Settings? I want to this via data loading for all the users. How do I do that?
0
votes
1answer
249 views

Approvals - Let the submitter choose the approver manually

Does anyone know if there is a way of restricting which users show in the drop down list if you select this option? We have a client who has 70 users, but only 12 of those are approvers. I would ...
0
votes
0answers
44 views

Unable to update fields on community user record

I am trying to update a field on User record for community user but I am getting insufficient privilege error. I am able to update the same field on all the users except this one profile I don't have ...
0
votes
1answer
59 views

Salesforce Identity Connect - Change user license from Salesforce Platform to Identity

we've just installed Salesforce Identity Connect so that our users can connect to Salesforce using their Microsoft AD credentials. In the future, we are going to have 2 types of users : type 1 users,...
0
votes
2answers
52 views

Freezing and De-Activating a Salesforce Service Cloud User Account Through the REST API

I'm trying to use one of our existing enterprise user administration tools to also provision and manage Salesforce Service Cloud user accounts using the Salesforce API. I am able to provision a user ...
0
votes
0answers
170 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
143 views

How to prevent flow errors from being sent to my email address?

I did some consulting for a company a couple of years ago, and I set up some processes in Process Builder. Now it seems that they hired another consultant to customize other things, but sometimes I ...
1
vote
1answer
33 views

Refresh currently logged in user information

We have a fairly customized Salesforce Community, to say the least. We allow certain actions to take place, and some of those actions change the current user's profile from a lower level profile to a ...
0
votes
1answer
40 views

Does Salesforce or any third party maintain a list of which formulas work in list views?

I am looking for a list of formulas that work in list views. For example, you can set "last login" = LAST QUARTER on the user list view, which is very helpful for generating a list of users who have ...