AnsweredAssumed Answered

request in Alfresco database

Question asked by cyr on Apr 7, 2014
Latest reply on Apr 7, 2014 by jpotts
Hi, i am really new in alfresco and
I am having problems to make requests in alfresco database.
i am using alfresco 4.0.2 and a postgresql database
I followed this tutorial: http://wiki.alfresco.com/wiki/3.4_JavaScript_API,and created a simple js file for the request.

<import resource="classpath:alfresco/extension/myutils.js">
<import resource="/Company Home/Data Dictionary/Scripts/mylib.js">
function requestSearch(){
var nodes = search.luceneSearch("TEXT:alfresco");
return nodes;
}

$(function() {

$("#articles").click( function(){
alert( requestSearch());
});
});
with just a simple request to display alfresco text.
but it doesn't work, and when i debug, an error is shown at the import of librairies.
i checked the location of theses libraries files in "/Company Home/Data Dictionary/Scripts/, but they don't exist in that location and i didn't manage to find where they are.
Does anyone know where are they located?
or am i on the wrong way to make requests in database
Thx

Outcomes