cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco seach webscript

kingkong
Champ in-the-making
Champ in-the-making
Hey all,

I got a problem using the following script:
/alfresco/service/slingshot/search?term={term?}&tag={tag?}&site={site?}&container={container?}&sort={sort?}&query={query?}&repo={repo?}

As far as I understand, it should return a json containing all information about documents matching the search.
Could somebody please give me an example of how to fill the parameters in such a way, that the search is working correctly?
I tried different things, but the script is not working.

It would be great if somebody could just 'build' an example URL.

Thank you so much in advance!!

Kind regards

KingKong
2 REPLIES 2

slibert
Confirmed Champ
Confirmed Champ
Hello,

Which error do you get ?

If you try the simplest search as : http://alfresco-srv:8080/alfresco/service/slingshot/search?term=document, what do you get ?
Do you at least get a login prompt ?


Regards

kingkong
Champ in-the-making
Champ in-the-making
Hi Slibert,

thanks a lot for your reply. I managed to use the script correctly now.
Neverthess I got a further question: Is it possible to search for document or folder titles / names only? Term seems to be used for fulltext search, right?

Thanks in advance!

Kind regards

KingKong