Start a new topic

Passing parameters to XMLPackages


I have some custom packages that I need to pass one parameter.

Currently I pass it this way (and it works):




However I would like to pass it this way instead:




I tried it but then it returns me the error "Cannot create an abstract class.".



What you are describing is adding route parameters. Adding route parameters requires doing some custom coding. You need to add routes via attribute on appropriate controller file or the routeconfig.cs (AspDotNetStorefront.Application project) for MVC to understand new route parameters.

1 person likes this

Thank you Mark, I will take a look on it!

Login or Signup to post a comment