2 Replies Latest reply on Dec 13, 2016 10:13 AM by polinao RSS
    Digital One Explorer

    How to set image in media entity dynamically?

    Hi,

     

    i am trying to set the image in media entity dynamically, using following code snippet :

     

    var params = {

      url: path /* STRING */,

    };

     

     

    // result: IMAGE

    var result = Resources["ContentLoaderFunctions"].LoadImage(params);

     

    getting below exception:

    clientprotocolexception null

     

    Any new suggestion for doing it?

     

    Thanks in advance!