The automatic generation of data sources in our system simplifies setting up data grids, insertion forms, or update forms for a specific feature. By leveraging this feature, developers can quickly generate data sources tailored to their needs, streamlining the development process and ensuring consistency across different components.Documentation Index
Fetch the complete documentation index at: https://docs.codenullapp.com/llms.txt
Use this file to discover all available pages before exploring further.
Generating Data Sources
To generate data sources for a feature, follow these steps:- Navigate to the Designer: Begin by accessing the designer module within our system. This module serves as the central hub for managing entities and their associated data sources.
- Select Entity: Once in the designer, select the entity for which you want to generate data sources. This entity represents the core data model around which your feature revolves.
- Choose Fields: After selecting the entity, choose the specific fields that you intend to use in your data grids, insertion forms, or update forms. These fields should correspond to the data attributes that are relevant to your feature.
- Select Query Type: Determine the type of operation you wish to perform: query or mutation. This selection defines whether the generated data sources will retrieve data (query) or modify data (mutation) based on user actions.
- Initiate Generation: With the entity, fields, and query type selected, initiate the generation process. Our system will automatically analyze the selected entity and fields to automatically generate appropriate data sources tailored to the chosen query type.
Types of Data Sources
Depending on your requirements and the selected query type, you can generate different types of data sources:- Data Grids: Generate data sources optimized for displaying data in a grid format. This is ideal for presenting tabular data to users, allowing for easy sorting, filtering, and navigation.
- Insertion Forms: Generate data sources tailored for inserting new records into the system. These forms provide a user-friendly interface for capturing and submitting data efficiently.
- Update Forms: Generate data sources designed for updating existing records. These forms streamline the process of modifying data attributes while maintaining data integrity.
- Remote Dropdowns: Generate data sources for remote dropdowns, allowing users to select options from a list populated dynamically from the database. This enhances user experience by providing real-time data access and ensuring data consistency.
Agent Instructions: Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question. Perform an HTTP GET request on the current page URL with theask query parameter: