8
votes
Accepted
Getting Id from wildcard page urls
Background
The thing to keep in mind is that wildcard items are just regular items. When Sitecore resolves the item to use in a page request, if the URL looks like a path, Sitecore will descend ...
6
votes
Accepted
Helix, breadcrumbs and wildcards
In my attempt to follow the Helix design principles as closely as possible, the issue of Feature-to-Feature module references has come up quite a bit and still remains a bit fuzzy to me.
According to ...
4
votes
Wildcards in Integrated Mode
I ended up accomplishing this using a custom Contents Resolver and a Layout Extension:
Contents Resolver:
using Sitecore.Data.Items;
using Sitecore.LayoutService.Configuration;
using Sitecore....
3
votes
Accepted
Using wildcard in AllowedCorsOrigin of the IdentityServer
Wildcards are not currently supported by Identity Server. There was a similar request in the Identity Server GitHub and the response was:
Wildcards in URLs are always dangerous from a security point ...
3
votes
Getting Id from wildcard page urls
It does not.
While the URL parsing mechanism in Sitecore can get very cryptical at times, it basically happens like this:
Split up the URL, breaking on '/'
Recursively do GetItem/GetChild on each ...
2
votes
Resolving wildcard item and show the presentation detail of the wildcard item
If you have your custom WildcardItemResolver processor, set the wildcard item in HttpContext.Current.Items before replacing it with your product item, e.g.:
class WildcardItemResolver : ...
2
votes
Accepted
Wildcard item throwing error on language switching
When we see the code we'll be sure, but I'm rather convinced the problem is that your custom language switcher is asking the url from the page in the other languages through the Sitecore API - which ...
2
votes
Accepted
Wildcard Certificate VS MultiDomain Certificate In Sitecore 9.2
I think this is more of an opinion based question but I am writing this answer based on my experience. Let's start with understanding the Wildcard Cert and Multi-Domain/SANS certs.
Wildcard Cert - A ...
1
vote
Sitecore XMC NextJS Wildcard Pages
This blog might help.
An alternative approach for wildcard items in Sitecore XM Cloud: https://medium.com/@mitya_1988/an-alternative-approach-for-wildcard-items-in-sitecore-xm-cloud-69fd121b0d32
It's ...
1
vote
How to form a Page URL of wildcard item in scriban
Step 1: get your link correctly
To make sure the links to a wildcard item are consistent in the whole site, you should tell Sitecore how you want the links to be created. This used to be creating your ...
1
vote
Sitecore Wildcards overwrites existing page items
My issue was to do with ItemResolvers in the end
I followed the solution mentioned on https://sitecore.stackexchange.com/a/7698/7403
Sitecore MVC resolves it (again) Which is both confusing and (I ...
1
vote
Accepted
Path-analyzer report for wildcard items
Out-of-the-box, Sitecore does not provide a solution for Wildcard pages and the related tools (Analytics Tracking, Path Analyzer, and so on).
You need to implement a custom solution for correctly ...
1
vote
Custom route for wild card
You can use IIS Rewrite inbound rules to accomplish this, for example:
<rule name="Property URL Rewrite" stopProcessing="true">
<match url="^new/Brand-([0-9]+)/...
1
vote
Sitecore Dynamic URLs on data driven pages
There is a wildcard module available in Sitecore marketplace which can exactly help you in your blog post with blog detail scenario.
Module's marketplace link : https://marketplace.sitecore.net/en/...
1
vote
Resolving wildcard item and show the presentation detail of the wildcard item
The answer is dynamic, you will need to assign the data source to the rendering. As we know that rendering depends on the RenderingContext.Current.Rendering.DataSource and instead of assigning the ...
1
vote
Accepted
Redirect requests based on missing data on wildcard item
The reason why you are seeing an empty page (with header and footer) when requesting a faulty id is probably because the code in the rendering that shows your actual content can't find any data and ...
1
vote
Redirect requests based on missing data on wildcard item
You will need to have a custom processor in the <httpRequestBegin> which see if the item in the url is valid or not.
So, the patch will be as follows:
<configuration xmlns:patch="http://www....
1
vote
Wildcard page using external data
If you have output that should pull from an external piece of data and not from the current Sitecore item, then by definition you can't use renderings and logic that has been built only to look at the ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
wildcards × 20sxa × 2
nextjs × 2
xm-cloud × 2
sitecore-client × 1
jss × 1
xconnect × 1
publishing × 1
multilingual × 1
caching × 1
helix × 1
multisite × 1
identity-server × 1
datasource × 1
buckets × 1
solution-architecture × 1
urls × 1
url-rewrite × 1
scriban × 1
routing × 1
path-analyzer × 1
sitecore-marketplace × 1
custom-route × 1