You need to sign in to do that
Don't have an account?
Pooja05
contentType = rtf doesnt open a word document in IE
<apex:page standardController="Account" contentType="application/rtf#Pooja.rtf">
Hello! This page will be rendered as RTF, and will open, in Windows, in MS Word.
</apex:page>
The code does not work in IE. After 60 seconds it shows an alert that IE is unable to find the url and hence operation is aborted.
It works in Mozilla Firefox if we use the save file option. It doesn’t work with the open file option of Mozilla Firefox.
can someone help me?
As I wrote in the other thread you started on this topic, setting the cache attribute on the page to true resolves this issue.
<apex:page standardController="Account" contentType="application/rtf#Pooja.rtf" cache="true">
Hello! This page will be rendered as RTF, and will open, in Windows, in MS Word.
</apex:page>
BTW, creating a new thread on the same topic doesn't actually help you get your question answered more quickly.
All Answers
As I wrote in the other thread you started on this topic, setting the cache attribute on the page to true resolves this issue.
<apex:page standardController="Account" contentType="application/rtf#Pooja.rtf" cache="true">
Hello! This page will be rendered as RTF, and will open, in Windows, in MS Word.
</apex:page>
BTW, creating a new thread on the same topic doesn't actually help you get your question answered more quickly.
Thanks a bunch.
It is working now. I went on a completely different route earlier where i changed a lot of settings in IE.
I will keep in mind to avoid multiple posts.
Thanks,
Pooja