Skip to main content

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
2 votes
2 answers
143 views

Test Class Passes, but Should Fail

I have code that is supposed to share a custom object record with a Customer Community Plus user when that user is created. This should happen in the after insert user trigger. Without using a future ...
Diego's user avatar
  • 525
0 votes
0 answers
28 views

Issue with Default Email Preference Settings During Salesforce User Creation

We're experiencing an issue during data migration in Salesforce. When creating new users, the fields EmailPreferenceAutoBCC and EmailPreferencesStayInTouchReminder are automatically set to true, even ...
adarsh maurya's user avatar
0 votes
1 answer
35 views

Business Hour Time zone should we have to change in every day light savings time

If timezone is changed in "Company Information" for a Salesforce Org (Org-Wide Time zone) in a particular Day Light Savings Time(Suppose November 3, 2024), then a particular Business Hour ...
vinesM's user avatar
  • 1
0 votes
0 answers
35 views

How to get a UsedLicences count for login-based Digital Experience licenses?

When I query the UserLicense object using: select Id, Name, Status, LicenseDefinitionKey, UsedLicenses, TotalLicenses from UserLicense where Id in ... I get this result: where the UsedLicences count ...
Keith C's user avatar
  • 136k
0 votes
1 answer
46 views

Strange error when deploying Experience Cloud Site related to user 8renmai?

We are receiving a strange error when deploying Experience Cloud Site Error <ExperienceCloudSiteName> Cannot find a user that matches any of the following usernames: <[email protected]>.<...
Patlatus's user avatar
  • 17.2k
0 votes
0 answers
34 views

What is the easiest way to update an LWC component on mobile user devices?

Whenever we have an update, currently we are pressing many buttons to clear the cache. Examples are: Clear Cache inside the SF app Reload Salesforce button Force stop in app info Clear cache in app ...
Z0q's user avatar
  • 91
0 votes
1 answer
34 views

Why do I receive a gack Ids Please include this ErrorId if you contact support: 1816650657-166082 (-1712909162) when quering UserFieldAccess?

When I try to check user field access for certain fields, I receive two different gack Id errors sf data query -q "SELECT Id, IsAccessible, IsUpdatable FROM UserFieldAccess WHERE DurableId = '...
Patlatus's user avatar
  • 17.2k
0 votes
1 answer
58 views

Deactivate user from the org

When I try to deactivate a user its showing like this, I already removed ownership in Lead, Opportunity , Account and Contact objects. I need propper steps to accomplish that. Please help
Pamoda Wijesinghe's user avatar
0 votes
0 answers
59 views

How to track Digital Experience invitations?

I'm working on some user interface to track whether users accept an invitation (a welcome email with a link) to a Digital Experience or not, and to present an option to re-send the invitation. Resend ...
Keith C's user avatar
  • 136k
-1 votes
1 answer
65 views

How partner users with same account are getting access to each other's records

I want to check how two partner users with the same account are getting access to each other's partner record. Owd of user object - private No sharing rules on user object. Also, when i query ...
Anonymous 's user avatar
1 vote
1 answer
291 views

Does Salesforce impose a limit on the number of user licenses (salesforce or salesforce platform) an organization can purchase?

Does Salesforce impose a limit on the number of user licenses (salesforce or salesforce platform) an organization can purchase? is there any fix number or there is no limit. Can we purchase a large ...
Shyam Garg's user avatar
0 votes
1 answer
45 views

Too many soql rows :101 for SOQL query on user object

I have an issue on running some functionality from the front end. while executing the user query, the system gives an error message Too Many SOQL rows:101. I have checked the code, it is not inside ...
SFDC LWC's user avatar
0 votes
0 answers
30 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 ...
Piotr W's user avatar
  • 11
0 votes
0 answers
413 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 ...
Oupat's user avatar
  • 733
0 votes
1 answer
240 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 ...
Mónica's user avatar
  • 17
0 votes
0 answers
234 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) ...
Bahaaeddine CHENNOUF's user avatar
0 votes
1 answer
130 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, ...
Miguel Diaz's user avatar
1 vote
1 answer
792 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 ...
Raquel R's user avatar
1 vote
1 answer
3k 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 ...
Patlatus's user avatar
  • 17.2k
-1 votes
1 answer
1k 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....
Jason Rickert's user avatar
-2 votes
1 answer
126 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 ...
marlies's user avatar
0 votes
0 answers
50 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 ...
JACOPO PARISI's user avatar
1 vote
0 answers
1k 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 ...
user162122's user avatar
-2 votes
1 answer
206 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 ...
JohnE's user avatar
  • 1
0 votes
1 answer
781 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 ...
AwesomeAdmin8's user avatar
0 votes
1 answer
300 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 ...
Juan Ge's user avatar
  • 13
-1 votes
1 answer
113 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 ...
Tomi's user avatar
  • 11
-2 votes
1 answer
75 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 ...
Anzar's user avatar
  • 954
-1 votes
1 answer
4k 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 ...
user130322's user avatar
0 votes
1 answer
136 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 ...
Patlatus's user avatar
  • 17.2k
-1 votes
2 answers
312 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 ...
Francesco's user avatar
0 votes
0 answers
311 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 ...
Ryan's user avatar
  • 1
0 votes
1 answer
724 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 ...
Jota's user avatar
  • 25
1 vote
1 answer
685 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 ...
Tim P.'s user avatar
  • 11
1 vote
1 answer
546 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 ...
MBM's user avatar
  • 129
0 votes
1 answer
96 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 = '...
AnxiousConcert's user avatar
0 votes
1 answer
645 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 ...
Tuấn Trần quốc's user avatar
0 votes
1 answer
148 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.
Nanda Merawade's user avatar
0 votes
0 answers
40 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? ...
user115525's user avatar
0 votes
0 answers
428 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 ...
user115525's user avatar
0 votes
1 answer
771 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 ...
user3609814's user avatar
0 votes
1 answer
219 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="...
Thomas's user avatar
  • 2,310
0 votes
1 answer
3k 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 ...
Sfdc_Spider's user avatar
1 vote
0 answers
278 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 ...
Jake Durell's user avatar
0 votes
0 answers
245 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 ...
Rechu's user avatar
  • 452
0 votes
0 answers
827 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 ...
Grace's user avatar
  • 5
1 vote
0 answers
321 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 ...
Donal Shijan's user avatar
2 votes
0 answers
950 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. ...
Mugen's user avatar
  • 121
1 vote
0 answers
154 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 ...
Jacob22's user avatar
  • 21
1 vote
1 answer
231 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....
BlueSac's user avatar
  • 25

1
2 3 4 5
13