12-14-2015 01:25 PM
12-17-2015 05:07 PM
"{"assoc_cm_contains_added":"","assoc_cm_contains_removed":"","prop_exprec_expDireccionDestinataria":"","prop_exprec_expServicioTecnico":"","prop_exprec_expFechaReclamacion":"","prop_cm_created":"","prop_exprec_expEstado":"","prop_exprec_expDniReclamante":"","prop_exprec_expNombreReclamante":"","prop_cm_name":"","prop_exprec_expFechaEntrada":"","prop_exprec_expAsunto":"","prop_cm_modified":"","prop_cm_accessed":"","prop_exprec_expNumExpediente":"","datatype":"exprec:expediente_reclamaciones"}"
var excelQuery = this.options.searchQuery;
var def =
{
query: excelQuery,
store: "workspace://SpacesStore"
};
var origen = search.query(def);
12-17-2015 06:22 PM
Alfresco.util.Ajax.request(
{
url: Alfresco.constants.PROXY_URI_RELATIVE + "slingshot/search?", // Aquí tus parámetros de búsqueda
method: "GET",
responseContentType : "application/json",
successCallback:
{
fn: function(response)
{
// ..
},
scope: this
},
failureCallback:
{
fn: function(response)
{
// ..
},
scope: this
}
});
01-11-2016 11:03 AM
var myUrl = window.location.href;
Alfresco.util.Ajax.request({
//realizamos una busqueda con la misma query que utiliza "search"
url: Alfresco.constants.PROXY_URI_RELATIVE + "slingshot/search?" + myUrl,
method: "GET",
responseContentType: "application/json",
successCallback: {
fn: function (response) {
var results = response.json.items;
// ..
},
scope: this
},
failureCallback: {
fn: function (response) {
// ..
},
scope: this
}
});
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.