PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 23 → Alfresco
Alfresco
Iniciado por Stéphane, 06,abr. 2016 15:19 - 12 respuestas
Publicado el 06,abril 2016 - 15:19
Bonjour à tous,
Je recherche comment faire pour récupérer les utilisateurs ainsi que les groupes dans Alfresco.
J'ai essayé cela mais ca ne fonctionne pas :
maReq est un HTTPRequête
maReq..URL = "http://monserveur/share/page/console/admin-console/users#state=panel%3Dsearch%26search%3Da"
maReq..Utilisateur = "***"
maReq..MotDePasse = "***"

cMaRéponse est un httpRéponse = HTTPEnvoie(maReq)
SI ErreurDétectée ALORS
Erreur(ErreurInfo(errComplet))
SINON
Info(cMaRéponse..Contenu)
FIN

J'ai regardé les REST API mais j'y comprend rien pour les utiliser.
Avez vous un bout de code ou autre pour m'aider ?

Je vous remercie d'avance de votre aide.
Publicado el 06,abril 2016 - 17:46
Bonjour,

Quel est l'erreur qui en ressort ?

Je dirais que l'url n'est pas la bonne.
De mon côté, j'utilise le protocole CMIS, avec une adresse du style :
http://monserveur/alfresco/api/-default-/public/cmis/versions/1.0/atom/

Derrière pour me connecter, j'utilise le httpRequête à l'ancienne :

sUrl est une chaîne = URLEncode("http://monserveur/alfresco/api/-default-/public/cmis/versions/1.0/atom/")
sNomUser est une chaîne "toto"
sPwdUser est une chaîne = "****"
sXMLRetour est une chaîne

SI HTTPRequête(sUrl, "", "", "", "", sNomUser, sPwdUser) ALORS
sXMLRetour = HTTPDonneRésultat(httpRésultat)
FIN
Publicado el 06,abril 2016 - 17:56
Je up,
Merci d'avance.
Publicado el 06,abril 2016 - 19:34
SUPER Merci cédric de me répondre car je suis vraiment embêté avec ce problème.
Pour mon Client j'ai juste besoin de récupérer les utilisateurs et groupes auquel ils sont rattachés.

Alors je viens de changer mon code pour le mettre comme le tiens :
sUrl est une chaîne = URLEncode("http://monserveur/share/page/user/admin/dashboard")
sNomUser est une chaîne = "admin"
sPwdUser est une chaîne = "***"
sXMLRetour est une chaîne

SI HTTPRequête(sUrl, "", "", "", "", sNomUser, sPwdUser) ALORS
sXMLRetour = HTTPDonneRésultat(httpRésultat)
Info(sXMLRetour)
SINON
ErreurHTTP = HTTPDonneRésultat(httpEntête)
Erreur(ErreurHTTP)
FIN

Il ne me retourne pas d'erreur il m'affiche cela même si le mot de passe est faux :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Alfresco » Login</title>
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<script type="text/javascript" src="/share/service/messages_18b03e76e8bf47bd675de6521f6d.js?locale=en_US"></script>
<script type="text/javascript">
var appContext = "/share";

var dojoConfig = {
baseUrl: "/share/res/",
tlmSiblingOfDojo: false,
async: true,
parseOnLoad: false,
packages: [
{ name: "alfresco", location: "js/alfresco" },
{ name: "surf", location: "js/surf" },
{ name: "dojo", location: "js/lib/dojo-1.9.0/dojo" },
{ name: "dijit", location: "js/lib/dojo-1.9.0/dijit" },
{ name: "dojox", location: "js/lib/dojo-1.9.0/dojox" }
]
};
</script>
<script type="text/javascript" src="/share/res/js/lib/dojo-1.9.0/dojo/dojo.js"></script>

<script type="text/javascript" src="/share/res/js/yui-common_58265928ef8784c6493052222355dfdc.js"></script>
<script type="text/javascript" src="/share/res/js/bubbling.v2.1_5a671b93e86ea64b41f915cf6147232.js"></script>
<script type="text/javascript">//<![CDATA[
YAHOO.Bubbling.unsubscribe = function(layer, handler, scope)
{
this.bubble[layer].unsubscribe(handler, scope);
};
//]]></script>
<script type="text/javascript">//<![CDATA[
<!-- Alfresco web framework constants -->
Alfresco.constants = Alfresco.constants || {};
Alfresco.constants.DEBUG = False;
Alfresco.constants.AUTOLOGGING = False;
Alfresco.constants.PROXY_URI = window.location.protocol + "//" + window.location.host + "/share/proxy/alfresco/";
Alfresco.constants.PROXY_URI_RELATIVE = "/share/proxy/alfresco/";
Alfresco.constants.PROXY_FEED_URI = window.location.protocol + "//" + window.location.host + "/share/proxy/alfresco-feed/";
Alfresco.constants.THEME = "lightTheme";
Alfresco.constants.URL_CONTEXT = "/share/";
Alfresco.constants.URL_RESCONTEXT = "/share/res/";
Alfresco.constants.URL_PAGECONTEXT = "/share/page/";
Alfresco.constants.URL_SERVICECONTEXT = "/share/service/";
Alfresco.constants.URL_FEEDSERVICECONTEXT = "/share/feedservice/";
Alfresco.constants.USERNAME = "guest";
Alfresco.constants.SITE = "";
Alfresco.constants.PAGECONTEXT = "";
Alfresco.constants.PAGEID = "";
Alfresco.constants.PORTLET = False;
Alfresco.constants.PORTLET_URL = unescape("");
Alfresco.constants.JS_LOCALE = "en_US";
Alfresco.constants.USERPREFERENCES = "{}";
Alfresco.constants.CSRF_POLICY = {
enabled: True,
cookie: "{token}",
header: "{token}",
parameter: "{token}",
properties: {}
};
Alfresco.constants.CSRF_POLICY.properties["token"] = "Alfresco-CSRFToken";
Alfresco.constants.CSRF_POLICY.properties["referer"] = "http:\/\/monserveur\/.*";
Alfresco.constants.CSRF_POLICY.properties["origin"] = "http:\/\/monserveur";

Alfresco.constants.IFRAME_POLICY =
{
sameDomain: "allow",
crossDomainUrls: [
"*"
]
};

Alfresco.constants.HIDDEN_PICKER_VIEW_MODES = [
];
//]]></script>
<script type="text/javascript" src="/share/res/js/flash/AC_OETags_23681d43aef7e80993a9f9354d71741.js"></script>
<script type="text/javascript" src="/share/res/js/alfresco_fd885f3daa15f72f78c6acb3cc99a9f.js"></script>
<script type="text/javascript" src="/share/res/modules/editors/tiny_mce_13e6e199fdfa1d27a8a3a23cf32457b.js"></script>
<script type="text/javascript" src="/share/res/modules/editors/yui_editor_ada13c6dc370802cb4c2dc6ef1f559.js"></script>
<script type="text/javascript" src="/share/res/js/forms-runtime_8b83fb4c5faf3d3264d450b4b7fe5.js"></script>
<script type="text/javascript">//<![CDATA[
<!-- Share Constants -->
Alfresco.service.Preferences.FAVOURITE_DOCUMENTS = "org.alfresco.share.documents.favourites";
Alfresco.service.Preferences.FAVOURITE_FOLDERS = "org.alfresco.share.folders.favourites";
Alfresco.service.Preferences.FAVOURITE_FOLDER_EXT = "org.alfresco.ext.folders.favourites.";
Alfresco.service.Preferences.FAVOURITE_DOCUMENT_EXT = "org.alfresco.ext.documents.favourites.";
Alfresco.service.Preferences.FAVOURITE_SITES = "org.alfresco.share.sites.favourites";
Alfresco.service.Preferences.IMAP_FAVOURITE_SITES = "org.alfresco.share.sites.imapFavourites";
Alfresco.service.Preferences.COLLAPSED_TWISTERS = "org.alfresco.share.twisters.collapsed";
Alfresco.service.Preferences.RULE_PROPERTY_SETTINGS = "org.alfresco.share.rule.properties";
Alfresco.constants.URI_TEMPLATES =
{
"remote-site-page": "/site/{site}/{pageid}/p/{pagename}",
"remote-page": "/{pageid}/p/{pagename}",
"share-site-page": "/site/{site}/{pageid}/ws/{webscript}",
"sitedashboardpage": "/site/{site}/dashboard",
"contextpage": "/context/{pagecontext}/{pageid}",
"sitepage": "/site/{site}/{pageid}",
"userdashboardpage": "/user/{userid}/dashboard",
"userpage": "/user/{userid}/{pageid}",
"userprofilepage": "/user/{userid}/profile",
"userdefaultpage": "/user/{pageid}",
"consoletoolpage": "/console/{pageid}/{toolid}",
"consolepage": "/console/{pageid}",
"share-page": "/{pageid}/ws/{webscript}"
};
Alfresco.constants.HELP_PAGES =
{
"share-help": "http://docs.alfresco.com/community/topic/com.alfresco.community.doc/concepts/sh-uh-welcome.html",
"share-tutorial": "http://docs.alfresco.com/community/topic/com.alfresco.community.doc/topics/alfresco-video-tutorials.html"
};
Alfresco.constants.HTML_EDITOR = 'tinyMCE';
Alfresco.constants.QUICKSHARE_URL = "\/share\/s\/{sharedId}";
Alfresco.constants.LINKSHARE_ACTIONS = [
{
id: "email", type: "link", index: 10,
params: { "href": "mailto:?subject={subject}&body={body}","target": "new" }
},
{
id: "facebook", type: "link", index: 20,
params: { "href": "https:\/\/www.facebook.com\/sharer\/sharer.php?u={shareUrl}&t={message}","target": "new" }
},
{
id: "twitter", type: "link", index: 30,
params: { "href": "https:\/\/twitter.com\/intent\/tweet?text={message}&url={shareUrl}","target": "new" }
},
{
id: "google-plus", type: "link", index: 40,
params: { "href": "https:\/\/plus.google.com\/share?url={shareUrl}","target": "new" }
}
];
//]]></script>
<script type="text/javascript" src="/share/res/js/share_1bcdfe562b705f74265e5cef7b60e890.js"></script>
<script type="text/javascript" src="/share/res/js/lightbox_a98a64cc14b7fc75f555dedd9febf56b.js"></script>
<script type="text/javascript" src="/share/res/modules/create-site_54d96b336a208bbc636a3a8b67d3041.js"></script>
<script type="text/javascript" src="/share/res/components/guest/login_f733582fcb12bcceb9b5c2b2d18f9e7c.js"></script>
<script type="text/javascript">//<![CDATA[
new Alfresco.component.Login("page_x002e_components_x002e_slingshot-login_x0023_default").setOptions({"lastUsername": null, "error": False, "errorDisplay": "container"}).setMessages({});
//]]></script>
<style type="text/css" media="screen">
@import url("/share/res/css/yui-fonts-grids_fe8fbe97553ea9e04731970a95a499b.css");
@import url("/share/res/yui/columnbrowser/assets/columnbrowser_a6ca75d53c6b6c21614545f6c33ee7.css");
@import url("/share/res/yui/columnbrowser/assets/skins/default/columnbrowser-skin_8dc89e2ba8e57eaf72126e1fff5581.css");
@import url("/share/res/themes/lightTheme/yui/assets/skin_34484a93d9c46e4187aad173c2a5df.css");
@import url("/share/res/css/base_29a1673a3ca9e8829debab4527e6598.css");
@import url("/share/res/css/yui-layout_dcf75721dfd8e8e7c46cdcf6a269cedd.css");
@import url("/share/res/themes/lightTheme/presentation_388ef469a7f78b988d37f7b54c7b63b.css");
</style>

<style type="text/css" media="screen">
@import url("/share/res/components/form/form_865ad676e9db7d72c12b10f1d7ac68c1.css");
</style>

<style type="text/css" media="screen">
@import url("/share/res/js/lib/dojo-1.9.0/dijit/themes/claro/claro_64af298e883301b2581426176b06dfe.css");
@import url("/share/res/js/alfresco/css/global_6b3becd7a6bd603ad74669e3bbb2e72e.css");
</style>

<style type="text/css" media="screen">
@import url("/share/res/components/guest/login_cf3aba22ff74151f438782fd93128d3a.css");
</style>



<!-- Icons -->
<link rel="shortcut icon" href="/share/res/favicon.ico" type="image/vnd.microsoft.icon" />
<link rel="icon" href="/share/res/favicon.ico" type="image/vnd.microsoft.icon" />




<!-- Alfresco web framework common resources -->
<script type="text/javascript" src="/share/res/modules/editors/tiny_mce/tiny_mce.js?checksum=5eab4f61a47dbde6afeb81e6eeb09969"></script>

<!-- MSIE CSS fix overrides -->
<!--[if lt IE 7]><link rel="stylesheet" type="text/css" href='/share/res/css/ie6_5d869152ca4b3ebdfff72024fccdcd6e.css'/><![endif]-->
<!--[if IE 7]><link rel="stylesheet" type="text/css" href='/share/res/css/ie7_a18eaac93365cfa4fec8ed2d7439e2e4.css'/><![endif]-->

<!-- Android & iPad CSS overrides -->
<link media="only screen and (max-device-width: 1024px)" rel="stylesheet" type="text/css" href="/share/res/css/tablet_7de8a1be3071a0284dec3f751448cb0.css"/>
<script type="text/javascript">
if (navigator.userAgent.indexOf(" Android ") !== -1 || navigator.userAgent.i


Par contre si je lui met une page qu'il n'existe pas j'ai bien une erreur.

Je te remercie grandement d'avance de ton aide.
Miembro registrado
18 mensajes
Publicado el 07,abril 2016 - 10:23
Je persiste sur le fait que ton url n'est pas correcte.

Tu es bien sur une page Alfresco, ton résultat en html te l'atteste, or tu dois avoir un résultat au format xml, et il est certain qu'avec un mauvais mot de passe tu dois obtenir une erreur.
Publicado el 07,abril 2016 - 13:36
Salut Cédric,
Merci de ta réponse,

Mais comment je fais pour trouver les url qui vont bien. Par exemple pour aller sur le dashbord j'ai cette adresse :
http://espaces-collaboratifs.lasociete/share/page/user/admin/dashboard

Merci d'avance de ton aide.
Miembro registrado
18 mensajes
Publicado el 07,abril 2016 - 17:12
Ah ça, il faut voir avec la personne qui s'est chargée d'installer Alfresco, il doit pouvoir te fournir cette adresse.
Mais as-tu essayé de compléter avec elle que je t'ai donné dans ma première réponse ?
"http://monserveur/alfresco/api/-default-/public/cmis/versions/1.0/atom/"


Normalement avec cette URL, tu peux ensuite tout faire, elle sert de base à toutes les actions que tu veux faire (avec un sens certain de la recherche, car les exemples ne courent pas les rues).

Je t'invite à regarder cette doc CMIS/Alfesco qui peut t'aider à faire tes débuts
"http://docs.alfresco.com/community/pra/1/concepts/cmis-getting-started.html"
Publicado el 07,abril 2016 - 17:28
Merci Cédric,
Je vais voir cela avec mon Client demain et te teindrais au courant demain dans la journée de cette URL.
Encore un grand merci pour ton aide.
Publicado el 08,abril 2016 - 15:15
Salut Cédric,
Je viens de récupérer normalement le lien qu'il nous faut :
http://monServeur:8080/alfresco/cmisatom

Et voilà ce qu'il me renvoi :
<?xml version="1.0" encoding="UTF-8"?>

-<app:service xmlns:app="http://www.w3.org/2007/app" xmlns:cmisra="http://docs.oasis-open.org/ns/cmis/restatom/200908/" xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200908/" xmlns:atom="http://www.w3.org/2005/Atom">


-<app:workspace>

<atom:title>e7206bd8-58fe-4615-8110-0998b418b6b4</atom:title>


-<app:collection href="http://monServeur:8080/alfresco/cmisatom/e7206bd8-58fe-4615-8110-0998b418b6b4/children?id=workspace%3A%2F%2FSpacesStore%2F7011c38d-2d20-4a71-8111-9c2d4842c808">

<cmisra:collectionType>root</cmisra:collectionType>

<atom:title type="text">Root Collection</atom:title>

<app:accept>application/atom+xml;type=entry</app:accept>

<app:accept>application/cmisatom+xml</app:accept>

</app:collection>


-<app:collection href="http://monServeur:8080/alfresco/cmisatom/e7206bd8-58fe-4615-8110-0998b418b6b4/types">

<cmisra:collectionType>types</cmisra:collectionType>

<atom:title type="text">Types Collection</atom:title>

<app:accept/>

</app:collection>


-<app:collection href="http://monServeur:8080/alfresco/cmisatom/e7206bd8-58fe-4615-8110-0998b418b6b4/query">

<cmisra:collectionType>query</cmisra:collectionType>

<atom:title type="text">Query Collection</atom:title>

<app:accept>application/cmisquery+xml</app:accept>

</app:collection>


-<app:collection href="http://monServeur:8080/alfresco/cmisatom/e7206bd8-58fe-4615-8110-0998b418b6b4/checkedout">

<cmisra:collectionType>checkedout</cmisra:collectionType>

<atom:title type="text">Checked Out Collection</atom:title>

<app:accept>application/cmisatom+xml</app:accept>

</app:collection>


-<app:collection href="http://monServeur:8080/alfresco/cmisatom/e7206bd8-58fe-4615-8110-0998b418b6b4/unfiled">

<cmisra:collectionType>unfiled</cmisra:collectionType>

<atom:title type="text">Unfiled Collection</atom:title>

<app:accept>application/cmisatom+xml</app:accept>

</app:collection>


-<app:collection href="http://monServeur:8080/alfresco/cmisatom/e7206bd8-58fe-4615-8110-0998b418b6b4/update">

<cmisra:collectionType>update</cmisra:collectionType>

<atom:title type="text">Bulk Update Collection</atom:title>

<app:accept>application/cmisatom+xml</app:accept>

</app:collection>


-<cmisra:repositoryInfo>

<cmis:repositoryId>e7206bd8-58fe-4615-8110-0998b418b6b4</cmis:repositoryId>

<cmis:repositoryName>Main Repository</cmis:repositoryName>

<cmis:repositoryDescription>Main Repository</cmis:repositoryDescription>

<cmis:vendorName>Alfresco</cmis:vendorName>

<cmis:productName>Alfresco Community</cmis:productName>

<cmis:productVersion>4.2.0 (r56674-b4848)</cmis:productVersion>

<cmis:rootFolderId>workspace://SpacesStore/7011c38d-2d20-4a71-8111-9c2d4842c808</cmis:rootFolderId>


-<cmis:capabilities>

<cmis:capabilityACL>manage</cmis:capabilityACL>

<cmis:capabilityAllVersionsSearchable>false</cmis:capabilityAllVersionsSearchable>

<cmis:capabilityChanges>none</cmis:capabilityChanges>

<cmis:capabilityContentStreamUpdatability>anytime</cmis:capabilityContentStreamUpdatability>

<cmis:capabilityGetDescendants>true</cmis:capabilityGetDescendants>

<cmis:capabilityGetFolderTree>true</cmis:capabilityGetFolderTree>

<cmis:capabilityMultifiling>true</cmis:capabilityMultifiling>

<cmis:capabilityPWCSearchable>false</cmis:capabilityPWCSearchable>

<cmis:capabilityPWCUpdatable>true</cmis:capabilityPWCUpdatable>

<cmis:capabilityQuery>bothcombined</cmis:capabilityQuery>

<cmis:capabilityRenditions>read</cmis:capabilityRenditions>

<cmis:capabilityUnfiling>false</cmis:capabilityUnfiling>

<cmis:capabilityVersionSpecificFiling>false</cmis:capabilityVersionSpecificFiling>

<cmis:capabilityJoin>none</cmis:capabilityJoin>

</cmis:capabilities>


-<cmis:aclCapability>

<cmis:supportedPermissions>both</cmis:supportedPermissions>

<cmis:propagation>propagate</cmis:propagation>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/content/1.0}cmobject.Coordinator</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/content/1.0}cmobject.Coordinator</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/wcmmodel/1.0}avmplaincontent.ContentManager</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/wcmmodel/1.0}avmplaincontent.ContentManager</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/content/1.0}cmobject.Collaborator</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/content/1.0}cmobject.Collaborator</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/content/1.0}folder.Collaborator</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/content/1.0}folder.Collaborator</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/site/1.0}site.SiteManager</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/site/1.0}site.SiteManager</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/wcmmodel/1.0}avmcontent.ContentPublisher</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/wcmmodel/1.0}avmcontent.ContentPublisher</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/wcmmodel/1.0}avmlayeredfolder.ContentManager</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/wcmmodel/1.0}avmlayeredfolder.ContentManager</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/system/1.0}base.CreateAssociations</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/system/1.0}base.CreateAssociations</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/system/1.0}base.FullControl</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/system/1.0}base.FullControl</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/wcmmodel/1.0}avmlayeredfolder.ContentPublisher</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/wcmmodel/1.0}avmlayeredfolder.ContentPublisher</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/wcmmodel/1.0}avmfolder.ContentContributor</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/wcmmodel/1.0}avmfolder.ContentContributor</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/wcmappmodel/1.0}webfolder.ContentReviewer</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/wcmappmodel/1.0}webfolder.ContentReviewer</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/wcmmodel/1.0}avmlayeredcontent.ContentPublisher</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/wcmmodel/1.0}avmlayeredcontent.ContentPublisher</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/content/1.0}content.Editor</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/content/1.0}content.Editor</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/system/1.0}base.Write</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/system/1.0}base.Write</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/content/1.0}folder.Contributor</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/content/1.0}folder.Contributor</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/wcmmodel/1.0}avmplaincontent.ContentPublisher</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/wcmmodel/1.0}avmplaincontent.ContentPublisher</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/system/1.0}base.DeleteAssociations</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/system/1.0}base.DeleteAssociations</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/content/1.0}folder.Editor</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/content/1.0}folder.Editor</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/system/1.0}base.LinkChildren</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/system/1.0}base.LinkChildren</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/content/1.0}folder.Consumer</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/content/1.0}folder.Consumer</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/site/1.0}site.SiteContributor</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/site/1.0}site.SiteContributor</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/site/1.0}site.SiteConsumer</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/site/1.0}site.SiteConsumer</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/wcmmodel/1.0}avmcontent.ContentContributor</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/wcmmodel/1.0}avmcontent.ContentContributor</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/content/1.0}content.Collaborator</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/content/1.0}content.Collaborator</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/wcmappmodel/1.0}webfolder.ContentPublisher</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/wcmappmodel/1.0}webfolder.ContentPublisher</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/wcmmodel/1.0}avmplainfolder.ContentContributor</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/wcmmodel/1.0}avmplainfolder.ContentContributor</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/content/1.0}content.Coordinator</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/content/1.0}content.Coordinator</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/wcmmodel/1.0}avmlayeredcontent.ContentContributor</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/wcmmodel/1.0}avmlayeredcontent.ContentContributor</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/wcmmodel/1.0}avmlayeredcontent.ContentManager</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/wcmmodel/1.0}avmlayeredcontent.ContentManager</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/system/1.0}base.ReadProperties</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/system/1.0}base.ReadProperties</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/system/1.0}base.WriteProperties</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/system/1.0}base.WriteProperties</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/system/1.0}base.ReadAssociations</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/system/1.0}base.ReadAssociations</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/wcmappmodel/1.0}webfolder.ContentManager</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/wcmappmodel/1.0}webfolder.ContentManager</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/content/1.0}cmobject.Editor</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/content/1.0}cmobject.Editor</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/system/1.0}base.ChangePermissions</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/system/1.0}base.ChangePermissions</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/wcmmodel/1.0}avmlayeredcontent.ContentReviewer</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/wcmmodel/1.0}avmlayeredcontent.ContentReviewer</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/content/1.0}content.Consumer</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/content/1.0}content.Consumer</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/system/1.0}base.ReadChildren</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/system/1.0}base.ReadChildren</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/wcmmodel/1.0}avmcontent.ContentReviewer</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/wcmmodel/1.0}avmcontent.ContentReviewer</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/wcmmodel/1.0}avmfolder.ContentPublisher</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/wcmmodel/1.0}avmfolder.ContentPublisher</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/system/1.0}base.Read</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/system/1.0}base.Read</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/wcmmodel/1.0}avmlayeredfolder.ContentReviewer</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/wcmmodel/1.0}avmlayeredfolder.ContentReviewer</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/wcmmodel/1.0}avmplainfolder.ContentPublisher</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/wcmmodel/1.0}avmplainfolder.ContentPublisher</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/system/1.0}base.ReadPermissions</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/system/1.0}base.ReadPermissions</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/system/1.0}base.CreateChildren</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/system/1.0}base.CreateChildren</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/wcmmodel/1.0}avmlayeredfolder.ContentContributor</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/wcmmodel/1.0}avmlayeredfolder.ContentContributor</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/system/1.0}base.DeleteChildren</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/system/1.0}base.DeleteChildren</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/wcmmodel/1.0}avmfolder.ContentManager</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/wcmmodel/1.0}avmfolder.ContentManager</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/content/1.0}cmobject.Consumer</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/content/1.0}cmobject.Consumer</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/system/1.0}base.AddChildren</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/system/1.0}base.AddChildren</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/content/1.0}folder.Coordinator</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/content/1.0}folder.Coordinator</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/content/1.0}cmobject.Contributor</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/content/1.0}cmobject.Contributor</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/system/1.0}base.DeleteNode</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/system/1.0}base.DeleteNode</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/wcmmodel/1.0}avmplaincontent.ContentContributor</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/wcmmodel/1.0}avmplaincontent.ContentContributor</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/wcmmodel/1.0}avmfolder.ContentReviewer</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/wcmmodel/1.0}avmfolder.ContentReviewer</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/wcmappmodel/1.0}webfolder.ContentContributor</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/wcmappmodel/1.0}webfolder.ContentContributor</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/system/1.0}base.Flatten</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/system/1.0}base.Flatten</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/wcmmodel/1.0}avmplainfolder.ContentManager</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/wcmmodel/1.0}avmplainfolder.ContentManager</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/content/1.0}content.Contributor</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/content/1.0}content.Contributor</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/wcmmodel/1.0}avmplaincontent.ContentReviewer</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/wcmmodel/1.0}avmplaincontent.ContentReviewer</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/wcmmodel/1.0}avmcontent.ContentManager</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/wcmmodel/1.0}avmcontent.ContentManager</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/wcmmodel/1.0}avmplainfolder.ContentReviewer</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/wcmmodel/1.0}avmplainfolder.ContentReviewer</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/site/1.0}site.SiteCollaborator</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/site/1.0}site.SiteCollaborator</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/system/1.0}base.Delete</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/system/1.0}base.Delete</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>{http://www.alfresco.org/model/security/1.0}All.All</cmis:permission>

<cmis:description>{http://www.alfresco.org/model/security/1.0}All.All</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>cmis:read</cmis:permission>

<cmis:description>CMIS Read</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>cmis:write</cmis:permission>

<cmis:description>CMIS Write</cmis:description>

</cmis:permissions>


-<cmis:permissions>

<cmis:permission>cmis:all</cmis:permission>

<cmis:description>CMIS All</cmis:description>

</cmis:permissions>


-<cmis:mapping>

<cmis:key>canViewContent.Object</cmis:key>

<cmis:permission>cmis:read</cmis:permission>

<cmis:permission>{http://www.alfresco.org/model/system/1.0}base.ReadContent</cmis:permission>

</cmis:mapping>


-<cmis:mapping>

<cmis:key>canDelete.Object</cmis:key>

<cmis:permission>cmis:all</cmis:permission>

<cmis:permission>{http://www.alfresco.org/model/system/1.0}base.DeleteNode</cmis:permission>

</cmis:mapping>


-<cmis:mapping>

<cmis:key>canRemoveFromFolder.Object</cmis:key>

<cmis:permission>cmis:all</cmis:permission>

<cmis:permission>{http://www.alfresco.org/model/system/1.0}base.DeleteNode</cmis:permission>

</cmis:mapping>


-<cmis:mapping>

<cmis:key>canGetAllVersions.VersionSeries</cmis:key>

<cmis:permission>cmis:read</cmis:permission>

<cmis:permission>{http://www.alfresco.org/model/system/1.0}base.Read</cmis:permission>

</cmis:mapping>


-<cmis:mapping>

<cmis:key>canAddPolicy.Policy</cmis:key>

<cmis:permission>cmis:read</cmis:permission>

</cmis:mapping>


-<cmis:mapping>

<cmis:key>canCreateFolder.Folder</cmis:key>

<cmis:permission>cmis:all</cmis:permission>

<cmis:permission>{http://www.alfresco.org/model/system/1.0}base.CreateChildren</cmis:permission>

</cmis:mapping>


-<cmis:mapping>

<cmis:key>canRemovePolicy.Object</cmis:key>

<cmis:permission>cmis:write</cmis:permission>

<cmis:permission>{http://www.alfresco.org/model/system/1.0}base.Write</cmis:permission>

</cmis:mapping>


-<cmis:mapping>

<cmis:key>canGetACL.Object</cmis:key>

<cmis:permission>cmis:all</cmis:permission>

<cmis:permission>{http://www.alfresco.org/model/system/1.0}base.ReadPermissions</cmis:permission>

</cmis:mapping>


-<cmis:mapping>

<cmis:key>canCreateDocument.Folder</cmis:key>

<cmis:permission>cmis:all</cmis:permission>

<cmis:permission>{http://www.alfresco.org/model/system/1.0}base.CreateChildren</cmis:permission>

</cmis:mapping>


-<cmis:mapping>

<cmis:key>canMove.Target</cmis:key>

<cmis:permission>cmis:all</cmis:permission>

<cmis:permission>{http://www.alfresco.org/model/system/1.0}base.CreateChildren</cmis:permission>

</cmis:mapping>


-<cmis:mapping>

<cmis:key>canGetProperties.Object</cmis:key>

<cmis:permission>cmis:read</cmis:permission>

<cmis:permission>{http://www.alfresco.org/model/system/1.0}base.ReadProperties</cmis:permission>

</cmis:mapping>


-<cmis:mapping>

<cmis:key>canApplyACL.Object</cmis:key>

<cmis:permission>cmis:all</cmis:permission>

<cmis:permission>{http://www.alfresco.org/model/system/1.0}base.ChangePermissions</cmis:permission>

</cmis:mapping>


-<cmis:mapping>

<cmis:key>canAddToFolder.Object</cmis:key>

<cmis:permission>cmis:read</cmis:permission>

<cmis:permission>{http://www.alfresco.org/model/system/1.0}base.ReadProperties</cmis:permission>

</cmis:mapping>


-<cmis:mapping>

<cmis:key>canUpdateProperties.Object</cmis:key>

<cmis:permission>cmis:write</cmis:permission>

<cmis:permission>{http://www.alfresco.org/model/system/1.0}base.WriteProperties</cmis:permission>

</cmis:mapping>


-<cmis:mapping>

<cmis:key>canRemovePolicy.Policy</cmis:key>

<cmis:permission>cmis:read</cmis:permission>

</cmis:mapping>


-<cmis:mapping>

<cmis:key>canGetDescendents.Folder</cmis:key>

<cmis:permission>cmis:read</cmis:permission>

<cmis:permission>{http://www.alfresco.org/model/system/1.0}base.ReadChildren</cmis:permission>

</cmis:mapping>


-<cmis:mapping>

<cmis:key>canAddToFolder.Folder</cmis:key>

<cmis:permission>cmis:all</cmis:permission>

<cmis:permission>{http://www.alfresco.org/model/system/1.0}base.CreateChildren</cmis:permission>

</cmis:mapping>


-<cmis:mapping>

<cmis:key>canGetChildren.Folder</cmis:key>

<cmis:permission>cmis:read</cmis:permission>

<cmis:permission>{http://www.alfresco.org/model/system/1.0}base.ReadChildren</cmis:permission>

</cmis:mapping>


-<cmis:mapping>

<cmis:key>canSetContent.Document</cmis:key>

<cmis:permission>cmis:write</cmis:permission>

<cmis:permission>{http://www.alfresco.org/model/system/1.0}base.WriteContent</cmis:permission>

</cmis:mapping>


-<cmis:mapping>

<cmis:key>canCheckin.Document</cmis:key>

<cmis:permission>cmis:all</cmis:permission>

<cmis:permission>{http://www.alfresco.org/model/content/1.0}lockable.CheckIn</cmis:permission>

</cmis:mapping>


-<cmis:mapping>

<cmis:key>canAddPolicy.Object</cmis:key>

<cmis:permission>cmis:write</cmis:permission>

<cmis:permission>{http://www.alfresco.org/model/system/1.0}base.Write</cmis:permission>

</cmis:mapping>


-<cmis:mapping>

<cmis:key>canGetParents.Folder</cmis:key>

<cmis:permission>cmis:read</cmis:permission>

<cmis:permission>{http://www.alfresco.org/model/system/1.0}base.ReadProperties</cmis:permission>

</cmis:mapping>


-<cmis:mapping>

<cmis:key>canGetAppliedPolicies.Object</cmis:key>

<cmis:permission>cmis:read</cmis:permission>

<cmis:permission>{http://www.alfresco.org/model/system/1.0}base.ReadProperties</cmis:permission>

</cmis:mapping>


-<cmis:mapping>

<cmis:key>canGetFolderParent.Object</cmis:key>

<cmis:permission>cmis:read</cmis:permission>

<cmis:permission>{http://www.alfresco.org/model/system/1.0}base.ReadProperties</cmis:permission>

</cmis:mapping>


-<cmis:mapping>

<cmis:key>canDeleteTree.Folder</cmis:key>

<cmis:permission>cmis:all</cmis:permission>

<cmis:permission>{http://www.alfresco.org/model/system/1.0}base.DeleteNode</cmis:permission>

</cmis:mapping>


-<cmis:mapping>

<cmis:key>canCheckout.Document</cmis:key>

<cmis:permission>cmis:all</cmis:permission>

<cmis:permission>{http://www.alfresco.org/model/content/1.0}lockable.CheckOut</cmis:permission>

</cmis:mapping>


-<cmis:mapping>

<cmis:key>canCancelCheckout.Document</cmis:key>

<cmis:permission>cmis:all</cmis:permission>

<cmis:permission>{http://www.alfresco.org/model/content/1.0}lockable.CancelCheckOut</cmis:permission>

</cmis:mapping>


-<cmis:mapping>

<cmis:key>canMove.Object</cmis:key>

<cmis:permission>cmis:all</cmis:permission>

<cmis:permission>{http://www.alfresco.org/model/system/1.0}base.DeleteNode</cmis:permission>

</cmis:mapping>


-<cmis:mapping>

<cmis:key>canDeleteContent.Document</cmis:key>

<cmis:permission>cmis:write</cmis:permission>

<cmis:permission>{http://www.alfresco.org/model/system/1.0}base.WriteContent</cmis:permission>

</cmis:mapping>

</cmis:aclCapability>

<cmis:cmisVersionSupported>1.0</cmis:cmisVersionSupported>

<cmis:changesIncomplete>true</cmis:changesIncomplete>

<cmis:changesOnType>cmis:document</cmis:changesOnType>

<cmis:changesOnType>cmis:folder</cmis:changesOnType>

<cmis:principalAnonymous>guest</cmis:principalAnonymous>

<cmis:principalAnyone>GROUP_EVERYONE</cmis:principalAnyone>

</cmisra:repositoryInfo>

<atom:link href="http://monServeur:8080/alfresco/cmisatom/e7206bd8-58fe-4615-8110-0998b418b6b4/typedesc" type="application/atom+xml;type=feed" rel="http://docs.oasis-open.org/ns/cmis/link/200908/typedescendants"/>

<atom:link href="http://monServeur:8080/alfresco/cmisatom/e7206bd8-58fe-4615-8110-0998b418b6b4/foldertree?id=workspace%3A%2F%2FSpacesStore%2F7011c38d-2d20-4a71-8111-9c2d4842c808" type="application/cmistree+xml" rel="http://docs.oasis-open.org/ns/cmis/link/200908/foldertree"/>

<atom:link href="http://monServeur:8080/alfresco/cmisatom/e7206bd8-58fe-4615-8110-0998b418b6b4/descendants?id=workspace%3A%2F%2FSpacesStore%2F7011c38d-2d20-4a71-8111-9c2d4842c808" type="application/cmistree+xml" rel="http://docs.oasis-open.org/ns/cmis/link/200908/rootdescendants" cmisra:id="workspace://SpacesStore/7011c38d-2d20-4a71-8111-9c2d4842c808"/>


-<cmisra:uritemplate>

<cmisra:template>http://monServeur:8080/alfresco/cmisatom/e7206bd8-58fe-4615-8110-0998b418b6b4/id?id={id}&filter={filter}&includeAllowableActions={includeAllowableActions}&includeACL={includeACL}&includePolicyIds={includePolicyIds}&includeRelationships={includeRelationships}&renditionFilter={renditionFilter}</cmisra:template>

<cmisra:type>objectbyid</cmisra:type>

<cmisra:mediatype>application/atom+xml;type=entry</cmisra:mediatype>

</cmisra:uritemplate>


-<cmisra:uritemplate>

<cmisra:template>http://monServeur:8080/alfresco/cmisatom/e7206bd8-58fe-4615-8110-0998b418b6b4/path?path={path}&filter={filter}&includeAllowableActions={includeAllowableActions}&includeACL={includeACL}&includePolicyIds={includePolicyIds}&includeRelationships={includeRelationships}&renditionFilter={renditionFilter}</cmisra:template>

<cmisra:type>objectbypath</cmisra:type>

<cmisra:mediatype>application/atom+xml;type=entry</cmisra:mediatype>

</cmisra:uritemplate>


-<cmisra:uritemplate>

<cmisra:template>http://monServeur:8080/alfresco/cmisatom/e7206bd8-58fe-4615-8110-0998b418b6b4/type?id={id}</cmisra:template>

<cmisra:type>typebyid</cmisra:type>

<cmisra:mediatype>application/atom+xml;type=entry</cmisra:mediatype>

</cmisra:uritemplate>


-<cmisra:uritemplate>

<cmisra:template>http://monServeur:8080/alfresco/cmisatom/e7206bd8-58fe-4615-8110-0998b418b6b4/query?q={q}&searchAllVersions={searchAllVersions}&includeAllowableActions={includeAllowableActions}&includeRelationships={includeRelationships}&maxItems={maxItems}&skipCount={skipCount}</cmisra:template>

<cmisra:type>query</cmisra:type>

<cmisra:mediatype>application/atom+xml;type=feed</cmisra:mediatype>

</cmisra:uritemplate>

</app:workspace>

</app:service>


Maintenant comment je fais pour utiliser cela pour récupérer les utilisateurs ainsi que les groupes qu'ils appartiennent ?

J'espère que cela est bon pour faire les manipulation voulu.

Je te remercie encore d'avance de ton aide.
Miembro registrado
18 mensajes
Publicado el 08,abril 2016 - 17:58
Salut,

Ah déjà ça a une meilleure tête !
A partir de là, je ne peux te donner que des pistes, puisque je n'ai pas eu besoin de rechercher les utilisateurs et les groupes.

Sur ce que j'ai pu lire, il "suffirait" de faire une "query" Alfresco qui devrait correspondre à un truc du genre :
HTTPRequête("http://monServeur:8080/alfresco/cmisatom/query?q=select cmis:objectId FROM cm:person", ...)
HTTPRequête("http://monServeur:8080/alfresco/cmisatom/query?q=select * from cm:authorityContainer", ...)

Les forum Alfresco ou divers Google devraient pas mal t'aider.

=> A vérifier, il me semble que ça n'est possible qu'avec la version 1.1 du CMIS (perso je ne suis qu'en 1.0)

Bon courage !
Publicado el 14,abril 2016 - 15:57
Salut Cédric,
Et bien avoir beaucoup de recherche j'ai un peu trouvé ce que je voulais mais pas tous...
Je récupère les user à cette adresse :
http://monIP:8080/alfresco/service/api/people
Ensuite je récupère tous les sites avec leurs manager :
http://monIP:8080/alfresco/service/api/sites
puis je récupère les sites auquel sont rattachés les user :
je fais un tantque j'ai des utilisateurs je construit mon URL
http://monIP:8080/alfresco/service/api/people/+user+/sites
je récupère le code et fais une pause de 1 seconde pour ne pas surcharger mon serveur.

Si tu connais un autre moyen de récupérer les sites des user sur une URL au lieu de faire comme moi je suis preneur.

Par contre, je n'ai toujours pas trouvé comment récupérer les groupes rattaché aux user.

Et encore merci pour ton aide.
Publicado el 03,agosto 2016 - 15:04
Bonjour,

Je ne sais si vous avez trouvé la solution mais pour ma part voila ce qui fonctionne chez moi :
Il faut commencer par ce connecter à Alfresco via l'adresse : http://serveur/alfresco/service/api/login et lui passant un JSON contenant l'user et le mot de passe : { "username":"user", "password":"*****" }
La fonction retourne alors un ticket de session qu'il servira à authentifier les futures requêtes. le ticket ressemble à quelque chose comme sa : TICKET_b1ea7f2a00253859999dc27be19faccf6c3c89f7

Pour tout future requête tu devra alors faire quelque chose de ce type :
CommandeAlfresco est un HTTPRequête
ReponseAlfresco est un httpRéponse

CommandeAlfresco.Utilisateur="ROLE_TICKET"
CommandeAlfresco.MotDePasse="TICKET_b1ea7f2a00253859999dc27be19faccf6c3c89f7"
CommandeAlfresco.ContentType="application/json"
CommandeAlfresco.Méthode=httpPost
CommandeAlfresco.URL="http://serveur/alfresco/service/api/sites" //pour lister les sites présent

ReponseAlfresco = HTTPEnvoie(CommandeAlfresco)
Miembro registrado
6 mensajes
Publicado el 12,octubre 2018 - 16:54
Bonjour,

Je souhaite upload des fichiers sur alfresco avec leur API /alfresco/service/api/upload/ mais je ne comprends pas très bien leur doc.
Avez vous une idée de comment faire ?

Merci