下一步是将页面组件与新的自适应表单模板关联。 这可确保在每次基于新模板的自适应表单呈现时都执行页面组件中的代码。 在本教程中,新增了一个自适应表单模板,名为 StoreAndRestoreFromAzure 创建于 AzurePortalStorage 文件夹。
导航到/conf/AzurePortalStorage/settings/wcm/templates/storeandrestorefromazure/initial/jcr:content节点,添加以下属性并保存更改。
属性名称 | 属性类型 | 属性值 |
---|---|---|
sling:resourceType | 字符串 | azureportalpagecomponent/component/page/storeandfetch |
导航到/conf/AzurePortalStorage/settings/wcm/templates/storeandrestorefromazure/structure/jcr:content节点,添加以下属性并保存更改。
| 属性名称 | 属性类型 | 属性值 | ---------------------------------------文------------------------------------------------------- | sling:resourceType |字符串 | azureportalpagecomponent/component/page/storeandfetch |