I'm using doc type property(Textstring) with the following alias "umbracoUrlName". This is reserved alias for Umbraco and it allows you to use custom url for document.
I have navigation menu which generates this custom url's, but for some items I'd like to add querystring as well.
If I enter for "umbracoUrlName" the following value for example: "/testpage?param=123", umbraco reserves it differently and document is allowed on the following url : "/testpageparam-123/", but i need to generate querystring.
There is an ability to replace url from umbracoSettings file in <urlReplacing> section. I've tried the following:
Yes Michael. That's how I've done it already. I just thought that there is other mechanism in Umbraco to do that without adding new doc type property for querystring. Thanks
Add querystring to "umbracoUrlName" property
Hi,
Is there any way to add querystring to "umbracoUrlName" property? So it will look like for example "/node-url/?param=value".
Hi progproger,
can you give some more details of the context?
We offen use jQuery to append querystrings to the urls.
But in this case we first need some more information.
/Michaël
Hi Michael,
Thanks for your response. In more details:
I'm using doc type property(Textstring) with the following alias "umbracoUrlName". This is reserved alias for Umbraco and it allows you to use custom url for document.
I have navigation menu which generates this custom url's, but for some items I'd like to add querystring as well. If I enter for "umbracoUrlName" the following value for example: "/testpage?param=123", umbraco reserves it differently and document is allowed on the following url : "/testpageparam-123/", but i need to generate querystring.
There is an ability to replace url from umbracoSettings file in
<urlReplacing>
section. I've tried the following:but still without success
Hmmm what is the reason to manually add a querystring to the name of a node?
If its something static, why not store the param value in a new property on that document type and take it in your code?
/Michaël
Yes Michael. That's how I've done it already. I just thought that there is other mechanism in Umbraco to do that without adding new doc type property for querystring. Thanks
is working on a reply...