I have an app that applies to two different groups and each has a different database.
_Layouts/dept1/SomePage.aspx (uses dept1db) _Layouts/dept2/SomePage.aspx (uses dept2db)
I would like to have a single project is deployed to each location via powershell scripting, but I think the way _Layouts is mapped would not work.
The only other way I know to handle this is to maintain the dept2/SomePage.aspx as a copy of the same aspx file. I can probably automate this somewhat using a post-build event.
Is there a cleaner way to handle this? If I use web parts this becomes a non-issue but I prefer aspx.