sugar-address-grouping

Configure SugarCRM vardef and record-view fieldsets to group address sub-fields into one visual block.

6|3|Updated Oct 27, 2025
One-click install
npx skills add https://github.com/sugarcrm-developers/ai-for-sugar-devs --skill sugar-address-grouping
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sugar-address-grouping
Source: https://github.com/sugarcrm-developers/ai-for-sugar-devs/tree/main/skills/sugar-address-grouping
Command: npx skills add https://github.com/sugarcrm-developers/ai-for-sugar-devs --skill sugar-address-grouping

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the issue of scattered address sub-fields in SugarCRM, allowing them to be grouped together for a cleaner, more organized user interface.

Core Features & Use Cases

  • Group Address Sub-fields: Combine street, city, state, postal code, and country into a single visual block.
  • Vardef and Record-view Configuration: Ensures proper grouping through vardef and record-view configurations.
  • Use Case: When creating a custom module that requires a grouped address field similar to the Quotes module in SugarCRM.

Quick Start

Use the sugar-address-grouping skill to create a grouped address field in your custom module 'Foos'.

Frequently Asked Questions about sugar-address-grouping

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I group address sub-fields into a single visual block in SugarCRM?

To group address sub-fields in SugarCRM, you configure vardef elements with `group` and `group_label` parameters, then set up record-view fieldset elements to render the combined address block in your custom module.

Can I display a grouped address fieldset in a custom module like the Quotes module?

Yes, you can replicate the grouped address display from the Quotes module in custom modules by applying the required vardef group configurations and record-view fieldset setup to combine street, city, state, postal code, and country.

What vardef configurations are needed for address grouping in SugarCRM?

Address grouping requires vardef configurations that define `group` and `group_label` attributes for address sub-fields, ensuring they are structured correctly for the record-view to render them as a unified visual block.

Why are my address sub-fields scattered in the SugarCRM user interface?

Address sub-fields appear scattered when vardef elements lack proper `group` and `group_label` configurations and the record-view is missing fieldset setup, preventing them from rendering as a unified visual block.

Does address grouping require dependencies or specific SugarCRM components?

Address grouping requires no external dependencies, relying solely on native SugarCRM components: vardef configurations for field grouping and record-view fieldset elements for unified visual rendering.