Soom
SomaDBFieldsField TypesCustom Types

Custom Types in SomaDB

Learn about custom field types for specialized data in SomaDB

Custom Types in SomaDB

Custom field types provide specialized functionality for unique data requirements that don't fit into standard field categories. These fields offer advanced features and capabilities for specific use cases.

Custom Field Types

Attachment

  • Use Case: Files, documents, images
  • Features: File upload and management
  • Validation: File type and size limits

Button

  • Use Case: Actions, links, external resources
  • Features: Clickable buttons with custom actions
  • Validation: URL validation, action configuration

Checkbox

  • Use Case: Boolean values, yes/no questions
  • Features: Simple true/false selection
  • Validation: Boolean values only

Rating

  • Use Case: Reviews, scores, evaluations
  • Features: Star-based rating system
  • Validation: Numeric rating values

QR Code

  • Use Case: Quick access codes, inventory tracking
  • Features: Generate and display QR codes
  • Validation: Text input for QR code content

Barcode

  • Use Case: Product codes, inventory management
  • Features: Generate and display barcodes
  • Validation: Numeric input for barcode generation

Geometry

  • Use Case: Geographic data, coordinates
  • Features: Map integration and coordinate storage
  • Validation: Valid coordinate formats

JSON

  • Use Case: Complex data structures, API responses
  • Features: JSON data storage and validation
  • Validation: Valid JSON format

Key Features

  • Specialized Functionality: Unique features for specific use cases
  • Advanced Validation: Custom validation rules
  • Integration Support: Connect with external services
  • Flexible Data Storage: Handle complex data structures

Best Practices

  • Use custom types only when necessary
  • Consider performance implications
  • Plan for data migration if needed
  • Document custom field usage

Next Steps

Explore each custom field type to learn more about their specific features and use cases.

How is this guide?