Hello,

I have a problem with the CMIS JavaScript, that I can not read the 
repositories, is there a specific options that I need to add? Below is my code

I am using CMIS.js library


var baseURL = 'https://DOMAIN_NAME/cmis/browser';
var session = cmis.createSession(baseURL);

session.setCredentials(username, password);

session.loadRepositories({
            request : {
                success : function(data) {
                    console.log("CMIS Connexion", data);
                },
                error : function(e) {
                    if (e.responseJSON)
                        console.log("Error during the request: ");
                    else
                        console.log("Error during the request: " );
                }
            }
        });


It give error “Uncaught TypeError: Cannot read property 'rootFolderUrl' of 
undefined”, in the LoadRepostories method.

Thanks
Samir

From: Lu, Wentao
Sent: 2015, March 27 4:09 PM
To: Shehadeh, Samir
Subject: FW: Question regarding Chemistry Parts

FYI

From: Ben Chevallereau [mailto:ben.chevaller...@armedia.com]
Sent: 2015, February 24 9:43 AM
To: dev@chemistry.apache.org<mailto:dev@chemistry.apache.org>; Lu, Wentao
Subject: RE: Question regarding Chemistry Parts

Hi,

We used this library for different internal use cases and it works really well. 
After “Chemistry Parts” contains different sub components:
* The jQuery based JS library
* The 2 UI components based on the previous library to browse a repository
* And finally WebParts and AppParts that embed the 2 previous UI components

So, be sure to identify what you really need.

Ben

[http://oi49.tinypic.com/jg2j48.jpg]

Ben Chevallereau | Software Architect
Armedia LLC
website<http://www.armedia.com/> | 
ben.chevaller...@armedia.com<mailto:ben.chevaller...@armedia.com>
2000 Riveredge Parkway NW Suite 775 | Atlanta, Georgia 30328
Phone (866) 398-0323 | Skype benjamin.chevallereau

[http://cdn1.iconfinder.com/data/icons/Set_of_social_icons_by_Tydlinka/32/twitter.png]<http://au.linkedin.com/in/bchevallereau/>
[http://cdn1.iconfinder.com/data/icons/Set_of_social_icons_by_Tydlinka/32/linkedin.png]<https://twitter.com/bchevallereau>
[http://cdn1.iconfinder.com/data/icons/Set_of_social_icons_by_Tydlinka/32/facebook.png]<https://www.facebook.com/bhevallereau>





On February 24, 2015 at 5:40:22 PM, Lu, Wentao 
(wentao...@bchydro.com<mailto:wentao...@bchydro.com>) wrote:
Thanks Jay and Ben for confirm. Not sure why I did not receive your replies.

To answer Ben's question: we don't have any deadline, just want to know if this 
library is mature enough so we can use it in our coming projects.


Wentao

From: Lu, Wentao
Sent: 2015, February 20 10:16 AM
To: dev@chemistry.apache.org<mailto:dev@chemistry.apache.org>
Subject: Question regarding Chemistry Parts

Hi,

We are currently using Chemistry java and .Net API here, but we have more and 
more requests looking for CMIS javascript library and find "Apache Chemistry 
Parts", I have a few questions regarding this library:


1. Looks like it only support "browser" binding in CMIS 1.1, not web service 
and atompub, is the correct? Is there a plan to support 1.0 binding in the near 
future?

2. Our current CMIS server (FileNet CMIS) only support CMIS 1.0, but looks like 
if we put Chemistry bridge in front of it and do the conversion, this Chemistry 
Part code will work, do you see any potential issues here for this approach 
(assume we only use 1.0 functions)?

3. Chemistry Parts has not been released yet, is there an ETA for the release? 
In another words, how mature of this library so far?


Thanks
Wentao


________________________________
This email and its attachments are intended solely for the personal use of the 
individual or entity named above. Any use of this communication by an 
unintended recipient is strictly prohibited. If you have received this email in 
error, any publication, use, reproduction, disclosure or dissemination of its 
contents is strictly prohibited. Please immediately delete this message and its 
attachments from your computer and servers. We would also appreciate if you 
would contact us by a collect call or return email to notify us of this error. 
Thank you for your cooperation.
-BCHydroDisclaimerID5.2.8.1541

Reply via email to