Is it possible to dynamically link to topic?

In Authoring console there is no option to link to Topic dynamically. Customer has multiple portals using the same articles and wants to add a link to topic in these articles that would stay in the same portal. The Link Article functionality would suffice if it could link to topics.

Yes. It is possible to link dynamically to a Topic. You need to create an HTML “a href” tag in the content. You also need to know the ID of the Topic, which is available in the Authoring Console. In the “a href” tag, make it look like the following:

<a href="../../topic/202200000001038">Link to Topic</a>

Notice the "../..". That will put the “/topic” at the right level of the current URL.

1 Like

Does this method of linking to a topic still work? I tried it in a test environment, and it was deleting the link whenever I put it into the source code.


Yes, it should still work. I’ve tried it with my system, and the link stays. I’ve also looked at the Rich Text Content Policy (RTCP), and that URL should work with the OOTB RTCP settings. Have you modified the RTCP?