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.
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
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.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,802 Super User 2024 Season 2
Martin Dráb 229,129 Most Valuable Professional
nmaenpaa 101,154