cancel
Showing results for 
Search instead for 
Did you mean: 

AVM and Webservice Client.

pmullen
Champ in-the-making
Champ in-the-making
I have had great success accessing content using the web service client.  I am now trying to leverage the power of xforms in order to provide a simple interface for content managers.  While starting down this path a couple of big questions have come up which I was hoping you all could help me with:

1.  Does the current production version of the Web service client provide access to the avm repository?
2.  What would be the unique identifier for a piece of content (much like a uuid) located in a web project?
3.  If it is not possible to access the content stored in a web project from an external web application, would it be possible for the content created by an xform to be copied to a location where an existing interface could be used to query and access it?

Thanks
1 REPLY 1

kvc
Champ in-the-making
Champ in-the-making
1.  Does the current production version of the Web service client provide access to the avm repository?

[KEVINC]  No.  In our next release, 2.1, we will be providing access via our Javascript API to items within the AVM.  However, we are not yet expanding the web service client at this point for the AVM.

2.  What would be the unique identifier for a piece of content (much like a uuid) located in a web project?

[KEVINC]  All content items (including versions) are uniquely identifiable by path.

3.  If it is not possible to access the content stored in a web project from an external web application, would it be possible for the content created by an xform to be copied to a location where an existing interface could be used to query and access it?

[KEVINC]  Yes.  You can use the clipboard to copy and paste files and directories between stores, or you can do so via Javascript using the interstore copy service.  So, readily accomplishable.

In our upcoming 2.1 release, you will have another option, probably much better, for using web scripts to access views of content in the AVM and retrieving via an URL.  These web scripts use the new Template and Javascript APIs to fetch and return any asset(s) views of content in the AVM.