To illustrate, I am importing JSON for two templates: categories and category. The childTemplates for the categories template is category and the parentTemplates for the category template is categories.
All the necessary data is present in the import JSON, but currently the import process defaults to not importing the templates and showing these warnings:
The workaround is to manually select "Yes" for "Create this template?" for each template, and after importing to to then run the import process again in order to get the childTemplates and parentTemplates properties imported.
But it would be nice if the import process could realise that the templates referenced in childTemplates and parentTemplates are actually present in the import data and therefore default to enabling "Create this template?" and automatically running the import again if this is necessary to complete the import.
I expect that something similar would be useful for Import Fields, e.g. showIf/requiredIf references.
To illustrate, I am importing JSON for two templates: categories and category. The
childTemplatesfor the categories template iscategoryand theparentTemplatesfor the category template iscategories.All the necessary data is present in the import JSON, but currently the import process defaults to not importing the templates and showing these warnings:
The workaround is to manually select "Yes" for "Create this template?" for each template, and after importing to to then run the import process again in order to get the
childTemplatesandparentTemplatesproperties imported.But it would be nice if the import process could realise that the templates referenced in
childTemplatesandparentTemplatesare actually present in the import data and therefore default to enabling "Create this template?" and automatically running the import again if this is necessary to complete the import.I expect that something similar would be useful for Import Fields, e.g. showIf/requiredIf references.