Calling JavaScript API from Independant Application

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-20-2009 09:27 PM
Is it possible to call JavaScript API of alfresco from an Independant Application?
If yes how to import these scripts?
Is sample login code is available?
Regards
Sameer
- Labels:
-
Archive
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-21-2009 04:01 AM
What we will typically do is to use a web script to run a piece of Java Script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-25-2010 02:26 AM
My requirement.
We have alfresco 3.3 instance in a seperate machine and my PHP application in my local machine. In the PHP file how can i call the web script to perform the below operations.
1. Creating/Managing User Groups
2. Association of users to groups
3. Associating groups to spaces and permission for the same
4. Removing of users from spaces
5. Creating spaces
Please help me. Sample code implementation would be great. Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-25-2010 11:33 AM
So, you need to create a request via the web, in POST or GET form, to a web script, and it will return a result in some form.
Check out the wiki (wiki.alfresco.com) for Web Scripts. Look for how to get to the Web Script console. This allows you to list out the web scripts, including the interface, usage, and arguments. They are categorized along the lines that you suggest.
The URL for the Web Script console will look like: http://localhost:8080/alfresco/service/index – substitute your server as appropriate.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-07-2011 07:29 AM
Which API can be used to call alfresco search from a jsp/servlet?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-07-2011 07:46 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-10-2011 07:07 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-11-2011 07:05 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-13-2011 09:01 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-13-2011 09:19 AM
As invictus9 pointed out, you can find a list of the webservices available here:
http://localhost:8080/alfresco/service/index – substitute your server as appropriate.Find one that would suit your needs and look at the return format, it will be either json or xml or html or whatever format allowed by the webservice that you which to use.
You can easily call these urls from your php, either to POST some data or to GET some informations out of alfresco.
