7 Replies Latest reply on Aug 3, 2016 11:39 AM by jserrano RSS
    jserrano Apprentice

    Runtime Source URL property access of an Image widget

    Hi everyone,

     

    I am trying to access to the "Source URL" property of an image widget through a Thing service without success. Any idea on how to acomplish this?

     

    I think it would be the same way to access to any widget property.

     

    Greetings.

      • Re: Runtime Source URL property access of an Image widget
        aanjan Heavyweight Champ

        Josue, widget properties are generally locked down to the Mashup builder stage. You can't access them through services. What you can do is build services around them, and feed in those properties through your service output.

         

        For example, the Image widget's SourceURL property requires a form of text input to select the right media entity, so you can bind a service that outputs text to it. Or you can bind a text box to the same property and type in the name of your existing media entity or maybe list the entire selection of media entities on a List widget and bind the selected rows here, so any time you select a row, the image would change.