Active
Project:
CMIS API
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
17 May 2011 at 05:40 UTC
Updated:
4 Feb 2013 at 10:56 UTC
Hi! As i add a new CMIS Field into a Content Type I get the error in the picture.
I have installed "CMIS API 7.x-1.x-dev". enabled CMIS API, CMIS common, CMIS repositories. I have also added these lines to settings.php file:
$conf['cmis_sync_map']['page']['fields'] = array(
'title' => 'cmis:name',
'custom_cck_field' => 'some cmis custom property'
);
$conf['cmis_sync_map']['page']['fields'] = array(
array('drupal' => 'title', 'cmis' => 'cmis:name', 'drupal to cmis' => TRUE, 'cmis to drupal' => TRUE),
array('drupal' => 'custom_cck_field', 'cmis' => 'some cmis custom property', 'drupal to cmis' => TRUE, 'cmis to drupal' => TRUE),
// copy cmis:objectId to custom_cck_field2 drupal field.
// 'drupal to cmis' => FALSE, 'cmis to drupal' => TRUE means that only custom_cck_field2 Drupal field is updated.
// sync process will not try to update cmis:objectId from custom_cck_field2 field's value.
array('drupal' => 'custom_cck_field2', 'cmis' => 'cmis:objectId', 'drupal to cmis' => FALSE, 'cmis to drupal' => TRUE)
);
Any idea how to make CMIS Field work?
Comments
Comment #1
mehuls commentedI did same configuration with both synchronization TRUE.
But only default cmis fields are being migrated i am not able to migrate fields of custom content type of alfresco.
Following are my settings.
What i get is only creation date is migrated from alfresco content other fields are not being migrated.....
And yes one more thing
when i edit this migrated content and value of cck_field 1,2,3 it gets update on alfresco on cron run.
Comment #2
IanNorton commentedNeeds working on - I think there is a more general issue with custom CMIS fields coming through the CMIS PHP lib, will work on that first and once fixed roll changes into the sync implementation.