Reply to: Getting CRCL Resource locator from file pathAugust 4, 2010 at 1:56 pm
Thanks for the tip.
I get returned back an object but can't see how to get the actual locator. The Programmer's guide has nothing documented except that it's an internal use only property.
The only examples I can find of this in the JS code in XMetaL is:
CRLocator.CRinstanceID which returns an integer, and
CRLocator.resourceId which returns the path to the active doc, not the CMS locator.
There seems to be some other methods to get the locator from the file path but not sure how to use these either.
The reason I want to do this is to provide some functionality to return metadata from the CMS for the active doc. I therefore need to send a request back into my CMS to get this metadata.