Change the Connections editor on the fly

Created:
Author: Christoph Stoettner
Read in about 2 min · 250 words

Typewriter

Photo by Markus Winkler | Unsplash

When I test topics with the different Connections editors (CKEditor, Textbox.io and TinyMCE), I always used multiple users in my test environment, installed the editor selector ear and then gave each of the test users a different editor. That’s easy with the different j2ee roles, but I always had to use multiple browsers or sandboxes to see them next to each other.

Selection with URL parameter without changing the user

During a support call with Tiny and HCL I learned, that you can switch the editor with a URL parameter. So no need to change the configuration or use the tinyeditorselector.ear.

Add the following snippet (case-sensitive!) to the URL you want to call:

CKEditor

?editor=CKEditor

Textbox.io

?editor=textbox.io

TinyMCE

?editor=TinyMCE

When there is already an option added to the URL, just add this snippet and replace ? with &

Example

Open a blog post: https://preview.hclconnections.net/blogs/97886d2e-9f86-4f49-b74c-b0b525ae7689?lang=en_us this will open the blogs overview, now select New Entry and you are redirected to https://preview.hclconnections.net/blogs/roller-ui/authoring/weblog.do?method=create&weblog=97886d2e-9f86-4f49-b74c-b0b525ae7689&lang=en_us.

In my case this opens the TinyMCE editor as the default:

So now lets change the URL to: https://preview.hclconnections.net/blogs/roller-ui/authoring/weblog.do?method=create&weblog=97886d2e-9f86-4f49-b74c-b0b525ae7689&lang=en_us&editor=textbox.io

and the same page with Textbox.io is loaded.

And finally change the URL to: https://preview.hclconnections.net/blogs/roller-ui/authoring/weblog.do?method=create&weblog=97886d2e-9f86-4f49-b74c-b0b525ae7689&lang=en_us&editor=CKEditor

and CKEditor loads and can be used.

So a perfect way to fast change to a different editor, do some tests and screenshots and then go back to your default.

Be aware that some Connections URLs use a #, then you need the additional URL parameter before the # sign!

Wiki Example

https://preview.hclconnections.net/wikis/home?lang=en-us#!/wiki/W269d1b93c705_4ebe_9986_1964c6dd6bfa/page/Welcome%20to%20Testing%20Metrics/edit here use https://preview.hclconnections.net/wikis/home?lang=en-us&editor=textbox.io#!/wiki/W269d1b93c705_4ebe_9986_1964c6dd6bfa/page/Welcome%20to%20Testing%20Metrics/edit

Author
Add a comment
Error
There was an error sending your comment, please try again.
Thank you!
Your comment has been submitted and will be published once it has been approved.

Your email address will not be published. Required fields are marked with *

Suggested Reading
Card image cap

I created a git repository with some smaller CSS files to fix some annoyances within HCL Connections.

I started with this to prevent Orient Me to load fonts from external URLs or Elasticsearch Metrics to break the UI on larger screens. These issues are solved after the last updates I got from support, but Blogs and Tailored Experience Wizard can be improved with some simple rules.

Created: Read in about 3 min
Card image cap

Yesterday I updated a Connections environment to the latest CFix. In other environments I found that PushNotification Cluster was not started after the update, like described in the knowledge base document PushNotification broken after upgrading to CFix.65CR1.2201 . In this update the application and cluster were running, but not working at all. Browser console.log showed the error:

Error connecting to push auth sync service /servic/info: RequestError: Unable to load https://cnx-fqdn/push/service/info status: 500
Created:
Last Update:
Read in about 1 min
Card image cap
HCL Support published a collection of links to MustGather informations for Connections and addons. That’s the perfect starting point to start troubleshooting and collecting logs for your support cases. Collecting Data: Repository of MustGather for Connections
Created: Read in about 1 min