sugar-custom-field

Adds custom fields to SugarCRM modules via Vardef Extension Framework.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill helps developers add custom fields to SugarCRM modules, extending the functionality of existing modules without the need for a new module.

Core Features & Use Cases

  • Custom Field Creation: Create various field types such as varchar, text, datetime, int, bool, decimal, and relate.
  • Vardef Extension Framework: Utilizes the Vardef Extension Framework for seamless integration with SugarCRM.
  • Use Case: For example, a developer might use this Skill to add a new 'Lead Source' field to the 'Leads' module.

Quick Start

Use the sugar-custom-field skill to add a new 'Lead Source' field to the 'Leads' module.

Frequently Asked Questions about sugar-custom-field

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

FAQPage Schema
How do I add custom fields to SugarCRM modules?

To add custom fields to SugarCRM modules, you use the Vardef Extension Framework to extend existing modules without needing to create a new module. This approach allows you to seamlessly integrate additional fields into your current SugarCRM module structure.

What field types can I create using the Vardef Extension Framework in SugarCRM?

The Vardef Extension Framework in SugarCRM supports creating various field types, including varchar, text, datetime, int, bool, decimal, and relate. You can use these types to extend existing modules with the specific data fields you need.

Do I need to understand the SugarCRM module structure to add a custom field?

Yes, you need a solid understanding of the SugarCRM module structure and Vardef Extension Framework knowledge to add a custom field. This prerequisite knowledge ensures you can correctly extend existing modules with new fields like varchar, text, or relate.

What is the best way to extend a SugarCRM module with a Lead Source field?

The best way to extend a SugarCRM module with a Lead Source field is by using the Vardef Extension Framework. This method adds the custom field directly to the existing Leads module, extending its functionality without requiring a completely new module.

Can I extend an existing SugarCRM module without creating a new module?

Yes, you can extend an existing SugarCRM module without creating a new one by using the Vardef Extension Framework. This technique lets you add custom fields such as datetime, int, bool, or decimal fields directly to your current modules.