web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Suggested Answer

Is it possible to update the permalink formatting of KB articles to include the name instead of an ID?

(1) ShareShare
ReportReport
Posted on by 40

We want to modify the permalink to display the KB article name instead of the KB article id number. Has anyone been able to do this successfully? 

pastedimage1675806021099v1.png

I have the same question (0)
  • Leah Ju Profile Picture
    Microsoft Employee on at

    Hi Partner,

    Unfortunately, you can't modify the permalink to display the KB article name instead of the KB article id number.

  • JustRhonda Profile Picture
    99 on at
    Are you using a Portal Page? I notice in the Customer Service Application, the link uses the GUID which means the link is tied to an article version. I would like to have a permalink but it seems like it is only available in a Portal which is disappointing. This also affects users that 'Favorite' or "Pin' articles. They aren't going to the latest version which can create an accuracy issue.
  • Suggested answer
    Amit Katariya007 Profile Picture
    10,409 Super User 2025 Season 2 on at
    In Dynamics 365, the default behavior for knowledge base (KB) article URLs typically includes the article ID rather than the article title or name, as this ensures uniqueness and avoids issues with duplicate names.
     
    However, you can give it a try by modify the permalink to use the KB article name instead, though below requires customization.
     
    1. Enable Custom URL Generation:
     
    If you have access to Dynamics 365's Web API, you can use it to retrieve and display the KB article name in the URL dynamically.
     
    Create a custom field for the URL or slug, such as "article-name" or "slug," and populate it with a URL-friendly version of the article name (removing spaces, special characters, etc.).
     
    2. Rewrite URLs Using JavaScript or Code:
     
    Use JavaScript on your portal (e.g., Power Pages or Power Apps Portal) to intercept requests to KB article URLs. When a KB article page loads, check for a custom field, like the article name.
     
    Modify the URL dynamically to replace the ID with the article name. For example, you could create a URL format like /kb/{article-name} rather than /kb/{article-id}.
     
    3. Redirect or Route to Custom URLs:
     
    You may need to add server-side logic or a routing rule that maps article names to their respective KB records. For Power Pages, you can use Liquid templates or portal code to set up friendly URLs.
     
    Ensure that your routing rules handle potential duplicate article names gracefully. You might consider appending a unique identifier to any duplicate names or validating unique names upon article creation.
     
    Some additional points to consider:
     
    Limitations in Dynamics 365 OOB: Without portal customization, Dynamics 365 doesn’t natively support changing URLs to display article names.
     
    Plugins and Web Resources: If further customization is needed, a plugin or web resource could be written to handle URL modifications at a deeper level, but this will increase maintenance.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 55 Super User 2025 Season 2

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 27 Most Valuable Professional

#3
Soundari Profile Picture

Soundari 15

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans