Friday, April 23, 2021

Customize the profile card in win32 apps using registry keys

As an admin, you can replace some labels on the Contact section of the profile card in Office 2013 and Office 2016, using registry keys. For example, your organization might have additional attributes that you want to show, like Employee ID, Cost Center, etc.

Changes you make will only show in Office Win32 apps. Changes will not show on profile cards in applications like Outlook on the web or OneDrive for Business.

Important: Changes made to the profile card in Office version 16.0.13127.20408 and any later versions will cause the profile card in Win32 apps to revert to the previous layout of the card.

To replace labels and values using registry keys, you must provide the following information:

  1. Value # of the label you want to replace (See Table 2: Contact labels on the profile card).

    Note: Some labels cannot be replaced. If you indicate a label that cannot be replaced, a new label will display on the profile card. For details, see Table 2: Contact labels on the profile card.

  2. MAPI value and/or AD attribute name of the field you want to show on the profile card. See Table 3: Active Directory attributes.

Registry information

Note: Back up your registry before making any changes.

Registry subkey for profile card in Outlook v 15.0:

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\15.0\Common\ContactCard]

Registry subkey for profile card in Outlook v 16.0:

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\16.0\Common\ContactCard]

Use the registry values in Table 1 to change profile card labels.

Table 1: Values

Value

Type

Note

TurnOnContactTabLabelReplace#

Value: "New Label"

REG_SZ

This Registry will replace the default label shown in Table 2.

Example: If you want to change the label IM to Team, change the # to 9 and Value to Team.

TurnOnContactTabMAPIReplace#

Value: The hexadecimal value as per Table 3

REG_DWORD

This Registry will replace the Value of the corresponding Label (#) via MAPI.

Example: If you want to use extensionAttribute1, use 802D001F (as shown in Table 3).

TurnonContactTabADReplace#

Value: AD attribute as per Table 3

REG_SZ

This Registry will replace the Value of the corresponding label (#) via AD.

Example: If you want to use ExtensionAttribute1, use ExtensionAttribute 1

Note: Replace <#> with an integer between 1 and 16, based on the values listed in Table 2: Contact labels on the profile card.

Contact labels on the profile card

You can replace some of the labels with attributes from AD DS or AAD (see exceptions).

Table 2: Contact labels on the profile card

Label

Value

Note

Email/Email address

1

The label cannot be replaced. If you replace it via registry keys, an additional label will show on the card.

Work phone

2

The label cannot be replaced. If you replace it via registry keys, an additional label will show on the card.

Work phone 2

3

Work Fax

4

Mobile/Call Mobile

5

The label cannot be replaced. If you replace it via registry keys, an additional label will show on the card.

Home phone

6

Home phone 2

7

Other phone

8

IM address

9

Office Location

11

Company

12

Work Address

13

Home Address

14

Other Address

15

Birthday

16

Attribute MAPI values

Table 3: Active Directory Attributes

Attribute

MAPI Value

legacyExchangeDN

3003001f

Info

3004001f

mail

39fe001f

displayNamePrintable

39ff001f

mailNickname

3a00001f

givenName

3a06001f

telephoneNumber

3a08001f

homePhone

3a09001f

Initials

3a0a001f

Cn

3a0f001f

sn

3a11001f

company

3a16001f

title

3a17001f

department

3a18001f

physicalDeliveryOfficeName

3a19001f

Mobile

3a1c001f

displayName

3a20001f

pager

3a21001f

facsimileTelephoneNumber

3a23001f

co

3a26001f

l

3a27001f

st

3a28001f

streetAddress

3a29001f

postalCode

3a2a001f

telephoneAssistant

3a2e001f

msExchAssistantName

3a30001f

homePostalAddress

3a5d001f

homeMTA

8007001f

C

8069001f

street

813a001f

employeeNumber

8c67001f

personalPager

8c68001f

employeeType

8c69001f

personalTitle

8c6b001f

ExtensionAttribute1

802D001F

ExtensionAttribute2

802E001F

ExtensionAttribute3

802F001F

ExtensionAttribute5

8031001F

ExtensionAttribute6

8032001F

ExtensionAttribute7

8033001F

ExtensionAttribute8

8034001F

ExtensionAttribute9

8035001F

ExtensionAttribute10

8036001F

ExtensionAttribute11

8C57001F

ExtensionAttribute12

8C58001F

ExtensionAttribute13

8C59001F

ExtensionAttribute14

8C60001F

ExtensionAttribute15

8C61001F

See Also

How to back up and restore the registry in Windows

How to add, modify, or delete registry subkeys and values by using a .reg file

Mail User Properties

MAPI Properties

No comments:

Post a Comment