<#ftl output_format="JSON"> <#-- The macro for generating template metadata for a new Knowledge Center --> <#macro newKnowledgeCenter request uuid name parentUuid recipeObjectId description adminGroups="" readerGroups=""> { <#-- recipe section --> "objectStatus": "NEW", "replaceable": false, "recipeObjectId": "${recipeObjectId}", "templateForCreate": "createKnowledgeCenter.ftlx", <#-- bindings section --> "uuid": "${uuid}", "versionUuids": ["${request.generateUuid("")}"], "parentUuid": "${parentUuid}", <#if adminGroups?has_content> "administratorGroups": ${adminGroups}, <#if readerGroups?has_content> "readerGroups": ${readerGroups}, "isReadersInherit": false, "isAuthorsInherit": false, "isAdministratorsInherit": false, <#-- i18n section --> "name": "${name?json_string}", "description": "${description?json_string}" }