Skip to content
MoritakaSoma edited this page Aug 10, 2016 · 5 revisions

English/日本語


Version 2.3 系から Version 2.4 系へのアップデート

CouchDBのビューをアップデートする必要があります。

CouchDBのUIから、該当のリポジトリを選択、Design Document から、"_design/_repo" をえらび、ソースを表示ダブルクリックで編集モードに入り、

       "childrenNames": {
       "map": "function(doc) {var result={}; result[doc.name]=doc._id; if (doc.type == 'cmis:document' || doc.type == 'cmis:folder')   emit(doc.parentId, doc.name);}"
   }

       "childrenNames": {
       "map": "function(doc) {var result={}; result[doc.name]=doc._id; if (doc.type == 'cmis:document' && doc.latestVersion || doc.type == 'cmis:folder')   emit(doc.parentId, doc.name);}"
   }

に変更し、保存します。

Version 2.3.6 以前から Version 2.3.7 以降へのバージョンアップ

CouchDBに新しいビューを追加しないとフォルが作成できません。

CouchDBのUIから、該当のリポジトリを選択、Design Document から、"_design/_repo" をえらび、ソースを表示ダブルクリックで編集モードに入り、

       "changes": {
           "map": "function(doc) { if (doc.type == 'change')  emit(doc._id, doc) }"
       }

の後ろに

,
       "childrenNames": {
           "map": "function(doc) {var result={}; result[doc.name]=doc._id; if (doc.type == 'cmis:document' || doc.type == 'cmis:folder')   emit(doc.parentId, doc.name);}"
       }

を追加し、保存します。

Clone this wiki locally