How to enable a hyperlink on text using Link control in SUP Hybrid workflow application
This document will focus on using the control “Link” from the palette in a Sybase Hybrid workflow application.This functionality will come handy when the user has to click on a certain text and then navigate to a different screen after clicking on the hyperlink.
The document will walk you through some customization achieved on a Sybase HWC application.
I am taking into consideration here the MBO which is created by using the BAPI from SAP system.
I shall be skipping the basic steps for creating a MBO by using a RFC from SAP system and the subsequent creation of a workflow from it.
Steps to configure a hyperlink on a text to open a navigation screen :
The link control in the palette can be used to make a phone number or an email id.It can also be used to call an external URL.
In this particular document i shall show you how to open a different screen on the click of a text item.
Step 1 : Create a link on the screen by dragging the control Link from the palette.
Step 2 : Other than email and telephone number there is an option of choosing “open external URL”.
Step 3 : Change the method showURLInBrowser to a menuItemCallback method which will help you navigate to the screen you wish to go to.
Step 4: The method menuItemCallback will trigger a new screen on the click of the text and will help you go to a different screen.
On Clicking on the item “James” the next screen shows up.
i could nt understnd how to go with control LINK.
i want to use this control for navigation from Start screen to next screen.
let me share how i am proceeding:
1.drag nd drop a control LINK from Right hand side.
2. create a new key for the same.
3. in HREF settings:
i m selecting:
logical type: custom
where i am doing wrong in the code?
Please make sure that the menu item name is correct.that could be the only possible error,To make sure you using the right one search in workflow.xml for the same.
Also make sure you create a menu item in the start screen which takes you from start to next and then you call the same menuItemCallback method in your ahref
i got the result. and do confirm me again:
so we cant navigate to othr screen w/o existing navigation between two.?
suppose i hv 2 screens... screen1 and screen2.. but there is no menu item on screen1 to navigate to 2nd screen.
in this case, LINK control wont work ? correect?
LINK control will work iff there is an existing navigation.
Yes thats the correct understanding
There has to be a navigation existing in form of menu item for link to work in this fashion
thanks Shweta and Daniel.
Thanks Daniel.... i wasn't aware of the same.