Few TeamSite customers did this using Java and MediaBin API.
yes, we wrote a java workflow class which is deployed in teamsite.
it will import assets from MediaBin to team site server. This integration is working fine.
Hi shravan - can you share some directions on this, if thats not too much to ask?
Requirement - Pull the assets from MediaBin to teamsite automatically using CMS deployment job without usingTeamsite ECM Connector.
MB Version 4.6.2
TeamSite version 7.2.1
Implementation : we wrote a java class which is deployed as a work flow in teamsite.
Asset name and folder will be passed to this class dynamically and the method in java class will invoke MB api using webservice and finds and pulls the asset and save into Teamsite server.
Please let me know if you require any other details
To acheive this from your workflow first of all you'll have to create a session with MediaBin server, using either the credetials for a MediaBin user. There is an excellent series by David Roy on working with MediaBin web services to get you started. The relevant information can be found on this link.
After establishing a session you can either use MBAsset_RetrieveFile/MBAsset_RetrieveFileEx methods if you need to retrieve a single file. One of these methods will download the file on a shared file location.
You can optionally use the combination of MBAction_InstantiateAction and MBAction_RunAction/MBAction_RunActionEx methods if uou need to retrieve multiple files in one go. These methods will not download the file directly on your machine, but just execute a pre-defined download action and provide a HTTP URL for downloading the assets in a zipped format.
NavneetLakra wrote: There is an excellent series by David Roy on working with MediaBin web services to get you started. The relevant information can be found on this link.
There is an excellent series by David Roy on working with MediaBin web services to get you started. The relevant information can be found on this link.
That link you supplied is an excellent resource on the API -- thank you. It would have saved me a lot of time if I had that Part 2 API Overview when I first delved into the newer 8x webservice.