<?xml version="1.0" encoding="UTF-8" ?><!-- generator=Zoho Sites --><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><atom:link href="https://www.creatorscripts.com/blogs/tag/data-synchronization/feed" rel="self" type="application/rss+xml"/><title>Creator Scripts. - Zoho Blogs #data synchronization</title><description>Creator Scripts. - Zoho Blogs #data synchronization</description><link>https://www.creatorscripts.com/blogs/tag/data-synchronization</link><lastBuildDate>Fri, 27 Mar 2026 00:13:55 -0700</lastBuildDate><generator>http://zoho.com/sites/</generator><item><title><![CDATA[Establishing a Bi-Directional Relationship in Zoho Creator: A Step-by-Step Guide]]></title><link>https://www.creatorscripts.com/blogs/post/establishing-a-bi-directional-relationship-in-zoho-creator-a-step-by-step-guide</link><description><![CDATA[<img align="left" hspace="5" src="https://www.creatorscripts.com/Step-by-Step Guide to Creating a Search Interface with Stateless Forms -1-.png"/>Discover how to configure a bi-directional relationship between the main form and subform in Zoho Creator with our step-by-step guide. Enhance your data management by enabling mutual data flow between related forms. Read on to learn more.]]></description><content:encoded><![CDATA[<div class="zpcontent-container blogpost-container "><div data-element-id="elm_D2oCILDTQc2ai-UyQVotbQ" data-element-type="section" class="zpsection "><style type="text/css"></style><div class="zpcontainer-fluid zpcontainer"><div data-element-id="elm_aAW_3zDpQquxzYzpqt4-Jw" data-element-type="row" class="zprow zprow-container zpalign-items- zpjustify-content- " data-equal-column=""><style type="text/css"></style><div data-element-id="elm_HqWhpr_zSnqxE4iACG61MQ" data-element-type="column" class="zpelem-col zpcol-12 zpcol-md-12 zpcol-sm-12 zpalign-self- "><style type="text/css"></style><div data-element-id="elm_9fsJS7FNS8KnX5XylkBWzA" data-element-type="heading" class="zpelement zpelem-heading "><style> [data-element-id="elm_9fsJS7FNS8KnX5XylkBWzA"].zpelem-heading { border-radius:1px; } </style><h2
 class="zpheading zpheading-align-center " data-editor="true"><span style="color:inherit;">In the world of data management, seamless data flow is critical. <a href="/zohocreator" title="Zoho Creator" rel="">Zoho Creator</a> offers a unique functionality, allowing you to configure a bi-directional relationship between the main form and subform. This tutorial will provide a step-by-step guide on how to accomplish this.</span><br></h2></div>
<div data-element-id="elm_ZPoT1PsK4dullYmv6KBHkA" data-element-type="video" class="zpelement zpelem-video "><style type="text/css"> [data-element-id="elm_ZPoT1PsK4dullYmv6KBHkA"].zpelem-video{ border-radius:1px; } </style><div class="zpvideo-container zpiframe-align-center zpiframe-mobile-align- zpiframe-tablet-align-"><iframe class="zpvideo " width="560" height="315" src="https://www.youtube.com/embed/RmrlJPj6JEU" frameborder="0" allowfullscreen></iframe></div>
</div><div data-element-id="elm_LY695ZJOTQ-d_H1eRjCuJw" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_LY695ZJOTQ-d_H1eRjCuJw"].zpelem-text { border-radius:1px; } </style><div class="zptext zptext-align-center " data-editor="true"><div style="color:inherit;"><div style="color:inherit;"><div style="color:inherit;"><p style="text-align:left;"><span style="font-size:18px;">A bi-directional relationship in Zoho Creator permits mutual data flow between related forms. This means that any data entered or modified on the main form can be accessed and altered on the subform, and vice versa. The automatic synchronization of changes made to records in either form simplifies and streamlines data management processes.</span></p><p style="text-align:left;"><span style="font-size:18px;">To understand this process better, let's go through the steps to establish a bi-directional relationship between two forms using an order processing app as an example:</span></p><p style="text-align:left;"><span style="font-size:18px;"></span></p><div style="color:inherit;"><ol><li><p style="text-align:left;"><span style="font-size:18px;"><span style="font-weight:600;">Setting Up the Forms:</span> For this example, we have two forms: The main 'Order' form to receive customer orders and a 'Line Items' subform to select products with varying quantities.</span></p></li><li><p style="text-align:left;"><span style="font-size:18px;"><span style="font-weight:600;">Creating a Bi-Directional Relation:</span> From the 'Line Items' form, open the editor and access the Form Builder. Add a lookup field from the Advanced Field section. Select the main 'Order' form and choose the relevant filter link. In our case, we choose the 'Name' field.</span></p></li><li><p style="text-align:left;"><span style="font-size:18px;"><span style="font-weight:600;">Enabling Bi-Directional Connection:</span> Zoho Creator automatically detects if a relationship already exists between these forms. You will see an alert box with an option to enable the bi-directional connection. Click to enable the relationship.</span></p></li><li><p style="text-align:left;"><span style="font-size:18px;"><span style="font-weight:600;">Selecting the Existing Relation:</span> Zoho Creator will display the list of existing relations in the main form. As 'Line Items' is already a subform in the 'Order' form, the subform field name 'Items' is listed. Select the existing relation, choose the required display format, and click 'Done'.</span></p></li><li><p style="text-align:left;"><span style="font-size:18px;"><span style="font-weight:600;">Hiding the Field:</span> This lookup field now syncs data bi-directionally with the 'Order' form by mapping its record ID. Hide this field from the users by choosing the 'Admin Only' option from the visibility section, as this will be inappropriate for the users.</span></p></li></ol><p style="text-align:left;"><span style="font-size:18px;">The changes are saved, and a bi-directional relationship has been established between your main form and subform.</span></p><p style="text-align:left;"><span style="font-size:18px;">This bi-directional relationship allows you to access and modify data across related forms seamlessly, ensuring that any modifications made to the data in the 'Line Items' report will automatically update the record in the 'All Orders' report. Additionally, the 'Order' form fields can be viewed on the 'Line Items' report, helping store owners keep an accurate count of products purchased by each customer.</span></p><p style="text-align:left;"><span style="font-size:18px;">Understanding and utilizing the bi-directional relationship feature in Zoho Creator can significantly improve your application's data flow and overall efficiency. If you found this tutorial helpful, be sure to subscribe to our YouTube channel for more informative content!</span></p></div></div></div></div></div>
</div><div data-element-id="elm_8vr2S9imQNWlC1kkV3O18g" data-element-type="button" class="zpelement zpelem-button "><style> [data-element-id="elm_8vr2S9imQNWlC1kkV3O18g"].zpelem-button{ border-radius:1px; } </style><div class="zpbutton-container zpbutton-align-center "><style type="text/css"></style><a class="zpbutton-wrapper zpbutton zpbutton-type-primary zpbutton-size-md zpbutton-style-none " href="https://store.zoho.com/ResellerCustomerSignUp.do?id=6e7004266809d4e942a9b69bb26829ed&amp;locale=en" title="Sign Up"><span class="zpbutton-content">Get Started Now</span></a></div>
</div><div data-element-id="elm_bKJ98qtbx8Loy_3FZxLIDQ" data-element-type="divider" class="zpelement zpelem-divider "><style type="text/css"> [data-element-id="elm_bKJ98qtbx8Loy_3FZxLIDQ"].zpelem-divider{ border-radius:1px; } </style><style></style><div class="zpdivider-container zpdivider-line zpdivider-align-center zpdivider-width100 zpdivider-line-style-solid "><div class="zpdivider-common"></div>
</div></div><div data-element-id="elm_BH7aijEkfPOeyYChUCql7w" data-element-type="codeSnippet" class="zpelement zpelem-codesnippet "><div class="zpsnippet-container"><div itemscope itemtype="https://schema.org/FAQPage"><div itemprop="mainEntity" itemscope itemtype="https://schema.org/Question"><h2 itemprop="name">What is a subform in Zoho Creator?</h2><div itemprop="acceptedAnswer" itemscope itemtype="https://schema.org/Answer"><div itemprop="text">A subform is a form within a form containing a set of questions. That specific set of questions can be duplicated or repeated dynamically within repeating sections. You can use the subform to collect multiple entries of the same category effortlessly.</div>
</div></div><div itemprop="mainEntity" itemscope itemtype="https://schema.org/Question"><h2 itemprop="name">How do I create a sub form in Zoho Creator?</h2><div itemprop="acceptedAnswer" itemscope itemtype="https://schema.org/Answer"><div itemprop="text">Add subform field to your form Open the form builder. Add a subform field to the form. ( Refer to this page to learn how to add a field to a form) If your app does not have any additional forms, Zoho Creator will add a blank subform. ... Select the required choice from the dropdown, then click Done .</div>
</div></div><div itemprop="mainEntity" itemscope itemtype="https://schema.org/Question"><h2 itemprop="name">What is the subform limit in Zoho Creator?</h2><div itemprop="acceptedAnswer" itemscope itemtype="https://schema.org/Answer"><div itemprop="text">The maximum number of subform fields you can add in a layout is 10. The maximum number of entries across all subforms on an aggregate is 200.</div>
</div></div><div itemprop="mainEntity" itemscope itemtype="https://schema.org/Question"><h2 itemprop="name">How do I get subform data in Zoho Creator?</h2><div itemprop="acceptedAnswer" itemscope itemtype="https://schema.org/Answer"><div itemprop="text">The Field API names of the subform can be acquired using Fields Metadata API of the parent module. The Field API names of the individual fields in a subform can be acquired using Fields Metadata API, with the request URL as "fields? module={Sub_form_api_name}".</div>
</div></div><div itemprop="mainEntity" itemscope itemtype="https://schema.org/Question"><h2 itemprop="name">What is the purpose of subform?</h2><div itemprop="acceptedAnswer" itemscope itemtype="https://schema.org/Answer"><div itemprop="text">The subform control provides properties which allow you to link the data displayed in the control to the data on the main form. The property of the subform control that determines what object is displayed in the control. A simple display of data in rows and columns, much like a spreadsheet.</div>
</div></div></div></div></div></div></div></div></div></div> ]]></content:encoded><pubDate>Wed, 05 Jul 2023 18:56:41 -0600</pubDate></item></channel></rss>