Questions tagged [user]
A person who uses the system, often more specifically a person with a user licence assigned.
623
questions
-1
votes
0
answers
26
views
How to create a pop-up in the user profile field?
When any User in Salesforce wants to be inactivated, I want to display an information message on the screen, how can I do this.
For example, when the user is inactivated, 'a' user inactivated ...
0
votes
0
answers
26
views
Upload user photo using REST API [duplicate]
I have a problem uploading a user's photo using the REST API. I follow the documentation
https://developer.salesforce.com/docs/atlas.en-us.chatterapi.meta/chatterapi/intro_input.htm#fileUploadExample ...
0
votes
0
answers
50
views
Asynchronously flow doesn't run
Hello,
I am working on a flow when an user is deactivated, I have to update some accounts depending criterias.
Because I update related records and because I update accounts after an user, I use a ...
0
votes
1
answer
206
views
MFA is needed starting Nov 12, 2023
On the 12th of November we will only be able to access Salesforce by confirming the verification through MFA, in our case we are doing it through Okta.
We have a total of 149 users, of which 136 are ...
0
votes
0
answers
61
views
Enabling Salesforce API Integration permission set issue
I added a new user for API integration purpose, i gave him Salesforce Integration licence and the default Salesforce API Only System Integrations profile (Following the principle of least privilege)
...
0
votes
1
answer
34
views
Creating a Network Member Record in a Screen Flow
We have an experience site available to the public. Anyone can submit a User Access Request (UAR) to gain access to the site and perform some tasks. The requests have to be vetted internally first, ...
1
vote
1
answer
81
views
Find all instances where someone is running user
I am trying to help someone remove all instances where a specific person has left the company is the running user in Salesforce. I would not consider myself a developer by any means, however this ...
1
vote
1
answer
603
views
Verify account link doesn't work and doesn't allow to login for every new org or every new user
Whenever I create a new Devhub trial org, or any kind of trial org, or even Developer Edition org, and follow Verify Account link, it redirects me to login page and doesn't allow to set my password or ...
-1
votes
1
answer
228
views
Issue sending email using flow and email template with merge fields
I have created an email template on User object as below:
Hello,
A user registered successfully with below details:
First Name: {!User.FirstName}
Last Name: {!User.LastName}
Email address: {!User....
-2
votes
1
answer
65
views
Given that I have a field containing a username, how do I use that to populate another field with the corresponding user's Id?
Given that I have a field containing a username, how do I use that to populate another field with the corresponding user's Id?
The field with the user name is filled from an outside program, the name ...
0
votes
0
answers
36
views
Problems with validation rules on Users
Been trying to set a validation rule on User Object where a field (Calendar_URL__c) becomes required for 2 specific profiles.
The validation rule doesn't get triggered, no error whatsoever.
here is ...
1
vote
0
answers
658
views
Record-Triggered Flow not running as the specified automated user
Screen-Flow: customer-facing webform executed in User Context as a Guest User. This Flow simply creates a Case.
Record-Triggered Flow: triggered when a Record is created, running other queries and ...
-2
votes
1
answer
110
views
Scope by User in marketing Cloud
I allow myself to contact you because I have a question concerning the setting of the scope by user.
When implementing Marketing Cloud, the By user scope was checked.
For technical reasons between ...
0
votes
1
answer
477
views
How to create Record-Triggered flow with scheduled paths for sending email alert to user if last login is >30 days
Looking to create a flow with 2 scheduled paths to 1) send an email to the user if they have not logged in for over 30 days 2) thereafter to send an email to the Admin if the user's login is over 35 ...
0
votes
1
answer
145
views
Update Portal Contact Account Id
In a experience site by self registration a user and a contact is created, an account (B) is also created but the contact is initally linked to a default Account (A) for new Users. After that I need ...
-1
votes
1
answer
57
views
Salesforce System Amin cloned profile
I cloned the System admin profile and realized it does not have the login as user option right beside a user's name. I created a delegated admin group and added the profile with the enable login ...
-2
votes
1
answer
45
views
When user email is changed copy it to Account
I have a requirement to copy the User email to the Account when it is changed, now the issue is when a portal user changes the email, it is not updated in the User until the user verifies by clicking ...
-1
votes
1
answer
1k
views
User Apex Error - List has no rows for assignment to SObject, I have added the exact error which am getting please go through it and help me
I have wrote below apex code, but its not working.
public without sharing class AP_FlowQuestionCtrl {
@AuraEnabled
public static QuestionInfo getQuestionRecord(
String ...
0
votes
0
answers
35
views
LWC /tab level adoption at user level
My customer is looking to track user's time spent on a LWC? They have a home page that has several tabs and those tabs have LWCs (mostly read only). They wants to track the time spent on each ...
0
votes
0
answers
93
views
Data Integration rules - Geocodes for Account - option does not exist
I am trying to get Geolocation (Latitude and Longitude) fields populated in the Org, but seem like Salesforce started retiring Data.com functionalites.
Most of URLs i found are dead and others does ...
0
votes
1
answer
84
views
Can we create a user in scratch and get its SFDX Auth URL in CI or change email of the default user?
We have a CI script which build a new beta package version out of the source code in SFDX format and when the package version is built, the new scratch org is created so that a previous release ...
0
votes
0
answers
20
views
Topic - which states have been activated within salesforce
Good day,
I am a loan officer who uses company provided access to salesforce for lead management and distribution. I am not a developer or administrator for the organization.
As a front-end user am I ...
-1
votes
2
answers
182
views
How can I create a list view for Opportunity object witch show only records created by users with specific roles?
How can I create a list view for Opportunity object that show only records created by users with specific roles? In particular, I need to create this list that show only records created by users who ...
0
votes
0
answers
162
views
Leads - default owner
I have a user that has recently left the company. this user has been deactivated in salesforce, But she is still being named the lead owner on all leads that are coming in from the web. I have checked ...
0
votes
1
answer
218
views
Salesforce does not show users in searches
it happens with all the users of the organization. When we search for a user or a queue, it does not show any results when they exist.
For example when I want to change a case owner, when searching ...
0
votes
1
answer
408
views
User Profile Pictures (FullPhotoUrl) not publicly accessible anymore
It is suddenly not possible for us to access the profile picture of a User (FullPhotoUrl) without being logged in. Trying to navigate to https://___.file.force.com/profilephoto/[ID]/F redirects me to ...
1
vote
1
answer
242
views
Mobile or Desktop User login
I did refer this link before posting the ask here
How do we determine the lightning component is requesting from Mobile device or a Desktop?
My Partner community license users access the experience ...
0
votes
1
answer
71
views
Change control access of custom objects for different users through apex
This is a generalized code of what I am trying to do.
TestNested__c[] myCustomObjList = [SELECT id, ownerId from TestNested__c];
String platformUserId = '005DP000007Yji5YAC';
String securityUserId = '...
0
votes
1
answer
432
views
Cannot get User's profile image to display in another object
I have a custom object named Student__c, which has a lookup Field User__c to User. I want to create a formula field Avatar__c in Student__c to get the User's profile image to display in this object.
I ...
0
votes
1
answer
120
views
Fields, Buttons, Custom Links and Mobile & lighting Actions are not visible on User page layout for edit
I am trying to create a section but the field itself is missing in page layout. Please see image below. Missing required options on the left side to edit the page. Please help.
0
votes
0
answers
39
views
How to retrieve logged in user's contact-->Account-->Parent-->custom field in validation rule. Is it possible?
I am using below formula to retrieve logged in user's contact's Account's Parent's field in validation rule. It is throwing error that Agency Queue does not exist.
Is it possible to derive this? ...
0
votes
0
answers
361
views
Lead Owner Change to User/queue are firing validation rules incorrectly
I have two validation rules
For lead owner change to 'user'
For lead owner change to 'queue'
Here, user validation rule is firing, even though I am changing the owner to queue. How to make system ...
0
votes
1
answer
551
views
Restrict User Access to Object by Field Value [duplicate]
Is there a way to restrict a user's access to a subset of objects by field value? Essentially I'm trying to create a profile that only has access to orders/accounts/contacts that have a boolean field ...
0
votes
1
answer
184
views
How to pass value from attribute lightning component to apex controller without apex
I have a component with an attribute. I try to pass the value to the controller without succes. How do I achieve this.
Aura component
<aura:attribute name="currentUser" type="...
0
votes
1
answer
2k
views
Getting user locale information in LWC
In Aura, we can get the user locale info by using $A.get("$Locale.langLocale"). What is the equivalent in LWC ? Searched in developer doc and in google, not able to find it. How to get the ...
1
vote
0
answers
264
views
Condition membership of experience site based on permission set for users created with createUser handler code
We have created handler code which works great for a community when the community is set to allow membership based on the profile that is also assigned by the handler code. We have a requirement ...
0
votes
0
answers
94
views
Users without 'Is Single Sign-On Enabled' checked flag are still able to log in via SSO
After thorough checking of users, I noticed that some of them, despite having no profile or permission set assigned with 'Is Single-Sign-On' flag enabled, are able to log in via SSO. What can be the ...
0
votes
0
answers
570
views
This error occurred: INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY: You do not have the necessary permissions to disable this portal user
I am trying to disable a customer portal user from partner community and I am getting the below error:
You do not have the necessary permissions to disable this portal user.
I have created a flow ...
1
vote
0
answers
192
views
assigning role to user in apex leading to an error
I am trying to assign role to a user which i created and thats when I am getting this error : First exception on row 0 with id 0051k000008ykexAAA; first error: INVALID_CROSS_REFERENCE_KEY, invalid ...
1
vote
0
answers
614
views
How to determine if a given User can view a given FeedItem
I'm using the query API to retrieve User and FeedItem objects.
I want to be able to determine which users can read/view which feed items.
FeedItem has Visibility property, but it doesn't help much. ...
1
vote
0
answers
132
views
Chatter Posts created from Apex not visible from Profile view
I am creating a chatter post (FeedItem) from a trigger on a custom object after update of that object. I want that post to be visible on the user's profile that I have specified in the ParentId.
The ...
1
vote
1
answer
164
views
INVALID_OR_NULL_FOR_RESTRICTED_PICKLIST in User.LanguageLocaleKey only from apex code
I'm having a problem creating an user in apex code. I am assigning the user the Catalan language, and it gives me an invalid value error.
10:03:28.1 (29921169)|VARIABLE_ASSIGNMENT|[2228]|this....
0
votes
0
answers
107
views
Tab not showing the data when changing user
I created a tabset with 3 tabs that hold the data of account, contact, lead, and I also created 2 users that both use Salesforce Platform user license.
It works perfectly fine as a system ...
1
vote
0
answers
500
views
Connected App authentication failure with newly refreshed sandbox
I have a connected app that uses the standard Username & Password+security token to auth. I have tested connecting to the app from a production org, sandbox and scratch org. They all work. This ...
1
vote
0
answers
497
views
Default Record Owner
I deactivated a user and removed him as a default record owner for the records created by the guest users, but still when a new community user is created(person account) the deactivated user is the ...
0
votes
1
answer
710
views
Creating Community User, You do not have the level of access necessary to perform the operation you requested
I am having a system administrator profile. I have enabled the Community Site and Created the new Profile CMS Portal under Customer Community User Licence.
From the contact object i am Enable Customer ...
0
votes
1
answer
125
views
Cannot create IsAccessible statement for User object
I'm trying to create this statement:
if(User.sObjectType.getDescribe().isAccessible()){
User userData=[SELECT id, Profile.Name FROM User WHERE id=:user.id];
return userData.Profile....
-1
votes
1
answer
817
views
Unable to see last login or the login history for some users [closed]
when i go to Setup----> users-----> i could see the list of users.
I could not see the last login date for some users and also the login history for them. Can i know the reason for it.
0
votes
1
answer
191
views
Delete every sObject record assigned to a user without specifying sObject
As far as I know this is not possible but, is there a way we can delete all records related to a User (without specifying its sObject) from Apex?
0
votes
1
answer
1k
views
Method does not exist or incorrect signature: void getUserName() from the type UserInfo
I dont know what is the problem. When I am trying to use UserInfo.getUserName() in my main org it doesnt work and gives me error like in title, but in another org it works perfectly. What can I do? So ...