Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I am trying to automaticly open an office doc (word/excel/ppt/...) from sharepoint while using Firefox browser in the browser. I manage to so manually (do manually what my method (written in C#) soppose to do) - so i figure that all the settings [the feature "Open Documents in Client Applications by Default" is DEACTIVATE ] in the sharepoint are ok - I can open the doc in the browser just by clicking on it.

share|improve this question
    
your question sounds confusing, can you please explain it properly :) –  Muhammad Raja Jul 24 '12 at 9:55
    
to make myself clear - I am trying to automaticly open an office doc (word/excel/ppt/...) from sharepoint while using Firefox browser in the browser. I manage to so manually - so i figure that all the settings in the sharepoint are ok - I can open the doc in the browser just by clicking on it, the feature "Open Documents in Client Applications by Default" is DEACTIVATE. thanks –  asaf Jul 25 '12 at 4:46
    
I understand it like the following. You wan't to display the doc (ppt, word etc.) in the page. Rendered as doument. This will work in IE without problems to set the mime type of the response to "application/word" or s.th. I don't know if firefox support it, to render a document inside (out of the box). in c# doesn't exis any method like "file.PleaseDisplayMe()" :). you must only set the mimetype in the response. So it's brwoser specific. –  Sascha May 11 at 8:51

1 Answer 1

Open Documents in Client Applications by Default - settings just works for files that can be rendered in the browser like (swf,txt). However opening MS Office based through SharePoint is a different thing.

For Excel to open in your browser through SharePoint document libraries you must enable Excel Service Applications at the farm level.

For rendering word and powerpoint files you need Office Web Apps integrated with SharePoint 2010.

I am not really sure, but Firefox do have some limitations rendering office documents which you get in technet reference for known browser limitations for SharePoint 2010. But unless you have Office Web Apps you cannot open a powerpoint file through sharepoint.

share|improve this answer
    
The problem is that : if I do it manually (what the method soppose to do) it works fine. It open the ppt doc in the browser...BUT while I try to do it automaticlly, than the problems starts –  asaf Jul 24 '12 at 11:13
    
I'm really sorry but your comment is not completely comprehensible for me to suggest a corrective action on the same. –  Arko D Jul 24 '12 at 11:53
    
i will try again : "open document in client applications by default" is inactive. when i open the ppt doc (just clicking on it in the home site) it opens in the browser, like i want it to do. when I run my function - that soppose to do the same - it try to open the doc in the client computer. –  asaf Jul 24 '12 at 11:55

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.