tag:blogger.com,1999:blog-4706575016618798194.post8275179589954107731..comments2023-10-16T02:35:19.806-07:00Comments on SharePoint for Squirrels - by Natalya Voskresenskaya [MVP]: International Sharepoint Professionals Association (ISPA)Natalya Voskresenskaya [SharePoint MVP]http://www.blogger.com/profile/07697810516739597370noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-4706575016618798194.post-80261780044841990582008-08-26T01:48:00.000-07:002008-08-26T01:48:00.000-07:00Thats a very good intiative. Just want to know whe...Thats a very good intiative. Just want to know where do you discuss technical issues etc on SharePoint; Is it through blogs? Well about me I am a SharePoint Developer and has extensive skills & experience on Opentext - Hummingbird Document management. Over here I am looking for some help in SharePoint development. I have to actually display SharePoint documents of a SP site on its extended blackberry portal. Now when I display the list of documents on blackberry, the clickable link of the documents takes the user to parent SP site and so it will ask for the user authentication. So give a working solution, I direct the document links to a page which retrieves the document content and display the results on browser; Code is something like this::<BR/><BR/> switch (DocExtension.ToLower())<BR/> {<BR/> case "txt":<BR/> Response.ContentType = "text/html";<BR/> break;<BR/> case "doc":<BR/> Response.ContentType = "application/msword";<BR/> break;<BR/> case "docx":<BR/> Response.ContentType = "application/msword";<BR/> break;<BR/> case "pdf":<BR/> Response.ContentType = "application/pdf";<BR/> break;<BR/> case "jpg":<BR/> Response.ContentType = "image/JPEG";<BR/> break;<BR/> case "bmp":<BR/> Response.ContentType = "image/JPEG";<BR/> break;<BR/> case "gif":<BR/> Response.ContentType = "image/GIF";<BR/> break;<BR/> case "ppt":<BR/> Response.ContentType = "application/vnd.ms-powerpoint";<BR/> break;<BR/> case "pps":<BR/> Response.ContentType = "application/vnd.ms-powerpoint";<BR/> break;<BR/> case "xls":<BR/> Response.ContentType = "application/vnd.ms-excel";<BR/> break;<BR/> case "xlsx":<BR/> Response.ContentType = "application/vnd.ms-excel";<BR/> break;<BR/> default:<BR/> Response.ContentType = "application/octet-stream";<BR/> break;<BR/> }<BR/><BR/> byte[] content = oFile.OpenBinary();<BR/><BR/> Response.BinaryWrite(content);<BR/><BR/><BR/>On BB the word document and pdf documents don't come up (Cud be the device does not have right softwares). It says unsupported content types. How such a sceanrio is taken care with BB. Do we have to have softwares on BB and what softwares that would be for BB device.Bableshhttps://www.blogger.com/profile/16116540921120249574noreply@blogger.com