Documentum WebDAV and

Forum rules
No question in this forum please
For any question related to a topic, create a new thread in the relevant section.

Documentum WebDAV and

Postby babar.uddin » Mon Apr 19, 2010 12:33 pm

Credit : Abu Dhabi Media Company

Documentum Provide WebDAV services, usually user connect to webDAV service as network folder. However, growing demands of online solutions require to save documents automatically without need to cut and paste documents. We at Abu Dhabi Media Company , adopted following strategy to connect Open Office to WebDAV drive.

1. Create Template folders at WebDAV folder and allow users to create Open Office docuatment via Template available at WebDAV folder.
2. Create Macro as 'WriterToWebDAV'

Code: Select all   Expand viewCollapse view

sub WriterToWebDAV
rem ----------------------------------------------------------------------
rem define variables
dim document   as object
dim dispatcher as object
rem ----------------------------------------------------------------------
rem get access to the document
document   = ThisComponent.CurrentController.Frame
dispatcher = createUnoService("")
iHandler = createUnoService("")
dim args1(3) as new
args1(0).Name = "InteractionHandler"
args1(0).Value = iHandler
args1(1).Name = "URL"
rem ----------------------------------------------------------
rem Change the args1(1).value with your server URL
rem ----------------------------------------------------------
args1(1).Value = ""
args1(2).Name = "FilterName"
args1(2).Value = "writer8"
args1(3).Name = "Unpacked"
args1(3).Value = "true"
rem ----------------------------------------------------------------------
dispatcher.executeDispatch(document, ".uno:Open", "", 0, args1())
end sub

3. Create a menu item as 'WriterToWebDAV' and connect this menu item to 'WriterToWebDAV' macro.

Now your macro is ready to deploy at any MAC machine, users can create new documents directly on WebDAV server and save using 'SaveAs' menu item.
OpenOffice 3.1 on MAC
Posts: 1
Joined: Mon Apr 19, 2010 12:08 pm

Return to Writer

Who is online

Users browsing this forum: No registered users and 2 guests