How can I see the PartyID of a contact?
PartyID is not available by design in the Microsoft 365 Designer, but you can expose it.
- In a sandbox, navigate to Application Composer.
- Expand the Contact object and click Fields.
- Create a Formula Field of type Text with these values:
- DisplayLabel: Contact Party ID
- Name: ContactPartyId
- Include in Service Payload: Checked
- Expression - use this Groovy script: if(PartyId) return PartyId;
- Save your changes.
- In Application Composer, navigate to .
- In the Microsoft 365 Designer, expand Contacts and click Details.
- Duplicate the standard layout.
- Drag and drop Contact PartyID from the Available Fields onto the custom layout.
- Save your changes.
- Contact Party ID appears in your Contacts custom layout in the add-in.
- Publish the sandbox according to your company's business practices.