Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

UrlLauncher is not launching the url

Hi ,

I am trying a create a connector to third party in uwl and i am using UrlLauncher to launch the task, but it is not launching in external url, it is launching in some window but not the one i am setting in the executionUrl.

uwlItem.setExecutionUrl("http://<host>:19086/teamworks/process.lsw?zWorkflowState=1&zTaskId=2838");

<Action name="showDetails" handler="UrlLauncher" launchInNewWindow="yes">

<Properties>

<Property name="url" value="${item.executionUrl}"/>

</Properties>

<Descriptions default="Show Details"/>

</Action>

in ItemActionHandler class

public String getUrl(UWLContext arg0, Item arg1, Action arg2, Map arg3)

throws UWLException {

/**

  • @TODO 6: Decide if getUrl needs to be implemented. Check UWL API javadoc

*/

return arg1.getExecutionUrl();

}

public boolean isLauncher() {

//return false;

return true;

}

Can somebody tell me y? and what should i do to launch it in external window.

Former Member
Not what you were looking for? View more on this topic or Ask a question