Publishing applications to stage and production environments | Zoho Creator Help

Publishing application to stage and production environments

What does this page cover
Learn how to publish applications from the development to the stage and stage to production environments after modifying the application in the development environment. Make sure you have a comprehensive understanding of the environments and adding the application to the environments before you move ahead.
Availability
  1. Only available on Creator 6
  2. Can only be accessed by super admins, admins and developers with environment permissions assigned by admins.

1. Publishing applications in environments

To apply application changes across environments, modifications are first made in the development environment, published to the stage environment, then deployed to production. This structured flow ensures a reliable, controlled, and efficient process for modifying applications. The publishing of an application includes two steps:
  1. Publish to stage: The changes in the application must first be published to the Stage environment for testing.
  2. Publish to production: Once verified in the Stage environment, the application version can be published to Production.

1.1. Publish to stage

After modifying the application in the development environment, it's ready for publication to the stage environment. The application's status will update to Changes Available, and only applications in this status are eligible to be published. To publish the application to the stage environment: 
  1. Navigate to the Environments section under Deploy.
  2. Click the Publish button in the top-right corner and select Publish to Stage. The Select Apps page will appear, displaying all applications with the Changes Available status as cards.
  3. Choose the applications to be published to stage and click Proceed. A maximum of three applications can be published at a time. 

    The Staging page will display with the list of application components modified in the development environment of that application.
    The changes will appear alongside visual indicators that highlight the nature of the changes. The Staging page makes use of three specific markers as follows:

    • "Added"

    -

    A new change has been added to the component/ the component is new.

    • "Modified"

    -

    An existing component has been modified.

    • "Deleted"    

    -

    A component has been deleted.

    Additional apps can also be added from this screen for publishing by clicking the ➕ icon, provided they contain changes with the Changes Available status.
  4. Select the components you want to publish, such as forms, fields, and reports, then click Proceed.
  5. NotesNote:
    1. If any of the selected components have dependencies (for example, a relationship through a lookup) with other components within the same app or across different apps, all related components must be published together.
    2. A maximum of 800 components can be selected collectively for publishing to the stage environment, irrespective of the applications selected.
    3. Users without permission to access to any of the dependent apps will not be able to proceed with publishing.
    4. When a component is selected, any dependent components within the same application will be selected automatically. If dependencies exist in other applications, a prompt will appear, allowing you to select the relevant dependent app, as shown below.
  6. Specify the Title and Description for the version in the Version Details page.
  7. InfoInfo:  
    1. Each set of applications and their associated changes that are published at a single instance is referred to as a Version. When multiple applications are selected for publishing to the stage environment, they are bundled together into one version package, sharing the same version details such as the title and description.

      For example, if you select two applications with different version numbers to publish to stage, they will still be packaged as a single version that contains both applications with their respective version numbers. When moving from stage to production, this entire version package must be published together, and the individual applications within that package cannot be published separately.
  8. Select the version type as Major or Minor. Use a Major version for new features or significant changes, which increments the whole number (for example, V1.0 to V2.0). Use a Minor version for small updates or bug fixes, which increments the decimal part (for example, V1.0 to V1.1).
    If you change a minor version such as V1.2 to a Major type, it will be rounded up to the next whole number (V2.0).
  9. Select users to receive email notifications after the application is published. The admins and developers of the application are listed here, and a maximum of three users can be selected.

    Before publishing, the application undergoes validation checks to ensure a smooth and error-free deployment. Learn more about these validations.
  10. Click Publish to initiate the publishing process. During this process, the application will be temporarily locked in the development and stage environments to prevent any modifications. Learn more about application locking during the publish process.
    1. When the application changes are being published, the application's status will be displayed under the Stage section in the environments page. Learn more about application statuses in environments.
    2. Once the process is complete, the Stage version of the application will be listed with the status V{0} is published and ready for further testing or deployment.
Notes
Note: In case of any errors during the publish process, the status will be displayed as 'Error in publish'. Error details can be viewed by clicking the status.

1.2. Publish to production

Application versions that have been published to the stage environment can be published to the production environment. To publish the application to the production environment:
  1. Navigate to the Environments section under Deploy.
  2. Click the Publish button in the top-right corner and select Production. A Select Version page will appear, displaying all the versions of the applications that are published to the stage environment.
  3. NotesNote: The value shown next to the Production (for example, “1/30”) indicates that there is currently one unpublished version package in Stage, out of 30 supported versions. Once this limit is reached, you must publish one or more versions to production before you can create additional versions in stage.
  4. Select the versions that have to be published to production. You can select any number of versions, but the count of components in all versions combined cannot exceed 800.
  5. Select the preferred publish options in the Version page, you can either choose to publish immediately using the Publish Now option, or choose to schedule it at a required time using the Publish Later option.
  6. Select users to receive email notifications after the application is published. The admins and developers of the application are listed here, and a maximum of three users can be selected.

    Before publishing, the application undergoes pre-validation checks to ensure a smooth and error-free deployment. Learn more about these validations.
  7. Click Publish to initiate the publish process. During this process, the application will be temporarily locked in the production environment to prevent any modifications.  Learn more about application locking during the publish process
    1. When the application is being published, the application's status will be displayed under the Production section in the environments page. Learn more about application statuses in environments.
    2. Once the process is complete, the production version of the application will be listed and ready to be accessed.
       

2. Validations when publishing the application

To ensure a smooth and successful deployment to the stage and production environments, Zoho Creator runs a set of pre-validations before initiating the publish process. If any issues are detected, they are flagged with appropriate messages. Below are some common validation scenarios.
The issues identified during validation are grouped into the following types:
  1. Errors - Prevents publishing due to critical issues. You must resolve these issues before proceeding, such as duplicate records or maximum field length violations.
  2. Warnings - Notifies you of potential issues but do not block publishing. You can proceed despite these warnings, such as data loss, permission changes, or post-publish impacts.

2.1. Errors

  1. Duplicate records: This validation checks whether a field marked with the 'No duplicate values' property contains duplicates in the target environment. For example, an application is first published to stage without enabling the 'No duplicate values' property, allowing duplicate entries during testing in stage. Later, if the app is updated to enable this property and re-published to stage, a conflict occurs because the field already contains duplicates in the stage environment. To proceed, you must remove the duplicate values and click Validate again.
  2. Max field length: This validation checks whether any field values in the target environment exceed the maximum character limit defined in the environment the application is being published from. For example, suppose an application is published to stage with a single line field that allows up to 10 characters. During testing, values of 10 characters are entered. Later, if the app is updated to restrict the field to five characters and republished, a conflict arises because existing values exceed the new limit. To proceed, you must shorten or remove those values and click Validate again.

2.2. Warnings

  1. Data Loss: This warning appears when a component, such as a form, is deleted, and that change is published to the stage environment. It informs users that any related data will also be removed. For example, if an application is published to Stage and test entries are added to a form, and later the form is deleted and the change is published, all previously added entries in that form will be deleted.
  2. Permission: This warning appears when a user profile or role has been deleted and the change is published to the Stage environment. It informs users that the deleted profile or role will be mapped to a new one, as specified during the deletion process.
  3. Post Publish: This informs users that the publishing process may take additional time when changes involve encryption or formula fields, as these require extra processing time beyond the usual publishing duration.

3. Locking of application during publish

When an application is published to the Stage or Production environment, Zoho Creator temporarily locks it to prevent any modifications during the process. This ensures the deployment remains stable and is not disrupted by concurrent changes. Application will be unlocked once the publish process is completed or in case the process fails. There are two events when the application will get locked:
  1. Locking on publishing to stage
  2. Locking on publishing to production
The cases in which the applications in the environment will be locked are listed in the below table:

3.1. Locking on publishing to stage

Case

Development (Edit Mode)

Development (Live Mode)

Stage (Live Mode)

Production (Live Mode)

Step 1: When applications are selected for publishing to stage.

Selected apps and its dependent apps will be locked.

Accessible

Accessible

Accessible

Step 2: When the publish to stage process is initiated.

Selected app and its dependent apps will remain locked.

Accessible

Selected apps and dependent apps will be locked.

Accessible

Step 3: When the apps are successfully published to stage or failed

Selected app and its dependent apps will be unlocked.

Accessible

Selected app and its dependent apps will be unlocked.

Accessible

3.2. Locking on publishing to production

Case

Development (Edit Mode)

Development (Live Mode)

Stage (Live Mode)

Production (Live Mode)

Publish to production process Initiated

Accessible

Accessible

Accessible

Apps will be locked for publish

Apps published successfully

Accessible

Accessible

Accessible

Apps will be unlocked


4. Point to note

  1. Only the application that has been modified in the development environment with the status as Changes Available can be published.
  2. If an application has dependencies within itself or with another application, the related components or dependent application must also be published together to ensure proper functioning.
  3. Published application versions cannot be rolled back to earlier versions.
  4. While selecting a version to publish to Stage or Production, ensure that the total number of components across all selected versions does not exceed 800.
  5. Applications installed from the marketplace support environments except development, since they cannot be modified. You can install updates, test them in the stage environment, then publish them to the production application.

5. Related Links

  1. Managing applications in the environments
  2. Understanding environments
  3. Adding applications to environments
  4. Remove applications from environments
  5. Application statuses in environments


      Create. Review. Publish.

      Write, edit, collaborate on, and publish documents to different content management platforms.

      Get Started Now


        Access your files securely from anywhere

          Zoho CRM Training Programs

          Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

          Zoho CRM Training
            Redefine the way you work
            with Zoho Workplace

              Zoho DataPrep Personalized Demo

              If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

              Zoho CRM Training

                Create, share, and deliver

                beautiful slides from anywhere.

                Get Started Now


                  Zoho Sign now offers specialized one-on-one training for both administrators and developers.

                  BOOK A SESSION







                              Quick LinksWorkflow AutomationData Collection
                              Web FormsEnterpriseOnline Data Collection Tool
                              Embeddable FormsBankingBegin Data Collection
                              Interactive FormsWorkplaceData Collection App
                              CRM FormsCustomer ServiceAccessible Forms
                              Digital FormsMarketingForms for Small Business
                              HTML FormsEducationForms for Enterprise
                              Contact FormsE-commerceForms for any business
                              Lead Generation FormsHealthcareForms for Startups
                              Wordpress FormsCustomer onboardingForms for Small Business
                              No Code FormsConstructionRSVP tool for holidays
                              Free FormsTravelFeatures for Order Forms
                              Prefill FormsNon-Profit

                              Intake FormsLegal
                              Mobile App
                              Form DesignerHR
                              Mobile Forms
                              Card FormsFoodOffline Forms
                              Assign FormsPhotographyMobile Forms Features
                              Translate FormsReal EstateKiosk in Mobile Forms
                              Electronic Forms
                              Drag & drop form builder

                              Notification Emails for FormsAlternativesSecurity & Compliance
                              Holiday FormsGoogle Forms alternative GDPR
                              Form to PDFJotform alternativeHIPAA Forms
                              Email FormsFormstack alternativeEncrypted Forms

                              Wufoo alternativeSecure Forms

                              TypeformWCAG


                                          Create. Review. Publish.

                                          Write, edit, collaborate on, and publish documents to different content management platforms.

                                          Get Started Now




                                                            You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                                                Manage your brands on social media


                                                                  • Desk Community Learning Series


                                                                  • Digest


                                                                  • Functions


                                                                  • Meetups


                                                                  • Kbase


                                                                  • Resources


                                                                  • Glossary


                                                                  • Desk Marketplace


                                                                  • MVP Corner


                                                                  • Word of the Day


                                                                  • Ask the Experts


                                                                    Zoho Sheet Resources

                                                                     

                                                                        Zoho Forms Resources


                                                                          Secure your business
                                                                          communication with Zoho Mail


                                                                          Mail on the move with
                                                                          Zoho Mail mobile application

                                                                            Stay on top of your schedule
                                                                            at all times


                                                                            Carry your calendar with you
                                                                            Anytime, anywhere




                                                                                  Zoho Sign Resources

                                                                                    Sign, Paperless!

                                                                                    Sign and send business documents on the go!

                                                                                    Get Started Now




                                                                                            Zoho TeamInbox Resources





                                                                                                      Zoho DataPrep Demo

                                                                                                      Get a personalized demo or POC

                                                                                                      REGISTER NOW


                                                                                                        Design. Discuss. Deliver.

                                                                                                        Create visually engaging stories with Zoho Show.

                                                                                                        Get Started Now








                                                                                                                            • Related Articles

                                                                                                                            • Adding applications to environments

                                                                                                                              What does this page cover Learn to add applications in environments. Make sure you have a comprehensive understanding of environments before you continue. Availability Available only on Creator 6 version and all paid plans. Super admins and admins ...
                                                                                                                            • Understanding environments

                                                                                                                              In a nutshell Environments in Zoho Creator provide a structured platform for developing, testing, and deploying changes to the live application efficiently. It serves as an SDLC framework within Creator, enabling phased software development by ...
                                                                                                                            • Managing applications in the environments

                                                                                                                              What does this page cover Learn how to edit, access, view logs, and configure settings like demo users, notifications, schedules, and variables across environments. Before proceeding, make sure you have a comprehensive understanding of the ...
                                                                                                                            • Application statuses in environments

                                                                                                                              What does this page cover Learn how environment statuses reflect the state of your application when adding or publishing it in environments. Before you proceed, ensure you have a clear understanding of environments and the process of adding and ...
                                                                                                                            • Remove applications from environments

                                                                                                                              What does this page cover Learn how to remove applications from an environment. This disables the environment feature for those apps, but allows you to access them as non-environment apps. These standalone apps will be available under Solutions. ...
                                                                                                                              Wherever you are is as good as
                                                                                                                              your workplace

                                                                                                                                Resources

                                                                                                                                Videos

                                                                                                                                Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                                                eBooks

                                                                                                                                Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                                                Webinars

                                                                                                                                Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                                                CRM Tips

                                                                                                                                Make the most of Zoho CRM with these useful tips.



                                                                                                                                  Zoho Show Resources