Andru's WebLog

//Comments about technology and software architecture
> MySelf.Persist();

Add Blackberry support to Forms Server 2007 or Sharepoint 2007

 A few months ago I was the architect for a project involving Microsoft Forms Server 2007 and we needed to support viewing Infopath forms on mobile devices, specifically Blackberry devices.

The Microsoft Forms Server 2007 is a striped down Sharepoint 2007 server so all Infopath forms web rendering for mobile devices is done through the ASP.NET mobile controls support.

Unfortunately, Blackberry devices aren't recognized so Infopath forms are render as standard web forms, wich aren't supported by Blackberry devices. Luckily for us, adding support for additional devices is not difficult and can be done by adding some information to a "compat.browser" file found in the "App_Browsers" folder inside the Sharepoint virtual directory. In this file you need to add the following:

<!-- BlackBerry RIM Browser -->
    <browser id="RIM40" parentID="Default">
        <identification>
            <userAgent match="BlackBerry" />
        </identification>
        <capabilities>
      <capability name="isMobileDevice" value="true" />
      <capability name="javascript" value="true" />
      <capability name="ecmascriptversion" value="1.3" />
      <capability name="version" value="${version}" />
      <capability name="majorVersion" value="${major}" />
      <capability name="minorVersion" value="${minor}" />
      <capability name="supportsCss" value="true" />
      <capability name="frames" value="false" />
      <capability name="cookies" value="true" />
      <capability name="isColor" value="true" />
      <capability name="requiresLeadingPageBreak" value="true" />
      <capability name="requiresUniqueFilePathSuffix" value="true" />
      <capability name="supportsBold" value="true" />
      <capability name="supportsFontSize" value="true" />
      <capability name="supportsImageSubmit" value="true" />
      <capability name="supportsItalic" value="true" />
      <capability name="requires303Redirect" value="true" />
     </capabilities>
    </browser>

With that your Blackberry browsers will be recognized as mobile devices and our Infopath Forms Server will be able to render the proper content.

Hope you find this useful, seeU!

Andrés G Vettori
MCSE/MCSD/MCT
Systems Architect

Leader of the C# Community of the Microsoft Users Group Argentina

Posted: Jun 07 2008, 11:40 AM by andresv | with 10 comment(s)
Filed under: ,

Comments

Add Blackberry support to Forms Server 2007 or Sharepoint 2007 said:

Pingback from  Add Blackberry support to Forms Server 2007 or Sharepoint 2007

# June 7, 2008 10:43 AM

Blackberry Insider - All your Blackberry News » Add Blackberry support to Forms Server 2007 or Sharepoint 2007 said:

Pingback from  Blackberry Insider - All your Blackberry News &raquo; Add Blackberry support to Forms Server 2007 or Sharepoint 2007

# June 7, 2008 1:25 PM

Christopher Steen said:

Link Listing - June 7, 2008

# June 8, 2008 8:19 AM

Mirrored Blogs said:

Uno de los problemas de BlackBerry para la integracion con SharePoint es la imposibilidad de estos dispositivos

# June 9, 2008 8:46 PM

Whalen said:

Hello,

When trying to load a form on my blackberry, it displays the form server "Loading Form" bar, and the top and bottom tool bars; but it just hangs.

It is a simple browser enabled template, has mobile support enabled. It has a single view with a little bit of text, no other controls.

Any suggestions?

Thanks,

Whalen

# July 9, 2008 10:53 AM

the rasx() context » Blog Archive » Random Screenshot: A “Blank” SharePoint Site in a GNOME Folder said:

Pingback from  the rasx() context  &raquo; Blog Archive   &raquo; Random Screenshot: A &ldquo;Blank&rdquo; SharePoint Site in a GNOME Folder

# March 25, 2009 11:35 AM

How to add Blackberry support for MOSS 2007 & Infopath Forms - PeteStilgoe.com said:

Pingback from  How to add Blackberry support for MOSS 2007 &#038; Infopath Forms - PeteStilgoe.com

# June 19, 2009 2:27 AM

How MOSS 2007 integrates with other Microsoft products « TechJen said:

Pingback from  How MOSS 2007 integrates with other Microsoft products &laquo;  TechJen

# July 9, 2009 12:56 PM

SharePoint said:

Hi Andrés,

I need to create an application that shoud run the mobile having GPRS or internet connectivity.

In the application i have certain form having the columns with the browse button functionality.

The procedure i am following is creating the sharepoint list with some columns A, B, C etc.

Now opening that list in the sharepoint designer and creating a new aspx form and dragging the file upload component of the .net on the page.

Am i doing okay, you please guide me some alternate way, this is very important.

Thanks

# September 15, 2009 2:42 AM

Matt said:

I realize this is an old post, but perhaps someone can help. We've followed the steps above and now we have the same problem as @Whalen - All I see is "Loading Form". It never loads. Even on a simple form we have the same behavior. Tips? Suggestions?

-Matt

# November 9, 2009 3:25 PM
Leave a Comment

(required) 

(required) 

(optional)

(required)