SaaS CMS has officially launched! Learn more now.

Add routing for a Promotion in the new marketing engine



Is it possible to add routing for a Promotion? Seems like there is only partial rendering by default but I would like to do something like this:


Or maybe there is another good way to solve how to display a Promotion like a page of its own?



Feb 22, 2017 11:57

Yes, probably. If I remember correctly that was done (implementing IRoutable) by one of our devs on a hack day. 

If it doesn't work well, a possibility would be to have a ContentReference property on the promotion model where the marketer would point to a landing page for this promotion, and then use that property when rendering the "link to the promotion".

Feb 22, 2017 13:32

Thanks Magnus, I will look into it. The problem I guess is that I can't get the built in promotions to use IRoutable?

I think I will build a Promotion page that just has a promotion id in the index method and then load the PromotionData and pass it to the model.


Feb 22, 2017 22:16

You can try to subclass the types you want to use and implement IRoutable on them. Then you can hide the types you subclassed, see

Feb 23, 2017 7:31
* 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.