on 07-09-2009 6:57 AM
Hello Colleague,
I have a requirement where i need to create a QUICK HELP with a hyperlink in it.
I use EXPLANATION element to create quick help in WD ABAP. I want to know how can i add a Hyperlink in the text.
Example.
My name is Piyush Deora.
Here, Piyush Deora is a Hyperlink that traverses to a WebPage.
Thank you in advance.
Regards,
Piyush Deora
For security reasons you can do what you describe. Any text output via the Explanation or Quickinfo (or many other UI elements), goes through safe encoding to make sure it doesn't contain any HTML or JavaScript.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi piyush,
use the element 'LINK TO ACTION' to access th link and include this piece of code in the 'on action' event.
DATA: api_component TYPE REF TO if_wd_component,
window_manager TYPE REF TO if_wd_window_manager,
window TYPE REF TO if_wd_window.
api_component = wd_comp_controller->wd_get_api( ).
window_manager = api_component->get_window_manager( ).
window = window_manager->create_external_window(
url = url
modal = abap_false ).
window->open( ).
Pass the desired web page URL to the 'URL" field.
Hope this will be needful.
Thanks,
Martina
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use "Link to URL" element.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.