How get Alfresco TAGs in Alfresco-Drupal integration ?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2012 06:48 AM
Hi all,
I'm developing the Alfresco-Drupal integration through CMIS using Drupal module (http://www.drupal.org/project/cmis), but I don't find a way to retrieve Alfresco TAGs on Drupal.
Any idea? Is it possible to access and manage tags in Drupal?
Thanks for helping with this!!
this is php code in settings.php file
This is the code for CMIS hook
I'm developing the Alfresco-Drupal integration through CMIS using Drupal module (http://www.drupal.org/project/cmis), but I don't find a way to retrieve Alfresco TAGs on Drupal.
Any idea? Is it possible to access and manage tags in Drupal?
Thanks for helping with this!!
this is php code in settings.php file
/*Repository Configuration————————*/ $conf['cmis_repositories'] = array( 'default' => array( 'user' => 'admin', 'password' => 'admin', 'url' => 'http://it02.cloud.lan:8080/alfresco/s/cmis', 'label' => 'Alfresco' ));/*Drupal-CMIS synchronization—————————*/$conf['cmis_sync_map'] = array( /* 'page' => array( 'enabled' => TRUE, 'full_sync_next_cron' => TRUE, 'cmis_sync_cron_enabled' => TRUE, 'cmis_sync_nodeapi_enabled' => FALSE, 'cmis_folderPath' => '/Sites/swsdp/documentLibrary/test4', ), */ 'content_type_cmis' => array( 'enabled' => TRUE, 'full_sync_next_cron' => TRUE, 'cmis_sync_cron_enabled' => TRUE, 'cmis_sync_nodeapi_enabled' => FALSE, 'cmis_folderPath' => '/Sites/swsdp/documentLibrary/presentations', 'fields' => array( 'title' => 'cmis:name', 'field_cmis_objectid' => 'cmis:versionSeriesId', 'field_name_doc_from_cmis' => 'cmis:contentStreamMimeType', 'body' => 'cmis:name' ) ));
This is the code for CMIS hook
function cmis_sync_sync_cmis_drupal_prepare($cmis_object, $node) { $link = "<a target=\"_blank\" href=\"http://newwebsite.esteco.lan/cmis/browser?id="; $link = $link . (string)$cmis_object->id ; $link = $link . "\">" . $cmis_object->properties['cmis:name'] . "</a>" ; if (strstr($cmis_object->properties['cmis:contentStreamMimeType'] ,"text/")){ $node->body = $node->body . "<br><br><br> "; } else { $node->body = "<br><br><br> "; } $node->body = $node->body . "<br><br><br><br><br><br>" . $link ; return $node;}
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2013 10:55 AM
Did you ever find a solution for this? Synchronizing tags or for that matter any other custom field from Alfresco to Drupal?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2015 07:58 AM
I have similar requirement, however I am not getting any properties to fetch tags from $cmis_object.. Anybody has any idea?
