It's all about the answers!

Ask a question

Hyperlinks are no more displayed as links when entered in description(wiki type), "//" gets trimmed

Naveen Kumar N (111) | asked Jul 14 '16, 8:23 a.m.
edited Jul 14 '16, 10:31 a.m.
What we know:
In RTC wiki syntax, for urls/ hyperlinks, it needs to be enclosed inside {{ }} to display as unformatted text.
For example : will be displayed as if its not enclosed inside {{}}. If it is enclosed as {{}}, then it is getting displayed as expected.

What we need:
We need regular expression or any other solution so that such texts can be parsed and enclosed inside {{ }} programmatically before saving it to RTC.

Thanks in Advance

2 answers

permanent link
Ralph Schoon (56.6k23642) | answered Jul 14 '16, 11:13 a.m.
The Wiki attribute type has this syntax : and you have to basically use that syntax or use a HTML attribute type if you want to paste the link and get it converted.

Naveen Kumar N commented Jul 15 '16, 1:00 a.m.

Thanks for the answer Mr. Ralph Schoon.

We already have an application which uses wiki syntax(wiki type) for description field. As I mentioned we know that enclosing links inside {{ }} will consider the text as unformatted. But In a given description, we need to parse urls/hyperlinks alone so that we can enclose those parsed texts inside {{ }} via program to display links as expected.

Thanks in Advance

permanent link
Ralph Schoon (56.6k23642) | answered Jul 15 '16, 3:48 a.m.
Then you would have to create a follow up action/participant for work item save. Start here:

Participant examples:

Your answer

Register or to post your answer.