You need to sign in to do that
Don't have an account?
XactAndy
Opening Word documents using an s-control/Javascript
Hi,
We have a requirement to be able to open a Word document from
within a salesforce app using an activex control.
We have tried the following in an s-control:
var w=new ActiveXObject('Word.Application');
but get the error:
Automation server can't create object
Does anyone know how we can fix this, or have any other suggestions?!
Thanks,
Andy
We have a requirement to be able to open a Word document from
within a salesforce app using an activex control.
We have tried the following in an s-control:
var w=new ActiveXObject('Word.Application');
but get the error:
Automation server can't create object
Does anyone know how we can fix this, or have any other suggestions?!
Thanks,
Andy
However, if you are writing this for customers then you definitely don't want to do that. Can you maybe just launch a new window with the document that kicks off MSWORD? If it's stored as an Attachment or Document you can set the MIME type, and that will cause it to kick off Word pretty reliably when you redirect to the document. You may even be able to embed that in an Iframe the way people sometimes do with PDFs.