Record Detail
Last updated
Last updated
The Record Detail is also available as an Experience Cloud Component.
The Record Detail component enhances Screen Flows by simplifying the display of multiple record fields. It allows for a clean and customizable presentation of data driven by a single Record ID. Users can choose between various column layouts, making information display flexible and user-friendly, thus enhancing the overall application experience.
The strength of the Avonni Record Detail component lies in its flexibility and the capability to tailor a custom layout for displaying specific record detail information.
This tutorial shows setting up the Avonni Record Detail component to interact and synchronize with other flow components.
This setting connects the Record Detail component to a specific object. By linking to an object name, the component understands which record fields to display, ensuring that the displayed information is sourced correctly from the designated object.
In this section, you should specify the ID of the record whose field information you wish to display. The Record ID can be sourced from a variable or reactively from another component. For instance, you can display fields related to an account selected through a map marker in the Avonni Map component.
When this option is enabled, the information displayed from the record fields will be non-editable, ensuring that the data remains in a view-only mode.
Only the fields specified in the object's compact layout configuration will be displayed.
All fields defined in the page layout will be displayed.
The custom layout option allows you to define the content and presentation of fields precisely within the Record Detail component. This highly flexible feature enables the addition of multiple fields either on the same line or within separate sections, catering to your specific display requirements.
To create multiple columns, drag a field and drop it next to an existing one on the same line.
The Record Detail component is responsive, automatically adjusting the layout of multiple fields in a column to fit the end-user's screen size.
To organize fields into a section, drag them into the area highlighted by a blue overlay, which appears when you hover your mouse over it. To add a title and make the section collapsible:
Hover over the section and click on the pencil icon on the right side of the blue overlay.
Enter a title for your section.
To collapse or expand the section, click the arrow icon on the right side of the section header.
This allows you to neatly categorize fields and manage the display according to your preferences.
To ensure data completeness, you can easily designate required fields. When hovering over a field in the custom layout, a small asterisk icon (*) will appear. Click this icon to toggle the required field setting on or off. This provides a visual cue for users, ensuring that essential data is not overlooked.
The Record Detail component offers two distinct modes for interacting with record data:
This mode presents record information in a read-only format, ideal for displaying details without allowing edits. If the "Read Only" attribute is not checked, users can easily switch to Edit mode by clicking a pencil icon next to each field. This provides a seamless transition between viewing and editing information.
Designed for efficient data modification, Edit mode renders record fields interactive input fields. This lets users modify record data directly within the component, streamlining the editing process.
This step is vital for the proper functioning of the Record Detail Component. It ensures that any information your users edit is accurately saved. Follow these instructions to set up the interaction:
Navigate to the Interaction Tab.
Click on the "Add Save" button.
From the available interactions, select "Upsert Records."
Click Save to finalize the setup.
Data Model Sharing:
Respecting Org Settings: The Avonni Components fully comply with your Salesforce organization's data-sharing configurations and access settings.
No Interference Policy: These components do not alter or affect your pre-established data-sharing rules in any way.
Controlled Visibility and Access: Your organization's defined sharing settings and user permissions govern your ability to view and interact with records through Avonni Components.