cancel
Showing results for 
Search instead for 
Did you mean: 

URl in popup message

Former Member
0 Kudos

Hi,

I was able to populate the pop up with text in it. i have one more issue . I concatenated URL along with the text as below. Though the 'Text for URL (Guide in this case)' is been grayed out its not providing the 'Hand link' to the URL .

DATA: w_url TYPE AGR_URL.

w_url = '<a href="http://doc.pdf" target="_blank">Guide</a>'.

CONCATENATE 'employees detais' w_url 'check the link for more info' into l_text.

Then i am assigning l_text to the Formatted Textview UI element.

Is there any thing i am missing for the URL link.

Thanks,

Kumar.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi,

For opening a new URL :

1. Create a LINKTOURL UI element.

2. Bind the text with the target propperty of LINKTOURL UI element.

3. This way you will be having URL with hyper link .

In your case :

Do as follows:

Create LinktoURL -> Create one context Attribute(Att) of type String. -> Bind attribute Att with Target property of UI.

For 'employees detais' : Create one textview and bind 'employees detais' with text property of TextView.

For wa_url : Create linktourl ui and bind wa_url with target property of linktoUrl.

Your layout will look like :

employees detais wa_url. wa_url will be link to url.

-


I hope i am clear.

Former Member
0 Kudos

Have you used LinkTo URL or LinkToAction. If you have used Linktoaction then impelment the action handler for that then you will get the hand icon. If you are using the LinkToURL then try to give the correct URL(full domain).

Try to use LinkToAction UI element.

I guess, you are directly concatenating the string and display that message, and part of the text is URL right.

Then you have to have textview, LinkToAction,textview as a part of the UI elements.

Have you deisgned the layout that way or not.

Ex:

w_url = 'Guide'

CONCATENATE 'employees detais' w_url 'check the link for more info' into l_text.

display ' employee details' text in one Textview UI element,

LinkToAction - Guide

display 'check the link for more info' in other Text view.

Then i am assigning l_text to the Formatted Textview UI element.

Hope this is clear.

Regards,

Lekha.

Answers (1)

Answers (1)

abhimanyu_lagishetti7
Active Contributor
0 Kudos

You have to use LinkToUrl UI element to show URLs

Abhi