1 Reply Latest reply on Sep 19, 2012 8:37 AM by paic RSS
    vishp Explorer

    Redirecting to a mashup conditionally

    How do I redirect to a mashup based on a condition ?  Also, when using link widget, is it possible to use relative path - I would like to avoid specifying server and port.

      • Redirecting to a mashup conditionally
        paic Collaborator

        Hi Vish,

         


        You can use the Navigation Widget to redirect to a mashup based on a condition.

        The Navigation Widget has a Navigation Service that you can trigger with an Event. So let's say you are using a list, you can use the SelectedRowChanged Event to trigger Navigation to the SelectedRowValue (which would be the name of a mashup - at least behind the scenes) which is bound to the Navigation widget. You could also have an action, run a Service that resolves a Mashup Name which is bound to the Navigation widget and on ServiceInvokeComplete trigger Navigation.


        You can use relative paths in the link widget i.e.: ../../Folder/File.html