如何在 alfresco bootstrap-context.xml 中引用字典文件夹中的自定义文件夹?
How to refer to a custom folder within the dictionary folder in alfresco bootstrap-context.xml?
我必须通过 bootstrap 将文件上传到自定义文件夹。此自定义文件夹已存在于系统中的以下路径中。
"/app:company_home/app:dictionary/cm:abc_folder"
我正在尝试通过 bootstrap 将文件上传到 abc_folder,custom-bootstrap-context.xml 中的 bean 如下所示。
<bean id="custombootstrapSpaces" parent="spacesStoreImporter" scope="singleton">
<property name="useExistingStore">
<value>true</value>
</property>
<property name="bootstrapViews">
<list>
<props>
<prop key="path">/${spaces.company_home.childname}/${spaces.dictionary.childname}/cm:abc_folder</prop>
<prop key="location">alfresco/module/${project.artifactId}/bootstrap/myScript/abc.xml</prop>
</props>
</list>
</property>
</bean>
此路径抛出模型异常。在字典 space 中引用现有自定义文件夹的正确方法是什么?
Here 是 "Alfresco Tutorials (Bootstrap content)" 的源代码,帮助解决了问题。
我必须通过 bootstrap 将文件上传到自定义文件夹。此自定义文件夹已存在于系统中的以下路径中。
"/app:company_home/app:dictionary/cm:abc_folder"
我正在尝试通过 bootstrap 将文件上传到 abc_folder,custom-bootstrap-context.xml 中的 bean 如下所示。
<bean id="custombootstrapSpaces" parent="spacesStoreImporter" scope="singleton">
<property name="useExistingStore">
<value>true</value>
</property>
<property name="bootstrapViews">
<list>
<props>
<prop key="path">/${spaces.company_home.childname}/${spaces.dictionary.childname}/cm:abc_folder</prop>
<prop key="location">alfresco/module/${project.artifactId}/bootstrap/myScript/abc.xml</prop>
</props>
</list>
</property>
</bean>
此路径抛出模型异常。在字典 space 中引用现有自定义文件夹的正确方法是什么?
Here 是 "Alfresco Tutorials (Bootstrap content)" 的源代码,帮助解决了问题。