スマートフォルダのプロパティ設定
このページでは、Alfresco Content Services のスマートフォルダに関連するプロパティについて説明します。
スマートフォルダ
スマートフォルダを設定するのに使用できるプロパティがいくつかあります。これらの設定を使用することで、環境にあわせてカスタマイズすることが可能です。
設定内容
スマートフォルダのシステムプロパティは、デフォルトだと次の内容が設定されています。
| プロパティ名 | システムの初期値 | |
|---|---|---|
| 1 | smart.folders.enabled | FALSE |
| 2 | smart.folders.model | <システムとしては設定されていません> |
| 3 | smart.folders.model.labels | <システムとしては設定されていません> |
| 4 | smart.reference.classpath.hash | ${smart.folders.config.vanilla.processor.classpath}->1,${smart.folders.config.system.templates.classpath}->2 |
| 5 | smart.download.associations.folder | ${spaces.dictionary.childname}/${spaces.smartdownloads.childname} |
| 6 | smart.folders.config.vanilla.processor.classpath | /org/alfresco/repo/virtual/node/vanilla.js |
| 7 | smart.folders.config.system.aspect | smf:systemConfigSmartFolder |
| 8 | smart.folders.config.system.aspect.template.location.property | smf:system-template-location |
| 9 | smart.folders.config.system.templates.classpath | /org/alfresco/repo/virtual/node |
| 10 | smart.folders.config.system.templates.path | ${spaces.dictionary.childname}/${spaces.smartfolders.childname} |
| 11 | smart.folders.config.system.templates.template.type | smf:smartFolderTemplate |
| 12 | smart.folders.config.custom.aspect | smf:customConfigSmartFolder |
| 13 | smart.folders.config.custom.aspect.template.association | smf:custom-template-association |
| 14 | smart.folders.config.type.templates.path | ${spaces.dictionary.childname}/${spaces.smartfolders.childname} |
| 15 | smart.folders.config.type.templates.qname.filter | none |
これらの設定を上書きする場合、<Alfresco Content Services のインストールディレクトリ>/tomcat/shared/classes/alfresco-global.properties ファイルに設定をしてサービスを再起動する必要があります。
<Alfresco Content Services のインストールディレクトリ>/tomcat/shared/classes/alfresco-global.properties.sample ファイルをコピーして前述のファイルを作成した場合、次のような記載がすでにあります。
#Smart Folders Config Properties
smart.folders.enabled=true
smart.folders.model=alfresco/model/smartfolder-model.xml
smart.folders.model.labels=alfresco/messages/smartfolder-model
#Smart reference config
#smart.reference.classpath.hash=${smart.folders.config.vanilla.processor.classpath}->1,${smart.folders.config.system.templates.classpath}->2
#Smart store config
#Company home relative download associations of smart entries
#smart.download.associations.folder=${spaces.dictionary.childname}/${spaces.smartdownloads.childname}
#Generic virtualization methods config
#Vanilla JSON templates javascript processor classpath. A java script processor used to
#covert JSON templates to internal smart folder definitions.
#smart.folders.config.vanilla.processor.classpath=/org/alfresco/repo/virtual/node/vanilla.js
#System virtualization method config
#System virtualization method aspect.
#smart.folders.config.system.aspect=smf:systemConfigSmartFolder
#System virtualization method aspect defined template location property.
#smart.folders.config.system.aspect.template.location.property=smf:system-template-location
#Classpath to be explored for *.json entries defining system templates.
#smart.folders.config.system.templates.classpath=/org/alfresco/repo/virtual/node
#A company home relative name or qname path location of repository system templates.
#smart.folders.config.system.templates.path=${spaces.dictionary.childname}/${spaces.smartfolders.childname}
#Content sub type of repository system templates.
#smart.folders.config.system.templates.template.type=smf:smartFolderTemplate
#Custom virtualization method config
#Custom virtualization method aspect.
#smart.folders.config.custom.aspect=smf:customConfigSmartFolder
#Custom virtualization method aspect template content association.
#smart.folders.config.custom.aspect.template.association=smf:custom-template-association
#Type virtualization method config
#A company home relative name or qname path location of the type mapped templates.
#smart.folders.config.type.templates.path=${spaces.dictionary.childname}/${spaces.smartfolders.childname}
#Type and aspect qname regular expression filter.
#smart.folders.config.type.templates.qname.filter=none
ここから設定を適宜変更して、Alfresco Content Services のサービスを再起動します。
, multiple selections available, Use left or right arrow keys to navigate selected items
リックソフト株式会社 は、日本でトップレベルのAtlassian Platinum Solution Partnerです。
大規模ユーザーへの対応実績が認められたEnterpriseの認定をうけ、高度なトレーニング要件をクリアし、小規模から大規模のお客様まで対応可能な実績を示したパートナー企業です。
Copyright © Ricksoft Co., Ltd. プライバシーポリシー お問い合わせ