I am stuck on developing a mobile view for my SP2010 publishing portal. It is Internet-facing with custom pages / web parts (e.g. http://server/Pages/customPage.aspx
with custom webparts on it). The site has a custom master page.
I am having the following issues with the built-in mobile functionality:
The welcome page. Navigating to
http://server/?Mobile=1
redirects me tohttp://server/_layouts/mobile/mbllists.aspx
, which just shows a table of lists / document libraries available. For my portal, I want to show a dashboard, just like I currently do for the "normal" non-mobile view.Navigating to one of my custom pages (e.g.
http://server/Pages/customPage.aspx?Mobile=1
) also redirects tohttp://server/_layouts/mobile/mbllists.aspx
.
So in effect there is really no helpful built-in mobile support at all; just the ability to view lists with a mobile device.
So I have a number of issues and I'm hoping for some high-level help. My thought is that I should do the following tasks:
- Create a separate master page for mobile
- Figure out how to choose this master page based on "is client a mobile device?"
- Figure out how to prevent the redirection to /_layouts/mobile/mbllists.aspx
Then I think the mobile site will operate similarly to the normal site.
What do you think? Am I on the right track?
This is a cross post with Stack Overflow; I realize this site is more specific to SharePoint, but SO has a bigger community so I do not find it redundant.