I have a pagetype with a aspx file that supports multiple "entries" to the file depending on what query string I send along. I would like to have a page in EPiServer that can send the query string to the aspx file.
Startpage About (shall enter http://domain/about) Test (shall enter http://domain/test?myQuery=myValue) Test2 (shall enter http://domain/test2?myQuery=myValue2)
Page "Test" and "Test2" is of the same pagetype but should return different views.
Is there a way to do this or do I have to determine what to be shown by editing a property?
The problem with doing it with a property is that I want to make a shortcut to the search page with some predefined criteria that is being sent with query string.
Startpage Search (shall enter http://domain/search) About (shall enter http://domain/about) Find all co-workers (shall enter http://domain/search?q=co-workers)
Anyone have any suggestions on how to solve this?
It works out of the box. Just make sure that the output cache is disabled when that querystring is given.
which of my questions is working out of the box? And how to do it?
I think I missunderstood your question. And not sure that I understand it now either.. :)
Can u use "Shortcut" / "Link to page on other website"
Otherwise i would probably go with a simpe string property, and if it has a value, i would redirect to the searchpage with that value in the querystring.
Or even skip the redicrect and show the search result on that page type. Probably better in a SEO perspective.