This website uses cookies to offer you the best experience online. By continuing to use our website, you agree to the use of cookies. If you would like to know more about cookies and how to manage them please view our Privacy Policy & Cookies page.

 
×
AgentRiseTM
Services
Domain & Strategy
Cognitive Architecture
Harness Engineering
Artificial Intelligence
  • Agentic AI
  • Generative AI
  • Advanced Analytics, AI/ML
  • Intelligent Automation
Data & Analytics
  • RegTech
  • Data Strategy
  • Data Engineering
  • Data Visualization
  • Data Management & Governance
  • Managed Data Services
Digital Engineering
  • Cloud Engineering
  • Application Development
  • Application and Platform Modernization
  • Connected Product Engineering
  • Quality Engineering
  • Operations Engineering
Experience
  • UI/UX
  • Salesforce
  • Digital Commerce
  • Enterprise Service Management
  • Employee Experience
  • Customer Experience
Industries
Healthcare
Life Sciences
Financial Services
High Tech
Consumer
Automotive & Manufacturing
Success Stories
Knowledge Hub
Blog Videos White Papers Fact Sheets Podcasts eBook
Partners
AWS Microsoft Google Cloud Databricks Cprime Salesforce ServiceNow Atlassian All Partners
About
Who We Are
  • Peak Ingenuity
  • Meet Apexon
  • Leadership
  • Partners
  • Experts
  • ESG
  • Values
  • We Give Back
Awards & Recognitions
  • Analyst Recognition
  • Awards
Company Information
  • Delivery Centers
  • Legal Entities
  • Transparency Statement
  • Terms & Conditions
  • Privacy Policy
Newsroom
Events & Webcasts
Careers
Contact Us
Contact Us
  • Home
  • Insights
  • Blog
  • Sitecore 9.3 Custom Link Provider

Sitecore 9.3 Custom Link Provider

Reading Time: 4  min
Summit Phadke
Apr 19, 2020 |
Posted in Digital Commerce
Sitecore 9.3 Custom Link Provider

In Sitecore 9.3, the way Link Resolver works has changed from previous versions and  sitecore documentation link has details about the changes.

Today, in this blog, we will see how we implement custom link provider by overwriting the default link provider.

Why do this?

  • Because it helps to generate dynamic urls or shorten the urls.
  • We can use this for wildcard item url generation OR shortening the urls of say blog details.

Consider a scenario where we are using sitecore wildcards (*) and actual items are present in say “Global” section of the content tree or a scenario, where we have blogs that are organized in Year/Month/day/<<BlogName>> i.e. actual item url is long and we want to shorten the url to say /blogs/<<BlogName>> without actually moving the sitecore content items.

In this case, we will need to implement custom itemresolver which will dynamically resolve the url to the correct format.

Also read: Sitecore Platform Inspection – How To Get Most Out Of It

In order to do this, we will need to write CustomItemBuilder Class that inherits from default sitecore 9.3 ItemUrlBuilder class.

We will need the constructor to inherit from the base constructor.

We will then need to override the default Build() method as per below screenshot.

default Build() method

Once we write our logic to resolve the item url, we will need to create patch config file and reference it to the class that we have written above.

Also read: Personalization Buzzwords Explained

Below is the example of patch config file.

patch config file

The above example is overriding the item resolver and we will need to do similar logic changes in case we need to resolve media items.

Contact us now to learn more about our services related to Sitecore

Stay Updated
Please enable JavaScript in your browser to complete this form.
Loading
Related Articles
  • BOPIS: Buy Online, Pick Up in Store – A Complete Guide for Retailers
    BOPIS: Buy Online, Pick Up in Store – A Complete Guide for Retailers
    12/12/2022
  • 9 Holiday Season Sales Strategies To Easily Improve Engagements & Conversions
    9 Holiday Season Sales Strategies To Easily Improve Engagements & Conversions
    25/11/2022
  • 5 Quick Tips on Optimizing Critical Factors for Luxury eCommerce Sites
    5 Quick Tips on Optimizing Critical Factors for Luxury eCommerce Sites
    15/11/2022
  • Halloween Treat: Increase eCommerce Sales By 10X This Season
    Halloween Treat: Increase eCommerce Sales By 10X This Season
    26/10/2022
  • Ultimate Tips On How Mobile UX Can Boost The Conversion Rates
    Ultimate Tips On How Mobile UX Can Boost The Conversion Rates
    13/09/2022
Tags
Digital commerce
Interested in our Digital Commerce Services?
Please enable JavaScript in your browser to complete this form.
Checkboxes
By submitting this form, you agree that you have read and understand Apexon’s Terms and Conditions. You can opt-out of communications at any time. We respect your privacy.
Loading
More AddThis Share options Share to Facebook Share to Twitter Share to Email
More AddThis Share options Share to Facebook Share to Twitter Share to Email
How can we help you?
Please enable JavaScript in your browser to complete this form.
Multiple Choice *
Name *
=
Checkboxes
Loading
info@apexon.com
Collapse All Quick Links
We engineer intelligent enterprises
Domain & Strategy
Cognitive Architecture
Harness Engineering
Artificial Intelligence
Agentic AI
Generative AI
Advanced Analytics, AI/ML
Intelligent Automation
AI Powered Quality Engineering
Data & Analytics
RegTech
Data Visualization
Microsoft Fabric
Data Management & Governance
Data Strategy
Managed Data Services
Data Engineering
Data Training as a Service
Digital Engineering
Cloud Engineering
  • Cloud Strategy
  • Cloud Migration Services
  • Cloud Enablement
  • FinOps
Application Development
  • Custom Application Development
  • Low-code/No-code Development
  • Cloud-Native Development
  • Interactive Experiences
Application and Platform Modernization
  • Application Modernization
  • Mainframe Modernization
Connected Product Engineering
  • Connected Medical Devices
  • IoT Development
  • Wearables
  • Edge Computing
  • Digital Twin
Quality Engineering
  • Quality Engineering Consulting
  • Testing Centers of Excellence (TCoE) for Digital
  • Service Virtualization
  • Cloud Native Testing & Automation
  • Intelligent Testing
  • Functional Testing
  • Performance Testing
 
  • Security Testing
  • Selenium-Based Test Automation
  • Test Automation
  • Selenium-Based Test Automation
  • Intelligent Testing & Automation for Salesforce
  • IoT Testing
  • Wearable Testing
Operations Engineering
  • Site Reliability Engineering (SRE)
  • Devops
  • Chaos Engineering
  • Digital Immunity
Experience
UI/UX
  • UX Workshops
  • UI/UX Design
  • UX Research-as-a-Service
Digital Commerce
  • Connected Commerce
  • Agent-Ready Commerce
  • Discovery & Preference Optimization
  • Marketing Engineering
Salesforce
Customer Experience
Employee Experience
Enterprise Service Management

Apexon, Copyright © 2026. All rights reserved.

SitemapGlossaryPrivacy PolicyTerms & Conditions