Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
I am using Alfresco 3.2r2 and Drupal 6.15. I am looking for a way to display the HTML content from Alfresco within a Drupal block. Is this possible? I would appreciate any pointers.
In what way do you need that content to be displayed in Drupal ?
If you just need one specific object from alfresco, you can use cmis_browser's get action.
If you know alfresco's objectId, you can add in your block a call to http://your-drupal-host/cmis/get?id=[objectId]
If you need a more dynamic way, you can use cmis_sync + views module:
create a new Drupal content type
config cmis_sync following basic config(check out README.txt) for previous created content type
create a block with views module that displays nodes of previous created content type.
The downside of this approach is that Alfresco content will come up after Drupal cron has run.
For these you'll need to have cmis_repositories config var setup. See cmis's README.txt
Thank you for your quick response. I am trying to set up Alfresco as a repository for web content. Drupal would be used to display the HTML content such as the name and the body generated from Alfresco.
I have tried the Alfresco-specific module and can get “Alfresco Item” to show up as a link in Drupal. However, clicking the link opens a new page that only shows the content from Alfresco with no theme applied. What I am looking for is a way to display the content (such as the title and body) within a Drupal block. I also need the content to sync from Alfresco which doesn’t appear to be an option.
The new CMIS-API seems like the best way to go. Before I can get to the issue of displaying content from Alfresco, I need to get past some configuration issues. I applied the configuration in the settings.php file:
$conf['cmis_sync_map'] = array(
'page' => array(
'enabled' => TRUE,
'cmis_folderPath' => '/SomePath'
)
);
I changed: 'url' => 'http://path/to/cmis/interface' to 'url' => 'http://localhost:8080/alfresco' and I’m getting an error “Unknown CMIS vendor: cmis_alfresco”. Also, I’m also not sure how to set ‘SomePath’. Can you give some pointers on how to set this up?
I’m sorry if all of this seems to be fundamental. Once I get this figured out, I’m sure I will have more questions about displaying the content from Alfresco into Drupal.
- somePath means the folder in Alfresco that contains web content that needs to be synced with drupal nodes.
Feel free to create a folder in Alfresco, let's say /drupal-items, under root.
Put inside it your html files. Update drupal's $conf var with cmis_folderPath=> '/drupal-items'.
Next time when drupal cron runs you should find nodes created by cmis_sync.
- regarding cmis_alfresco error, can you clean your drupal's variable table ? just run in mysql> delete from variable where name='cmis_vendor' ;
So far this doesn't seem to be working. I set the Alfresco path to http://localhost:8080/alfresco/s/cmis and created a folder called 'drupal-items' in the root folder for Alfresco. Drupal's variable table in MySQL is clean.
When I run cron, I get an error 'Cron run exceeded the time limit and was aborted' from Drupal. Also, when I try the CMIS Information and CMIS Repository links I get a 500 error in IE (and a blank page in Firefox).
In order to make sure that drupal side is working propertly, can you update your configuration to hit cmis.alfresco.com demo server ?
demo cmis server configs:
'user' => 'admin',
'password' => 'admin',
'url' => 'http://cmis.alfresco.com/s/cmis'
Still having the same issues as before. I wanted to double-check about the 'cmis_folderPath'. The folder is inside of the Alfresco/Tomcat setup at webapps\alfresco\drupal-items. Is that the correct location?
Regarding that folder, you need to create that folder(In Alfresco is called "space") using Alfresco's UI, or from cmis_browser's browser screen( http://localhost/drupal/cmis/browser )
See the action panel under location textfield.
Same 500 error when browsing to 'CMIS Information' or 'CMIS Repository' links and a 'Cron run exceeded the time limit and was aborted' error when running cron.
I have an update from my previous posting. I'm not sure why but the Cron issues seems to be OK now. I'm using this configuration in my settings.php file:
Success! I can now see the Alfresco information and browse the Alfresco repository. Thank you!
Now back to my original question. What is the best way to display content from HTML pages stored in Alfresco? For example, I want to have a content type in Drupal that displays the name, teaser, and body from HTML content in Alfresco. Is this stored in Drupal's database somewhere? Is creating a view the best option?
Ideally I am looking to be able to have somebody create/edit/approve content in Alfresco and have it publish to our Drupal web site. hopefully this possible.
Regarding publishing it, easiest way to do this would be the cmis_sync + views approach.
You'll need to define your workflow back in alfresco and map the publish folder to cmis_sync, which will create drupal nodes.
Once those nodes are created, you can use views module to define your block.
I just wanted to give an update of how things are going. I still couldn't get the 6.x-3.0-rc1 to work consistently on two different environments (one Windows and the other Linux). However, I was able to get the 6.x-3.0-dev version (2010-Mar-05) working. I finally figured out that when I create new content (a page to be specific) in Drupal, it shows up in the intended Alfresco folder.
I haven't tried it yet, but I am hoping this works when I create a new content type in Drupal or if I create content in Alfresco. I'll keep you posted.
It appears I have the same issues, but I don't seem to be able to derive the solution from the above. I had Drupal hooked up to the Joomla/Alfresco demo server over at Alfresco (including browsing and querying), but when I updated the modules, things became a whole lot less clear and stopped working altogether:
Without dealing with my own Alfresco installation and just to verify that I got the Drupal part correctly set up, it seems like a good idea to connect to the above mentioned server: cmis.alfresco.com
So, I have this as my starting point in the settings file:
// cmis repository def
$conf['cmis_repositories'] = array(
'default' => array(
'user' => 'admin',
'password' => 'admin',
'url' => 'http://cmis.alfresco.com/s/cmis'
)
);
I ran cron. Was there something to be changed in cron.php, though?
Since the above is all solely dependent on how the demo server is setup, the quickest way to check the Drupal side of things would be to post a complete correct example setting. Then, it would be just a matter to map things similarly for each Alfresco installation.
I'm a little less confident this solution will reliably work than I was three weeks ago and greatly appreciate any help.
Good Moorning.
I have my own drupal and alfresco in the same server. I download the last version of cmis api and I'm trying to synchronize with Alfresco.
I can see and authentication user & password and if I write admin as a user and 123456789 for password I download CMIS file with no problem. I attach the cmis file if you can help me.
It would be really nice to have some of these documented in the module or in the project page. I had some hard time figuring the endpoint URI (Alfresco n00b).
but i get weird error messages... and any content created in alfresco has a title but no body.
Notice: Undefined index: widget_type in _cmis_sync_drupal_node_field_value() (line 206 of C:\wamp\www\health-alliance-new\sites\all\modules\cmis\cmis_sync\cmis_sync.drupal.inc).
Notice: Undefined variable: content_type in _cmis_sync_drupal_node_field_value() (line 277 of C:\wamp\www\health-alliance-new\sites\all\modules\cmis\cmis_sync\cmis_sync.drupal.inc).
Unsupported sync drupal content field type [] for field [body]. Please review your configuration.
yeh, i am also receiving the same errors/notices that 8W_gremlin has been receiving. the exact same message. i am trying to integrate alfresco and drupal and i have entered the same code (bar the folderpath) to settings.php. could you please assist in remedying this issue because i can also see the content title but i cannot seem to vie the actual content. in addition, i am also failing to sync content created in drupal into Alfresco, even after running CRON.
any assistance would be greatly appreciated
Reading through the message thread, I believe the code pushes and patches in the last 3 months should have fixed these issues on the 7.x branch, please re-open this thread if you are still having issues with the CMIS API.
I have my own Drupal site (version 7.21) as well as Alfresco (v3.4.0) in my own server. I download the latest versions of Alfresco module (7.x-1.x-dev) and CMIS API (7.x-1.2).
In status report, all seem to be OK as I get Alfresco repository --> Alfresco mimetype=|encoding=|size=0 - v3.4.0 (3419). Moreover, in Alfresco global settings, the URL repository is http://127.0.0.1:8080/alfresco/api and Username-Password admin.
But I cannot connect to repository. More specifically, I want to add a field like (http://www.youtube.com/watch?v=j_HWpM47MVA) and when I'm trying to save like 1:28, I get the error "CMISException: Unable to lookup CMIS repository [default] in cmis_get_repository". The same error appears when I try to browse CMIS repository "Cmis Error, Unable to lookup CMIS repository [default]".
I did #10 in settings.php but still nothing. My Alfresco repository works fine but I cannot get the 2 systems synchronize.
Latest version of this module does not seem to connect.Using Alfresco 4.x community ed on alfresco/atompub.
If anyone actually has a successful connection with a repository, please comment.
Thanks
[EDIT: I solved my issue. See https://drupal.org/node/1863274#comment-7584963]
I am using Alfresco alfresco-community-5.0.d and cmis-7.x-1.6 and cmis_views-7.x-1.1. Foloowing is my configuration in settings.php
$conf['cmis_repositories'] = array(
'default' => array(
'user' => 'admin',
'password' => 'admin',
'url' => 'http://127.0.0.1:8080/alfresco/api/-default-/public/cmis/versions/1.0/atom'
)
);
Sync is working however content_field is not getting fetched in node body. I tried to debug this issue and found that it's breaking on below line where it is not finding "edit-media" because it's not set in $this->_link_cache.(File: cmis_repository_wrapper.php)
$myURL = $this->getLink($objectId,"edit-media");
However when I had used Alfresco 4.2 c , it was properly getting fetched. Is that a version compatibility issue? which version is supported?
Comments
Comment #1
cbalan commentedHey Tmhilton,
In what way do you need that content to be displayed in Drupal ?
If you know alfresco's objectId, you can add in your block a call to http://your-drupal-host/cmis/get?id=[objectId]
The downside of this approach is that Alfresco content will come up after Drupal cron has run.
For these you'll need to have cmis_repositories config var setup. See cmis's README.txt
Please let me know how this goes.
Thank you,
Catalin Balan
Comment #2
cbalan commentedComment #3
tmhilton commentedThank you for your quick response. I am trying to set up Alfresco as a repository for web content. Drupal would be used to display the HTML content such as the name and the body generated from Alfresco.
I have tried the Alfresco-specific module and can get “Alfresco Item” to show up as a link in Drupal. However, clicking the link opens a new page that only shows the content from Alfresco with no theme applied. What I am looking for is a way to display the content (such as the title and body) within a Drupal block. I also need the content to sync from Alfresco which doesn’t appear to be an option.
The new CMIS-API seems like the best way to go. Before I can get to the issue of displaying content from Alfresco, I need to get past some configuration issues. I applied the configuration in the settings.php file:
$conf['cmis_repositories'] = array(
'default' => array(
'user' => '',
'password' => '',
'url' => 'http://path/to/cmis/interface'
)
);
$conf['cmis_sync_map'] = array(
'page' => array(
'enabled' => TRUE,
'cmis_folderPath' => '/SomePath'
)
);
I changed: 'url' => 'http://path/to/cmis/interface' to 'url' => 'http://localhost:8080/alfresco' and I’m getting an error “Unknown CMIS vendor: cmis_alfresco”. Also, I’m also not sure how to set ‘SomePath’. Can you give some pointers on how to set this up?
I’m sorry if all of this seems to be fundamental. Once I get this figured out, I’m sure I will have more questions about displaying the content from Alfresco into Drupal.
I appreciate your patience and help.
Best regards,
Tod
Comment #4
cbalan commentedHey Tod,
Here are some pointers:
- for Alfresco, please use: http://localhost:8080/alfresco/s/cmis as endpoint url
- somePath means the folder in Alfresco that contains web content that needs to be synced with drupal nodes.
Feel free to create a folder in Alfresco, let's say /drupal-items, under root.
Put inside it your html files. Update drupal's $conf var with cmis_folderPath=> '/drupal-items'.
Next time when drupal cron runs you should find nodes created by cmis_sync.
- regarding cmis_alfresco error, can you clean your drupal's variable table ? just run in mysql> delete from variable where name='cmis_vendor' ;
Please let me know if this worked.
Thank you,
Catalin Balan
Comment #5
tmhilton commentedSo far this doesn't seem to be working. I set the Alfresco path to http://localhost:8080/alfresco/s/cmis and created a folder called 'drupal-items' in the root folder for Alfresco. Drupal's variable table in MySQL is clean.
When I run cron, I get an error 'Cron run exceeded the time limit and was aborted' from Drupal. Also, when I try the CMIS Information and CMIS Repository links I get a 500 error in IE (and a blank page in Firefox).
Another thing I tried was browsing to the http://localhost:8080/alfresco/s/cmis link and I get an error 'Web Script Status 404 - Not Found' from alfresco. I did some digging and found that http://localhost:8080/alfresco/service/api/cmis will take me to the CMIS webscript. I'm not sure if that means anything.
Let me know if I can provide any more information. I would love to get this up and running soon.
Thanks for all of your help so far.
Tod
Comment #6
cbalan commentedHey Tod,
In order to make sure that drupal side is working propertly, can you update your configuration to hit cmis.alfresco.com demo server ?
demo cmis server configs:
'user' => 'admin',
'password' => 'admin',
'url' => 'http://cmis.alfresco.com/s/cmis'
Thank you,
Catalin Balan
Comment #7
tmhilton commentedHi Catalin
I tried it with the following in the settings.php file:
$conf['cmis_repositories'] = array(
'default' => array(
'user' => 'admin',
'password' => 'admin',
'url' => 'http://cmis.alfresco.com/s/cmis'
)
);
// cmis synchronization map
$conf['cmis_sync_map'] = array(
'page' => array ( // minimal settings.
'enabled' => TRUE,
'cmis_folderPath' => '/drupal-items'
));
Still having the same issues as before. I wanted to double-check about the 'cmis_folderPath'. The folder is inside of the Alfresco/Tomcat setup at webapps\alfresco\drupal-items. Is that the correct location?
Comment #8
cbalan commentedHey Tod,
Regarding that folder, you need to create that folder(In Alfresco is called "space") using Alfresco's UI, or from cmis_browser's browser screen( http://localhost/drupal/cmis/browser )
See the action panel under location textfield.
Thank you,
Catalin Balan
Comment #9
tmhilton commentedI was wondering about the Alfresco 'space' issue. I've created a space called drupal-items under Guest Home.
I've also tried a couple of different things with the settings as described below:
1. No repository or synchronization settings in settings.php = Drupal error 'Unable to lookup CMIS repository [default]'
2. Using just the following in settings.php:
// cmis repository def
$conf['cmis_repositories'] = array(
'default' => array(
'user' => 'admin',
'password' => 'admin',
'url' => 'http://localhost:8080/alfresco/s/cmis'
)
);
Results in 500 error when browsing to 'CMIS Information' or 'CMIS Repository' links, and cron runs successfully.
Also, using 'url' => 'http://cmis.alfresco.com/s/cmis' results in the same 500 error.
3. Adding the following in settings.php:
// cmis synchronization map
$conf['cmis_sync_map'] = array(
'page' => array(
'enabled' => TRUE,
'cmis_folderPath' => '/drupal-items'
)
);
Same 500 error when browsing to 'CMIS Information' or 'CMIS Repository' links and a 'Cron run exceeded the time limit and was aborted' error when running cron.
Any thoughts?
Thanks,
Tod
Comment #10
tmhilton commentedI have an update from my previous posting. I'm not sure why but the Cron issues seems to be OK now. I'm using this configuration in my settings.php file:
// cmis repository def
$config['cmis_repositories'] = array(
'default' => array(
'user' => 'admin',
'password' => 'admin',
'url' => 'http://localhost:8080/alfresco/s/cmis'
)
);
// cmis synchronization map
$conf['cmis_sync_map'] = array(
'page' => array ( // minimal settings.
'enabled' => TRUE,
'cmis_folderPath' => '/Company%20Home'
));
Now I just get the error message 'Unable to lookup CMIS repository []' when browsing to 'CMIS Information' or 'CMIS Repository' links.
Thanks again for all of your help so far.
Tod
Comment #11
cbalan commentedHey Tod,
I've might have gave you the wrong conf var name.
Can you please make sure that your settings.php contains $conf in place of $config ?
Thank you,
Catalin Balan
Comment #12
tmhilton commentedHi Catalin,
Success! I can now see the Alfresco information and browse the Alfresco repository. Thank you!
Now back to my original question. What is the best way to display content from HTML pages stored in Alfresco? For example, I want to have a content type in Drupal that displays the name, teaser, and body from HTML content in Alfresco. Is this stored in Drupal's database somewhere? Is creating a view the best option?
Ideally I am looking to be able to have somebody create/edit/approve content in Alfresco and have it publish to our Drupal web site. hopefully this possible.
Thanks again for all your help.
Tod
Comment #13
cbalan commentedAwesome!
Regarding publishing it, easiest way to do this would be the cmis_sync + views approach.
You'll need to define your workflow back in alfresco and map the publish folder to cmis_sync, which will create drupal nodes.
Once those nodes are created, you can use views module to define your block.
Please let me know if this worked for you.
Thank you,
Catalin Balan
Comment #14
tmhilton commentedOK - maybe I spoke too soon.
I can browse to the Alfresco repository successfully. However, I don't think the cmis_sync is working properly. Here is what I have in settings.php
// cmis synchronization map
$conf['cmis_sync_map'] = array(
'page' => array ( // minimal settings.
'enabled' => TRUE,
'cmis_folderPath' => '/Guest%20Home/drupal'
));
Should I be seeing a new node generated in Drupal? I don't see anything in the cmis_sync_node table in MySQL.
Thanks,
Tod
Comment #15
tmhilton commentedMore success!!
I just wanted to give an update of how things are going. I still couldn't get the 6.x-3.0-rc1 to work consistently on two different environments (one Windows and the other Linux). However, I was able to get the 6.x-3.0-dev version (2010-Mar-05) working. I finally figured out that when I create new content (a page to be specific) in Drupal, it shows up in the intended Alfresco folder.
I haven't tried it yet, but I am hoping this works when I create a new content type in Drupal or if I create content in Alfresco. I'll keep you posted.
Thanks again for your help and patience.
Tod
Comment #16
ruediklein commentedCatalin,
It appears I have the same issues, but I don't seem to be able to derive the solution from the above. I had Drupal hooked up to the Joomla/Alfresco demo server over at Alfresco (including browsing and querying), but when I updated the modules, things became a whole lot less clear and stopped working altogether:
Without dealing with my own Alfresco installation and just to verify that I got the Drupal part correctly set up, it seems like a good idea to connect to the above mentioned server: cmis.alfresco.com
So, I have this as my starting point in the settings file:
// cmis repository def
$conf['cmis_repositories'] = array(
'default' => array(
'user' => 'admin',
'password' => 'admin',
'url' => 'http://cmis.alfresco.com/s/cmis'
)
);
// cmis synchronization map
$conf['cmis_sync_map'] = array(
'page' => array ( // minimal settings.
'enabled' => TRUE,
'cmis_folderPath' => '/drupal-items'
)
);
The result is: Unknown CMIS vendor: cmis_alfresco
I ran cron. Was there something to be changed in cron.php, though?
Since the above is all solely dependent on how the demo server is setup, the quickest way to check the Drupal side of things would be to post a complete correct example setting. Then, it would be just a matter to map things similarly for each Alfresco installation.
I'm a little less confident this solution will reliably work than I was three weeks ago and greatly appreciate any help.
Best Regards,
Ruedi
Comment #17
cbalan commentedHey Ruedi,
Regarding cmis_alfresco error, can you clean your drupal's variable table ? just run in mysql> delete from variable where name='cmis_vendor'
Please let me know if this worked for you.
Thank you,
Catalin Balan
Comment #18
ruediklein commentedThank you. I ran the above command from phpAdmin. It deleted one row.
Going to the site http://www.pdma.us/?q=cmis/browser still resulted in 'Unknown CMIS vendor: cmis_alfresco'.
I then cleared the cache from the Content Management tab and now it works! Wonderful.
Now I just have to figure out my own Alfresco implementation and I'm all set.
Thanks again for the quick help.
Ruedi
Comment #19
cbalan commentedAwesome.
Then I think that we can mark this issue as fixed.
Thank you,
Catalin Balan
Comment #20
cbalan commentedComment #25
dimes commentedGood Moorning.
I have my own drupal and alfresco in the same server. I download the last version of cmis api and I'm trying to synchronize with Alfresco.
I add this lines to the settings.php file.
$conf['cmis_repositories'] = array(
'default' => array(
'user' => 'admin',
'password' => '123456789',
'url' => 'http://localhost:8080/alfresco/s/cmis'
)
);
$conf['cmis_sync_map'] = array(
'page' => array(
'enabled' => TRUE,
'cmis_folderPath' => '/Company%20Home'
),
When I go to the CMIS Repositorie I have this Message
Unable to show CMIS Repositorie
I do several tests and when I go to :
http://localhost:8080/alfresco/s/cmis
I can see and authentication user & password and if I write admin as a user and 123456789 for password I download CMIS file with no problem. I attach the cmis file if you can help me.
Thanks.
Comment #26
franzIt would be really nice to have some of these documented in the module or in the project page. I had some hard time figuring the endpoint URI (Alfresco n00b).
Comment #27
RMani commentedI have a similar issue .
I get blank pages when i go to CMIS information and CMIS Repository
Could you please help
Comment #28
8w_gremlin commentedJust getting started with this in Drupal 7, and I have everything connected, and can see the Alfresco repositories.
but i can't seem to get the link up working...
$conf['cmis_sync_map'] = array(
'article' => array(
'enabled' => TRUE,
'deletes' => TRUE,
'cmis_repositoryId' => 'default',
'cmis_folderPath' => '/Sites/scenarioSixWCM/documentLibrary/drupal',
'content_field' => 'body',
'full_sync_next_cron' => 'TRUE'
)
);
but i get weird error messages... and any content created in alfresco has a title but no body.
Notice: Undefined index: widget_type in _cmis_sync_drupal_node_field_value() (line 206 of C:\wamp\www\health-alliance-new\sites\all\modules\cmis\cmis_sync\cmis_sync.drupal.inc).
Notice: Undefined variable: content_type in _cmis_sync_drupal_node_field_value() (line 277 of C:\wamp\www\health-alliance-new\sites\all\modules\cmis\cmis_sync\cmis_sync.drupal.inc).
Unsupported sync drupal content field type [] for field [body]. Please review your configuration.
Any help would be greatly recieved...
thanks
Comment #29
Zimsil commentedyeh, i am also receiving the same errors/notices that 8W_gremlin has been receiving. the exact same message. i am trying to integrate alfresco and drupal and i have entered the same code (bar the folderpath) to settings.php. could you please assist in remedying this issue because i can also see the content title but i cannot seem to vie the actual content. in addition, i am also failing to sync content created in drupal into Alfresco, even after running CRON.
any assistance would be greatly appreciated
Comment #30
col_edinburgh commentedSame as RMani, blank screen with alfresco 3.4.d
Comment #31
IanNorton commentedReading through the message thread, I believe the code pushes and patches in the last 3 months should have fixed these issues on the 7.x branch, please re-open this thread if you are still having issues with the CMIS API.
Comment #32
andykan commentedGood morning,
I have my own Drupal site (version 7.21) as well as Alfresco (v3.4.0) in my own server. I download the latest versions of Alfresco module (7.x-1.x-dev) and CMIS API (7.x-1.2).
In status report, all seem to be OK as I get Alfresco repository --> Alfresco mimetype=|encoding=|size=0 - v3.4.0 (3419). Moreover, in Alfresco global settings, the URL repository is http://127.0.0.1:8080/alfresco/api and Username-Password admin.
I have made many tests as mentioned (http://localhost:8080/alfresco/s/cmis) and can download CMIS file with no problem.
But I cannot connect to repository. More specifically, I want to add a field like (http://www.youtube.com/watch?v=j_HWpM47MVA) and when I'm trying to save like 1:28, I get the error "CMISException: Unable to lookup CMIS repository [default] in cmis_get_repository". The same error appears when I try to browse CMIS repository "Cmis Error, Unable to lookup CMIS repository [default]".
I did #10 in settings.php but still nothing. My Alfresco repository works fine but I cannot get the 2 systems synchronize.
Thanks,
Andreas
Comment #33
Yuri commentedLatest version of this module does not seem to connect.Using Alfresco 4.x community ed on alfresco/atompub.
If anyone actually has a successful connection with a repository, please comment.
Thanks
[EDIT: I solved my issue. See https://drupal.org/node/1863274#comment-7584963]
Comment #34
Yuri commentedComment #36
Nishita commentedHi Ian,
I am using Alfresco alfresco-community-5.0.d and cmis-7.x-1.6 and cmis_views-7.x-1.1. Foloowing is my configuration in settings.php
$conf['cmis_repositories'] = array(
'default' => array(
'user' => 'admin',
'password' => 'admin',
'url' => 'http://127.0.0.1:8080/alfresco/api/-default-/public/cmis/versions/1.0/atom'
)
);
$conf['cmis_sync_map'] = array(
'page' => array(
'enabled' => TRUE,
'cmis_type' => 'my:eSakalNewsArticle',
'cmis_repositoryId' => 'default',
'cmis_folderPath' => '/Sites/demo/documentLibrary',
'content_field' => 'body'
),
);
$conf['cmis_sync_map']['page']['fields'] = array(
array('drupal' => 'title', 'cmis' => 'cmis:name', 'cmis to drupal' => TRUE),
array('drupal' => 'field_alfresco_tags','cmis' => 'my:tag' , 'cmis to drupal' => TRUE),
array('drupal' => 'field_alfresco_section', 'cmis' => 'my:section', 'cmis to drupal' => TRUE),
array('drupal' => 'field_reporter','cmis' => 'my:reporter' , 'cmis to drupal' => TRUE)
);
Sync is working however content_field is not getting fetched in node body. I tried to debug this issue and found that it's breaking on below line where it is not finding "edit-media" because it's not set in $this->_link_cache.(File: cmis_repository_wrapper.php)
$myURL = $this->getLink($objectId,"edit-media");
However when I had used Alfresco 4.2 c , it was properly getting fetched. Is that a version compatibility issue? which version is supported?
Need your help urgently.
Thanks.