Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I use Umbraco 10,
I have created a SurfaceController and I want to create a custom routing for it.
Url like : /umbraco/surface/due-date-calculator/result/november-03
Whereas, what I want is : /due-date-calculator/result/november-03
I searched but found no results.
Thanks for your help.
Hi Gokhan,
The short answer is no. Surface controllers are auto routed : https://docs.umbraco.com/umbraco-cms/reference/routing/surface-controllers
Maybe you can explain a bit what you are trying to achieve. So we can come up with a solution.
Dave
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Can Url Change in SurfaceController?
I use Umbraco 10,
I have created a SurfaceController and I want to create a custom routing for it.
Url like : /umbraco/surface/due-date-calculator/result/november-03
Whereas, what I want is : /due-date-calculator/result/november-03
I searched but found no results.
Thanks for your help.
Hi Gokhan,
The short answer is no. Surface controllers are auto routed : https://docs.umbraco.com/umbraco-cms/reference/routing/surface-controllers
Maybe you can explain a bit what you are trying to achieve. So we can come up with a solution.
Dave
is working on a reply...