Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

HTML tags in So10

Former Member
0 Kudos

Hi,

From my program I am sending mail by using so10 text with HTML tags. Please let me know how to send below HTML tag dynamic URL to SO10.

Ex: I want to append a URL with <a href> tag like this <a href='www.xyz.com"> , please click here

regards

Bharani

1 ACCEPTED SOLUTION

Ryan-Crosby
Active Contributor
0 Kudos

Hi Bharani,

I have done something like this before where I simply embed a placeholder in my standard text:

"URL" and then in my program I code ->

REPLACE FIRST OCCURRENCE OF '"URL"' IN text WITH p_url.

Regards,

Ryan Crosby

5 REPLIES 5

Ryan-Crosby
Active Contributor
0 Kudos

Hi Bharani,

I have done something like this before where I simply embed a placeholder in my standard text:

"URL" and then in my program I code ->

REPLACE FIRST OCCURRENCE OF '"URL"' IN text WITH p_url.

Regards,

Ryan Crosby

0 Kudos

Hi Ryan,

Can you please tel me in ur SO10 -- URL you have included as a HTML tag with < > or like a normal variable &...&.

0 Kudos

You can do either, actually.  You can embed < > anbd you can insert variables, like &1, &2, etc.  I do both. One would then do a replace &1 with some variable value or some literal or other text value, etc.

0 Kudos

Hi Bharani,

I chose to create my placeholder variables as literals surrounded by double quotes on each side.  Then I use the functionality of REPLACE to insert the variable values.

Regards,

Ryan Crosby

former_member189849
Contributor
0 Kudos

Hi bharani,

http://www.sapfans.com/forums/viewtopic.php?f=13&t=239891

see the above link its usefull i think

Regards

mahesh.