Condividi tramite


Custom mobile redirect SharePoint 2010 publishing site

Hi,

I go this request from a customer, and as you may get multiple alternatives; it would be nice to get an official link.

You will search for custom mobile redirection in your favorite search engine and get to How to: Customize the Mobile Home Page Through Redirection this will help you to change redirection within mobile pages (aka application pages), but not to publishing pages. There you can understand the current process (even an old reference to the previous system), however I would recommend you to read the SPMobileWebUrlRedirect Class (Remarks section). This system won't work as it appends ?Mobile=1 to every page and this parameter redirects to Collaboration mobile lists views.

But although you know how it works,you still needs to redirect to your publishing page! And then search again finding alternatives:

https://www.nothingbutsharepoint.com/sites/devwiki/articles/Pages/How-we-did-it---Mobile-View.aspx

https://blog.drisgill.com/2009/11/sp2010-branding-tip-6-mobile-browsers.html

Those are nice samples, but you should follow approved & officials steps ;)

https://technet.microsoft.com/en-us/library/ff393836.aspx

Namaste