Skip to main content

Notifications

Announcements

No record found.

Customer Service forum

How to open a link(URL) of content part of KDB Article at portal in new tab.

Posted on by

Hello Experts,

I have a business requirement that when a user click on a link available in the content of a KDB Article in the portal, the page or import opens up in the same tab which replaces the KDB Article,so when the link opens in the same tab it doesn't let the users read the instructions anymore (meaning they have to go back and read the rest of instructions) so we need all the links automatically open in a new tab when we click on the link.

So i have a given a solution to add target = "_blank" in <a> tag which makes a link to open in a new tab and its working perfectly.

8358.Capture.PNG

But now the issue is there are around 3000 KDB articles and its very hard to add target = "_blank" manually for all the articles.

So my requirement is that is there any possibility to add target = "_blank" automatically(using plugin or any way) ones after the user gives the required url using link button(in designer view under Rich text box).

Is there any way of solution which works for existing KDB articles and also when creating a new articles as well.

Regards,

Jakkani Bharath

  • Suggested answer
    Byron Dittberner Profile Picture
    Byron Dittberner 235 on at
    RE: How to open a link(URL) of content part of KDB Article at portal in new tab.

    Hey

    I have had a similar requirement and It can be a little difficult to teach CRM users to use HTML. At the end of the day, the user just wants to be able to create their article without having to learn 20 languages...

    So what I did instead is used a Bootstrap Modal instead. To explain, a Modal is a popup that overlays the current webpage. So what I did was manipulate how the click action works on the category which is exposed on the portal to open the Article in a Modal. this was the user will not have to navigate away from the page they are on nor will they land up with many browsers open at the same time.

    Check out getbootstrap.com/.../ for sample code which you can easily set up in your portal. this also explains how models work with some live samples.

    I hope this help......

    ====================================

    If your find my response helpful, please mark as verified

    ====================================

    If you need help learning how to create sexy Portals using HTML5 CSS JS and Bootstrap, feel free to join my LinkedIn group for ABC's for Dynamics 365. I will be hosting a number of webinars on Portal Configuration and Customization very soon.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans