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? Commented Mar 22, 2017 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? Commented Mar 22, 2017 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
    Commented Mar 23, 2017 at 8:48

1 Answer 1

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
    Commented Mar 27, 2017 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. Commented Mar 27, 2017 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
    Commented Mar 27, 2017 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). Commented Mar 27, 2017 at 17:50
  • I have difficulties in creating STS, do you have any source or example for that?
    – aleksandar
    Commented Mar 29, 2017 at 10:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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