2206 Action Links And Details
Action Links and Details
Introduction
Action links and detail components are essential for creating interactive, user-friendly applications. Action links enable users to perform operations on records (view, edit, delete, custom actions), while detail components display comprehensive record information. Together, they form the foundation of effective record navigation and management.
In this section, you'll learn how to create action links, configure different action types, set up detail components, display connected records, and build professional detail pages that provide complete record views.
What Are Action Links?
Action links are clickable elements that perform actions on records. They appear in table components, card views, and other list displays.
Common Action Types
- View: Navigate to detail page
- Edit: Open edit form
- Delete: Remove record
- Duplicate: Copy record
- Custom Page: Navigate to specific page
- Run Rule: Execute action rule
- Send Email: Trigger email
- Generate PDF: Create document
Where Action Links Appear
- Table components (action column)
- Card components (buttons/icons)
- Detail pages (top actions bar)
- List views
- Search results
Creating Action Links
Step-by-step process for adding action links:
Step 1: Open Component Settings
- Edit table or card component
- Navigate to "Actions" section
- Click "Add Action"
Step 2: Configure Action
- Choose Action Type
- View, Edit, Delete, Custom, etc.
- Set Action Label
- Text displayed to user
- Examples: "View Details", "Edit", "Remove"
- Choose Icon (optional)
- Visual icon for action
- Enhances recognition
- Set Action Behavior
- Open in same page
- Open in popup
- Open in new tab
- Configure Permissions
- Who can see/use this action
- Role-based restrictions
Step 3: Test Action
- View component with action link
- Click action to test behavior
- Verify expected result
- Test with different user roles
View Action
Edit Action
The Edit action opens a form to modify record data.
Configuration
- Label: "Edit", "Modify", "Update"
- Icon: Pencil, edit icon
- Destination: Edit form page
- Behavior: Navigate, popup, or inline
Edit Permissions
Control who can edit records:
- All Users: Anyone can edit
- Owner Only: Only record creator
- Specific Roles: Admin, Manager, etc.
- Conditional: Based on field values
Example
Task Table:
- Label: "Edit Task"
- Icon: Pencil
- Destination: Task Edit Form
- Opens in popup for quick edits
- Only assigned user can edit
Delete Action
The Delete action removes a record from the table.
Configuration
- Label: "Delete", "Remove", "Archive"
- Icon: Trash can, X icon
- Confirmation: Require confirmation message
- Warning: Display custom warning text
Delete Options
- Hard Delete: Permanently remove
- Soft Delete: Mark as deleted (change status)
- Connected Records: Cascade, prevent, or orphan
Safety Considerations
- Always require confirmation
- Explain what will be deleted
- Warn about connected records
- Restrict to appropriate roles
- Consider soft delete instead
- Log all deletions
Example
Order Table:
- Label: "Cancel Order"
- Icon: Trash
- Confirmation: "Are you sure you want to cancel this order?"
- Actually changes status to "Cancelled" (soft delete)
- Only managers can cancel
Custom Page Actions
Action Rule Links
Trigger custom logic via action links:
Use Cases
- Send notification emails
- Update field values
- Create related records
- Complex workflows
- Generate documents
Configuration
- Create action rule first
- Add "Action Rule" link to component
- Select which rule to run
- Set label and icon
- Configure confirmation if needed
Example
Invoice Table:
- Label: "Send Invoice"
- Icon: Email
- Runs rule that emails PDF to customer
- Shows success message
- Only admins can send
Action Link Styling
Customize action link appearance:
Display Options
- Button: Full button with text
- Icon Only: Just icon, no text
- Link: Text link
- Dropdown Menu: Actions in menu
Color Coding
- Primary (Blue): Main actions (View, Edit)
- Success (Green): Positive actions (Approve, Complete)
- Danger (Red): Destructive actions (Delete, Cancel)
- Warning (Yellow): Caution actions (Archive, Suspend)
- Secondary (Gray): Optional actions
Icon Selection
- Use recognizable icons
- Be consistent across application
- Match icon to action meaning
- Consider cultural implications
Detail Components
Detail components display comprehensive record information.
What is a Detail Component?
- Shows all fields from a single record
- Displayed on dedicated detail page
- Includes connected record information
- Central hub for record interaction
Adding Detail Component
- Create detail page
- Add "Details" component
- Select table
- Choose fields to display
- Configure layout and styling
Field Selection
Choose which fields to show:
- Include all important fields
- Exclude system fields unless needed
- Group related fields
- Order fields logically
Layout Options
- Single Column: Fields stack vertically
- Two Column: Fields in two columns
- Tabbed: Fields organized in tabs
- Sections: Grouped with headers
Displaying Connected Records
Detail Page Organization
Structure detail pages effectively:
Typical Detail Page Layout
- Header Section
- Record name/title
- Key identifier
- Status badge
- Primary actions
- Main Information Section
- Detail component
- Core field display
- Essential information
- Related Records Sections
- Connected record tables
- Related lists
- Each in its own section
- Activity/History Section
- Record history log
- Activity timeline
- Audit trail
- Footer/Additional Actions
- Secondary actions
- Download options
- Share links
Tabbed Detail Pages
Organize complex detail pages with tabs:
- Overview Tab: Main details and key info
- Related Tab: Connected records
- History Tab: Activity and changes
- Documents Tab: File attachments
- Notes Tab: Comments and notes
Responsive Design
- Mobile-friendly layouts
- Single column on small screens
- Collapsible sections
- Touch-friendly actions
Detail Page Examples
Example 1: Customer Detail Page
Components:
- Header: Customer name, account type badge
- Actions: Edit, Send Email, Create Order
- Details: Contact info, address, account details
- Orders Table: All customer orders
- Invoices Table: All invoices
- Activities Table: Interaction history
- Notes Section: Customer notes
Components:
- Header: Order number, status, date
- Actions: Edit, Cancel, Send Invoice, Generate PDF
- Customer Info: Who placed order
- Order Details: Shipping, payment, totals
- Line Items Table: Products ordered
- Payments Table: Payment history
- Shipments Table: Tracking info
- History: Order status changes
Tabs:
- Overview: Project details, status, dates, description
- Tasks: All project tasks with Kanban view
- Team: Assigned team members
- Documents: File attachments
- Budget: Financial tracking
- Activity: Timeline of changes
Action Buttons on Detail Pages
Detail pages typically include action buttons:
Primary Actions
- Edit Record: Modify details
- Delete/Archive: Remove record
- Duplicate: Create copy
Contextual Actions
- Send Email: Email related parties
- Generate Document: Create PDF, invoice, etc.
- Change Status: Update workflow state
- Assign User: Reassign ownership
Navigation Actions
- View Related: Navigate to connected records
- Create Related: Add new connected record
- Back to List: Return to table view
Action Bar Placement
- Top right of page (common)
- Below header
- Floating action button
- Dropdown menu for many actions
Breadcrumb Navigation
Best Practices
Action Links
- Use clear, action-oriented labels
- Don't overload with too many actions
- Group related actions in menus
- Use icons for recognition
- Color-code by action type
- Always confirm destructive actions
- Test permissions thoroughly
Detail Pages
- Show most important info first
- Group related fields logically
- Use sections and headers
- Include all relevant connected records
- Make actions easily accessible
- Provide navigation aids (breadcrumbs, back buttons)
- Optimize for mobile viewing
Connected Records
- Include all important relationships
- Use clear section headers
- Show record counts
- Enable quick actions on related records
- Allow inline creation of related records
Summary
In this section, you've learned about action links and detail components:
- Action links enable record operations (view, edit, delete, custom)
- Detail components display comprehensive record information
- Connected record displays show related data automatically
- Detail page organization creates effective record views
- Action buttons provide quick access to operations
- Navigation aids help users move through record hierarchies
Action links and detail pages are fundamental to creating intuitive, interactive applications that users can navigate and manage effectively.
Next: Continue to Advanced Components to learn about specialized component types.
Hands-On Exercise (To Be Added)
Exercise placeholders will include practical activities such as:
- Add action links to a table component
- Create a comprehensive detail page
- Display connected records on detail pages
- Configure action permissions
- Build a tabbed detail page for complex records
Knowledge Check (To Be Added)
Quiz questions will test understanding of:
- Different action link types and when to use them
- Best practices for delete actions
- How to organize detail pages effectively
- Displaying connected records
- Action link permissions and security

We'd love to hear your feedback.