Skip to main content
Level 2
Oct 16, 2015 2:29 AM UTC
Solved

How to pass parameter to url authored in Rich Text?

Is there any way which I can pass parameters while authoring internal links via link plugin in Rich Text editor.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Tomasz_SobczykAccepted solution
Level 2
Oct 16, 2015 2:29 AM UTC

Regular pathfinder is not going to allow you to add parameters. You need to extend the Link dialog in Richtext and add custom "suffix" field there, of course including overriding the implementation part which is responsible for generating html of the link (which will include your additional parameter). 

3 replies

Tomasz_SobczykAccepted solution
Level 2
Oct 16, 2015 2:29 AM UTC

Regular pathfinder is not going to allow you to add parameters. You need to extend the Link dialog in Richtext and add custom "suffix" field there, of course including overriding the implementation part which is responsible for generating html of the link (which will include your additional parameter). 

Translate
shiv_0506Author
Level 2
Oct 16, 2015 2:29 AM UTC

I need to give some internal page link to the text authored in RTE. eg. /content/mysite/en_US/product. 

After that I need to append some paramaters to this link like http://localhost:4502/content/mysite/en_US/product.html#viewProductId=134.

I tried with giving link url as /content/mysite/en_US/product.html#viewProductId=134. But it is still pointng 

to  http://localhost:4502/content/mysite/en_US/product.html. It's not showing up the params.

Translate
smacdonald2008
Level 10
Oct 16, 2015 2:29 AM UTC

Can you please describe you use case in more detail. From where do you want to pass a parameter from? 

Also - for more information about the list plug-in - see:

https://docs.adobe.com/docs/en/cq/5-6-1/widgets-api/index.html?class=CQ.form.rte.plugins.ListPlugin

Translate