Question

Filter the hyperlinks in rich text editors and get in on pop-up of review mode

Hi All,

I have a requirement to filter only the hyperlinks in rich text editor and get it on pop when the review mode is clicked. Please help me on this regard.

Thanks,

Divya

***Edited by Moderator: Lochan to update platform capability tags***

Comments

Keep up to date on this post and subscribe to comments

Pega
October 22, 2019 - 5:19pm

Hi Divya

What version of Pega are you on?

Could you please clarify what you mean by filter only the hyperlinks in RTE? 

Thanks

October 23, 2019 - 5:39am
Response to mahab_GCS

Hi Mahab

Pega version is 8.1

I need to populate all the hyperlinks showing up it in review mode. also should have an option to copy all the links in review mode.

Thanks,

Divya

October 23, 2019 - 8:59am
Response to DivyaR29

I don't think i understand the requirement here.  Could you provide a mock up example of what you are trying to achieve?

October 23, 2019 - 11:31am
Response to Marc Alderman

Hi Marc,

We can have plain text, table, image and hyperlinks in RTE. When we click on review button I should be able to get only hyperlinks and also able to copy all the hyperlinks--- should have a button to copy hyperlinks in the pop-up which is displayed on click of review button.

Can you please help me on this.

Thanks,

Divya

October 23, 2019 - 10:24am

Hi Divya, 

you may need to right your own utility (function / activity) that parses the "source" of your RTE and adds occurrence of every <a href> to a separate list. I do not think there is any OOTB way / activity to do this.

Could you elaborate on "when the review mode is clicked" . Are we talking about when is review harness mode (OR) your own "Review" button

October 23, 2019 - 11:28am
Response to Krithiga_GCS

Hi Krithiga,

We can have plain text, table, image and hyperlinks in RTE. When we click on review button I should be able to get only hyperlinks and also able to copy all the hyperlinks--- should have a button to copy hyperlinks in the pop-up which is displayed on click of review button.