Try our conversational search powered by Generative AI!

Way to allow HierarchicalCatalogPartialRouter to set query paramaters



Like many others I'm sure I am upgrading a site to 14, but am running into an issue where there doesn't seem to be a way to set query paramaters (?p=3432&code=324) in GetPartialVirtualPath which we have to support for existing reasons. This worked fine in 13.

So in 13 GetPartialVirtualPath

seriesRouteData.PartialVirtualPath = "path?p=stuff&t=otherstuff"

will work fine, but the same code in 14 generates a path that has a '/' appended, 

Is there anyway I can stop that appending? 


Edited, Jun 14, 2023 14:30

Hi Scott,

This is going to sound a bit stupid, is your solution setup to append a traling slash or not?

(Mind is blown we have 2 Scott Reeds in the community!).


Jun 15, 2023 9:21

Yeah it is a little crazy to have multiples. 

I did try to force off the append trailing slash, but it doesn't seem to have made a difference. 

Jun 20, 2023 16:54

Hey Scott,

I don't suppose you could share the code for your PartialRouter?


Jun 21, 2023 10:21
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.