The Microsoft office add-in is a component used by EPiServer to access office functionality from EPiServer.
***This functionality is not documented and probably not supported by EPiServer***
Edit a Microsoft office document from the web site
This will open up a office document when using IE, to save the document back to the server you have to use "Check-in" from EPiServers office add-on after editing the document.
<html>
<body
<form runat="server">
<object
id="EPiServerOfficeComponent"
width="0"
height="0"
classid="clsid:10DDD8C9-4F48-442B-B499-7901AB28125C">
</object>
<script>
function EditInOffice()
{
var obj = document.getElementById('EPiServerOfficeComponent');
var hostIdentifier = "<%= new Uri(EPiServer.UriSupport.UIUrl, base.Request.ApplicationPath)uri.ToString().TrimEnd(new char[]{'/'}) %>";
var path = "/global/";
var fileName = "mltest.docx";
var wordDocumentType = 1;
var excalDocumentType = 2;
var pptDocumentType = 3;
obj.CheckOut(path + fileName,
fileName,
wordDocumentType,
hostIdentifier,
path);
}
</script>
</form>
</body></html>