4

I have to get some information about media items from SDL Media Manager in my core service.

I found this article but I coudn't make connection to MM.

I add service reference (MediaManager2011.svc) to my solution but I still don't have IMediaManager2011Client.

Is there some other way to get this informations from MM in service?

3
  • What kind of information are you trying to get? Mar 22 '17 at 16:42
  • 1
    Please share more information regarding your solution. Are you using .Net for example? Do you have a working Secure Token Service? Mar 22 '17 at 16:46
  • I use .Net and I have working Secure Token Service. I also have valid certificate. I supose that I have to add it to app.config in system.ServiceModel to customBinding but I didn't come to that part jet.
    – aleksandar
    Mar 23 '17 at 8:48
6
+50

I have updated the following article. It now contains an extract of the App.config file containing the bindings and endpoint information.

Configure your App.config file with the URL to your Secure Token Service and you should be able to connect to SDL Media Manager using the provided helper class.

var mediaManagerClient = MediaManagerHelper.GetMediaManagerClient();
5
  • I update my app.config but I cannot find Secure Token Service address. Could you please help me and tell me where should I look for that address?
    – aleksandar
    Mar 27 '17 at 12:04
  • In an earlier comment, you confirmed having a working Secure Token Service. This should be available from an endpoint URL. Do you know who set up this web service on your side? Please request the details and update the app.config accordingly. Mar 27 '17 at 13:39
  • I wrote that i have working STS, because I have installed Media Manager and it works. I'm not totally sure, but I think that Media Manager is installed by SDL Professional Service.
    – aleksandar
    Mar 27 '17 at 14:39
  • 1
    You need your own Secure Token Service in order to provide authentication tokens to your Media Manager client. When setting up the STS, you can try applying the same certificate used by Media Manager's connector in SDL Web (Tridion). Mar 27 '17 at 17:50
  • I have difficulties in creating STS, do you have any source or example for that?
    – aleksandar
    Mar 29 '17 at 10:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.