Getting Started
UI Flow Editor
Community
This page provides an overview of record management in byld.dev, including how to create, update, retrieve, and delete records. It also covers using JSON to create records and FetchXML to retrieve multiple records.
<aside> ℹ️ Note: The CRUD (Create, Retrieve, Update, Delete) actions are server-side actions. These web API requests are translated into actions in byld.dev
</aside>
This action step allows you to create a new record in the database to make new entries or add data to your form.
To configure it, follow these steps:
<aside> ℹ️ Note: To have a variable ID, you need to first initialize an object variable.
</aside>
EXAMPLE:
Create a sample account record.
// define the data to create new account
var data =
{
"name": "Sample Account",
"creditonhold": false,
"address1_latitude": 47.639583,
"description": "This is the description of the sample account",
"revenue": 5000000,
"accountcategorycode": 1
}
Save and publish/update your flow.
Result: The record is created.
<aside> 💡 Tip: If you don’t see changes, you might need to clear your browser files cache.
This action step allows you to update an existing record.
To configure it, follow these steps:
Enter the name of the table you are updating in the Table Schema name field.
Enter the Record ID of the record you want to update.
Add the new data as a dynamic value, a function, or as JSON.
Save and publish/update your flow.
Result: The record is updated.
This action step allows you delete an existing record.
To configure it, follow these steps:
Enter the Table Schema name of the table you want to delete.
Enter the Record ID of the record you want to delete.
Save and publish/update your flow.
Result: The record is deleted.
This action step allows you to retrieve an existing record.
To configure it, follow these steps:
<aside> ℹ️ Note: To have a variable ID, you need to first initialize an object variable.
</aside>
Enter the Table Schema name of the table you want to retrieve.
Enter the Record ID of the record you want to retrieve.
Save and publish/update your flow.
Result: The record is retrieved.
This action step allows you to retrieve multiple records at once.
To configure it, follow these steps:
<aside> ℹ️ Note: To have a variable ID, you need to first initialize an array variable.
</aside>
Enter the Table Schema name of the table you want to retrieve.
Enter Options.
EXAMPLE:
Account table: This example uses the $select
and $top
system query options to return the name
property for the first three accounts.
?$select=name&$top=3
Save and publish/update your flow.
Result: The records are retrieved.
This action step allows you to retrieve multiple records at once using FetchXML.
<aside> ℹ️ Note: FetchXML is a query language used to retrieve data from a database. It is a flexible and powerful tool that allows you to specify the data you want to retrieve, as well as any filtering, sorting, or grouping options.
</aside>
To configure it, follow these steps:
<aside> ℹ️ Note: To have a variable ID, you need to first initialize an array variable.
</aside>
**Use FetchXML to construct a query: L**earn more about FetchXML and how to build queries.