Portal Connection
This feature was developed in response to a request to support Contacts associated with multiple Accounts.
Overview
This feature was developed in response to a request to support Contacts associated with multiple Accounts. Historically, Contacts could only be linked to a single Account, requiring users to create duplicate Contact records. This approach led to data redundancy and complications when implementing functionality within the Klevr portal.
Solution Design
To address this limitation, we introduced a new table named 'Portal Connection'. This table facilitates the relationship between Contacts and Accounts, allowing for future extensibility.
Table Structure
The 'Portal Connection' table resides within the Klevr portal and includes the following key fields:
- Portal User Lookup – Links to the portal user (Contact)
- Web Role – Links to the Web role
- Stakeholder Type - Lookup field for custom Stakeholder types (e.g., Investors, Governments, Employees).
- Connected To – A polymorphic field currently configured to reference the account.
- Standard Fields – Includes standard metadata fields for consistency.
Usage Example
When viewing an Account record, users can navigate to the related tab to see multiple Portal Connections associated with that Account. This implementation provides a scalable and user-friendly solution for managing contact-account relationships within the Klevr portal.
Last updated on