Questions? Feedback?powered byOlark live chat software
Bug 2991

Hyperlinks in RTE 16 October, 2019

Geir Magne Vangen
05 July, 2019
Product: PowerBuilder Category: Controls & UI
Version: 2017 R3 Publishing: Public
Classification: Enhancement Priority: P3
Status: Transferring Reason:
Mark Lee 16 October, 2019
Hi Geir,

Thanks for reporting this problem!
Currently the built-in-TX-control doesn't support the Hyperlink element.
And as you said, the hyperlinks work well when you use the "Build-in Rich Edit Control”.
We can reproduce the issue that ‘it delivers html which includes two <a>-elements, both including the same link’ and the behavior is the same as that in PB 12.6.
But if we add text to the rich text as follows:
No data will be represented twice.
So it should be a new requirement/enhancement rather than a bug.
We'll transfer it to our product team for consideration.

Mark Lee
Mark Lee 11 October, 2019
Hi Geir,

Thanks for reporting this problem.
We will work on it and get back to you soon.
Thanks for your patience and understanding.

Mark Lee
Geir Magne Vangen 10 October, 2019
w_rte_link_test.srw (7KB)

Hi Chris,

Sorry for this late reply. This hasn't been solved yet, but I found some time to build a test case. 

I've added a window, where you can push the 'Add link to RTE text' button. In this case the Appeon url will be added to the rte.
Then you can push "Generete html" to present the html-representation of this.

The appeon-link is represented twice in the html file, and this gives us some problems in a later process (publishing the information on web the link is presented two times).

As mentioned we are using the "Built-in TX Text control" as the we have other problems with the "Build-in Rich Edit Control" that makes it unusable for us.
Chris Pollach 02 August, 2019
Hi Geir;

   We have not heard back from you for a while. Were you able to resolve your issue?

Regards ... Chris
Chris Pollach 05 July, 2019
Hi Geir;

  Thank you for those HTML examples from the RTE control.

  Can you provide us with a simple test case PB Application that mirrors the problem(s) you reported around the RTE link issues.

Regards ... Chris
Geir Magne Vangen 05 July, 2019 (1KB)


We have an application using the built in rich text editor in powerbuilder to manage information for later publishing on web. We are trying to add functionality for the editor for add hyperlinks.

This add links to the rich text as follows:

	{\rtf1{\colortbl ;\red0\green0\blue238;}{\field{\*\fldinst HYPERLINK "'+sle_url.text+'"}{\fldrslt{\ul\cf1'+sle_text.text+'}}} }

So far so good.

But when we try to generate html from the rich text, the built in TX text control delivers html which includes two <a>-elements, both including the same link.
See enclosed built-in-TX.html.

When changing to the build in rich edit control, the result is as expected, the link only turn up once.
See enclosed built-in-RTE.html.

The reason we can't use the built in rich edit control are other issues that control has (we are also using RTE in some data windows and for generating documents). These problems has been reported earlier.

Is the problem with html-generation from the built-in-TX-control something you can help us out with? The best for us would of course be functionality in the RTE control for editing hyperlinks.

*Reproduce Steps:

Windows 7 
Database Type:
Database Version: