Skip to main content

#User Object0 discussing

I have a #Flow that updates a few fields on the #User Object when the User is deactivated. Is it possible to also create a #New Task record on the associated #Contact Record to show that the User was deactivated? I've tried calling a Subflow, using a Create Records, and using a Create Task action, but nothing is working. It might not be possible due to a Mixed DML issue?

4 answers
  1. Jan 29, 2024, 11:13 PM

    If it is a mixed DML issue, one possibility is to add an Asynchronous path to the Flow and perform the User DML in the "Immediately" branch and the Contact / Task DML in the "Asynch" branch.

0/9000

Data Sync is not working for User object.

 

In my org, Data sync is working as expected for #all the objects except User object. Till last week User object sync was working fine but I am not able to undersand what has changed suddenly.

 

Kindly provide your comment.

 

#Data Sync #Replication #User Object

2 comments
  1. Nov 9, 2021, 12:48 PM

    Its successful, only one user record is pulled. And that user record is of 'Integration User'. Don't understand what is happening...!

0/9000

In attempting to customize the User Profile page layout and Lightning Page, I've found that the User record Highlights Panel component does not behave as it does for every other object. 

 

User Profile page highlights seems to show only the photo, name, and the next three additional fields from the User compact layout. However, which fields it will allow to be shown here is inconsistent - there are certain fields that will appear in the hover for a lookup link, but not in the record page Highlights panel. Since there is no visibility to Field-level security for standard fields on the User object, it's a total guessing game which fields you will be able to display here.

 

I've been unable to find any documentation specifically about limitations/guidelines for customizing this object, but the Compact Layout Limitations and Considerations imply we should be able to see 7 fields. In my testing, I was only able to display 4 fields (5 counting the photo, which is not listed in the Compact layout list but always displayed in the Compact layout/Highlights panel).

 

Anyone found better documentation on this, or have any insight into User standard field visibility? 

#Lightning Record Page #Lightning App Builder #User Object #User Profile #Compact Page Layout #Field Level Permissions

2 answers
0/9000

How to assign permissions to the standard user for modifying the app properties???

 

So basically I have three apps I am working upon, these three are facilitator, trainer, trainee apps, so I am supposed to create the apps in such a way that without actually creating the facilitator, trainer, trainee objects for creating records I need to achieve it using user object (or custom user object for that matter). So how can i achieve that?? 

 

Thanks and Regards 

Hikki

0/9000

Hi,

I'm not able access the field LastLoginDate on user object  in screen flows. Is there any settings I need to enable or is it a limitation?

Thanks

2 comments
0/9000

Good morning, Admin Trailblazers,

 

I am trying to create a validation rule on the Account Object that will make the standard field entitled "Account Number" mandatory whenever an account record is created or modified by any user who works for a particular company. That is, we have two discrete operating companies under one org, and I would like to use the standard "Company" field on the User Object as a trigger for the validation rule. Whenever a user who works for "Allcan Distributors" creates or modifies an account record, I would like the validation rule to ensure that the "Account Number" field is populated.

 

Thus far, my efforts have been unsuccessful. Is there anyone out there who might be able to lend a hand? Thank you in advance.

 

Jordan Reil

4 comments
0/9000

I don't believe you can hide standard fields with FLS, what would be an example? Email and Title on User object for example

1 comment
  1. Jan 31, 2020, 3:49 PM
    You can hide standard fields using FLS, and you should do so, for the fields you are not using, since you can't delete them, but we don't want to clutter up the page layout for our users. A good example is on the account object, where we have fields like D-U-N-S Number, SIC Code, SIC Description which many companies are not using. We'll use FLS to hide them, so our users don't seem them (not on the page layout but also not in list views or reports, etc).
0/9000

Trying to complete the module in Customize Your Community> Personalize the Community Experience with Audience Targeting> Target Audiences Based on the User Object.

When I go to customize the audience by location I get the error in the Screen shot, it tells me to "To use Location, ask your Administrator for help. I am the Admin, it is a Trailhead module. Do I need to login some other way?

3 comments
  1. Jan 7, 2020, 8:08 PM

    Sales force says they have completed this case..but it still doesn't work

    Trying to complete a Community Cloud badge, Expand Your Reach with Communities>Personalize the Community Experience with Audience Targeting> Target Audiences Based on the User Object.

    I'm trying to create a target audience by location. and Yes, I opened a case with Salesforce, they say they got it to work but I still can't create an Audience by location. In the screenshot is the error msg I get "To use Location, ask your Salesforce administrator for Help." I am the admin and it has taken Salesforce over 5 days to get back to tell me they got it to work. Also, the person this case was assigned to work the night shift, I always get responses bw midnight and 5:30 am.

0/9000

Hi Thibault, I've just seen your post in the email signature thread. I understand how to create a rich text area for the user object, but where do I go to edit the text? I can't see a "user" tab in the main sales app, and this field doesn't seem to appear in the user settings?

1 comment
  1. Nov 20, 2019, 9:41 AM
    Aha, found it! Under setup --> Users --> Users --> Click on a user profile
0/9000