"{"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);
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
}
});
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
}
});
Content from pre 2016 and from language groups that have been closed.
Content is read-only.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.