Duplicity In deployment

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • abhilash.kumar.niit
    Member
    • Sep 2024
    • 68

    Duplicity In deployment

    Hi i am deploying the code from one server to another while deploying the code using command line i find a problem i:e the custom buttons and code is appended instead of overriding . i believe i am using wrong command or parameter to deploy can any one help me in this?? below is the command i am using.

    sudo bin/command export-import export --entity-list="Workflow, WorkflowCategory, WorkflowCategoryPath, customization"
  • victor
    Active Community Member
    • Aug 2022
    • 847

    #2
    Please clarify what exactly you mean by "custom buttons": is this your personal code or the buttons from Manual Workflow?

    Only these files will be appended:

    HTML Code:
    'custom/Espo/Custom/Resources/i18n/,
    'custom/Espo/Custom/Resources/metadata/,
    'custom/Espo/Custom/Resources/routes.json',
    'custom/Espo/Custom/Resources/metadata/formula/*.json',
    Other overwritten.

    This documentation describes the correct way to export-import workflows with custom entities: https://docs.espocrm.com/extensions/...port/#workflow.

    For example for Export:
    bin/command export-import export --format=json --path="./data/export-import" --entity-list="Workflow, WorkflowCategory, WorkflowCategoryPath, CustomEntity" --skip-config --skip-customization --skip-related-entities
    Last edited by victor; 03-17-2025, 10:56 AM.

    Comment

    Working...