Current Entry Associations and Subrecords

✅ Explore associations and subrecords easily with this function.

Associations and sub records are ways to link and organise data.

You can access associations and sub records within your current entry using this function in your scripts. Here's an example of how you can configure and use these functions:

async function script(C) {
    const associations = await C.getCurrentEntryAssociations(
        "kalysys-customer-feedback",
        "fov"
    );
    const subrecords = await C.getCurrentEntrySubrecords(
        "kalysys-dependencies",
        "iv"
    );
    return { associations, subrecords };
}

Output

The output of fetching associations and sub records consists of the data that is linked or related to your current entry:

  • Associations: These are links to other entries or records. For example, if your current entry is a customer feedback form, associations could include links to related support tickets or user profiles. The output will provide information about these associated entries.
  • Subrecords: Sub records are like nested records within your current entry. For instance, if your current entry is a project, sub records could include task lists, dependencies, or project milestones. The output will contain data about these subrecords.

📌 Need Help?

If you require assistance or encounter any issues, please don't hesitate to contact us for further support.