AnsweredAssumed Answered

Retrieving metadata from a wcm avm.

Question asked by boneill on May 18, 2008
Latest reply on May 18, 2008 by pmonks
Hi All,

I asked this question on WCM Development forum but as yet have had no reply so I though I would try here as it is specically about calling a webscript from a website that is managed via alfresco wcm.

My webscript needs to connect to a users wcm avm (repository) and retrieve metadata from all objects of a specific webform.  The AVM api for both javascript and ftl have methods to retrieve content from the repository given a specific storeid and webproject path.  My question is using either the javascript api or ftl api:

1) How do you determine what the storeid is for a specific webproject user.
2) How do you determine the path within the avm for the files I am trying to access assuming they are in the /Root/products/my product directory.

I would really appreciate some example code for this if anyone has any or even a pointer to information on how I determine these values.  Any wiki doco on the apis so far have not been very clear about how to determine these values.