Use custom syncing fields as People directory filters

The People category is a great tool for managing and sorting users across your intranet. When looking through the main navigation People directory, you can filter by Department, Location and Expertise by default. But you can add any number of other filters to this list as well, including custom syncing and profile fields. 

This will require your Salesforce System admin user, as we'll need to add a custom Salesforce syncing field in the backend (if this isn't already done). Once the Salesforce admin user creates the syncing field, the App manager can complete the rest of the steps. Here we'll walk through the steps to set up a custom field to use as a filter. 

For more information on setting up custom fields or People categories, check out the linked articles.

To get started be sure the custom field you want to add as a filter has already been created by the Salesforce system admin user. The link above on custom fields will walk you through those steps. 

Note:

Some fields in Simpplr are hard-coded and cannot be changed, like Expertise, Department, First and Last name, Hire date, Birthday, etc. If you'd like to title these fields something else, we recommend not using them and instead, using custom fields with your own label.

Now we need to:

  1. Head to Manage > Application > People > Profile fields to add our custom field as a User editable profile field. Scroll down and choose Add field. Find your Salesforce field from the dropdown list and select. Check the box for User editable.
    custom_field_as_people_flter_.gif
  2. Click Save.
    custom_field_as_people_filter_2.png

The key to making this field work as a filter is having the data filled in from the users. You as the Application manager can control this, but we recommend having your End users engage by filling out the profile field themselves. To do so:

  1. Click your user profile icon and head to Profile & settings > Edit profile & settings. Scroll down to Additional details and find your custom field. Make the appropriate selections as shown below. Then select Update
    custom_field_as_people_filter_3.gif

    Note:

    The field does not have to be a dropdown picklist. The custom field can be any type when created in Salesforce.

 

Now we need to:

  1. Head to Manage > Application > People > User syncing to add our field as a syncing field.
  2. Add your custom field to the syncing menu in Manage > Application > People > User syncing.
    Add_custom_field_for_filter_1.gif
  3. Now type in the field exactly how the API name of it is labeled in Salesforce. For example, in the image below, the custom field is Favorite music genre, but the API name is Favorite_music_genre__c. That is what you'll need to enter in the Field to sync field back in Simpplr.
    API_name_of_custom_field.png
  4. Enter the singular and plural versions of your field. Then ensure the checkbox is checked for Display filter on people listing for this field. Click Add.
    custom_field_as_people_filter_5.png
  5. From the main menu, click Save.
  6. Scroll up to the Setup tab and click. Then click Schedulers. Find the SchedulerBatchInsertPeopleRecords, click the arrow and choose Run now
  7. After a few minutes, the People filter will be available.
  8. Head to the People tab on the main navigation. Click Filters > Add another and select your custom field. As long as data has been filled out by your users, you should see the applicable selection(s) to choose from.
    custom_field_as_people_filter_6.gif
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

3 comments
  • Hi Matthew,

    We are trying to use custom fields for City and County as filters in our people directory. Trouble is, our source is not 100% reliable, so we're having to manufacture that and we don't yet have an automated means of keeping it updated. That will take some time so we were trying to do a one-time load to bridge the gap. This is something our users are asking for and we wanted to go ahead and make the data and fields available to them. We've gotten as far as creating the custom fields and even successfully loaded data. But because we don't yet have that means of keeping the data updated in our people data file, we need it to remain static. I thought I'd be able to simply remove those additional fields from the sync, but when I did that, it also removed the fields from the profiles and the filter. Is there any way to accomplish what I am describing, which in short is: execute a one-time load of City and County that we then exclude from the nightly sync but still have present on our user profiles and filter?

    0
    Comment actions Permalink
  • Hi Julie. So it sounds like you've created fields under User syncing and manually uploaded the data. But to not have it  overwritten, you removed the field, which eventually also removed the data.

    What you'll need to do in this case is create the field from the Profile fields menu instead, then update the data manually. This way it won't get overwritten during the nightly sync like syncing data would.

    0
    Comment actions Permalink
  • Thank you, Matthew. I followed the steps you suggested and was successful in getting those fields to populate on people's profiles. The piece I haven't been able to connect is adding it to the filter when it's not tied to our sync. So I think my followup question is whether I am able to use a custom field that is not currently syncing with our SSO as an attribute for a filter in our People Directory. 

    0
    Comment actions Permalink

Please sign in to leave a comment.

Articles in this section

See more