Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Retrieving multiple custom metadata values
Hemmie
Hi Everyone,
I've been converting older java interface calls to new webservice calls.
Another issue i faced is when accessing multiple values for custom metadata in our search api.
In older java interface it has done using UIItem annotation which is not provided with web services api.
Currently i use getSearchableMetadata method and once i get the required custom metadata item and wanted to get all the values we specified for that metadata item. Currently it only gives one value (only if we select as default value)
I need a way to get all the values set under the custom metadata item.
------
another issue:
As i do not find help on other methods defined in web service other than MediabinServerSoap let me know where i can get the description of other classes in the webservice api?
Is container.searchAll from java interface maps to--> setting of setMRecursive to true and setting serMcontainerID to the high level container so it can search all containers below recursively.???
Thanks greatly for your time.
Waiting for a reply
Thanks
Find more posts tagged with
Comments
msnider
Use the mChoices member of the MBSearchableMetadata class to retrieve the list of multiple values of the String and Value list metadata types.
The webservice calls are formally documented in the MediaBin API guide. In addition, there is a JavaDoc that ships with the MediaBin WebService SDK under the java\lib\src\docs directory.
Yes, setting mRecursive to true performs a recursive search like container.searchAll.
Hemmie
Hi..
Thanks for the Help.
Actually mChoices is a member of MBMetadataFormat class.
The SDK I have doesnt contain any java docs. The API guide only has documentation for .Net interface calls and C#. Even though it looks much alike to MediabinServerSoap interface there is no documentation for other java classes in the MediabinServer.jar.
Please let me know any source i could find documentation.
Thank you
msnider
Which version of the SDK are you using?
You should be able to generate your own JavaDocs from the source files in the SDK....use the following command from the MediaBinWebService SDK\Java\lib\src directory:
javadoc -d docs com.mediabin.www -sourcepath java
Mark