Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to store PPT in Server on Save instead of local machine ??

 
Rite Sara
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi..

I want to open powerpoint PPT from server on the local machine. Once it is open I should be able to edit it.
Once edit is done, when I click on Save the PPT it should be saved back to the server and not the local machine.
How to do it in Java ?.. Please let me how this can be done and post some sample code ... its very urgent ...


Thanks,
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why are you choosing Java to do this? PowerPoint comes with multi user editing capabilities out the box I believe.

 
Rite Sara
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Paul .. thanks for the reply..
could you please let me know what do you mean by multi user editing ?
On clicking the Save button I want to Save it direclty to the server from where I have opened it .. and not the local machine..
 
Rite Sara
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To be more precise this PPT is stored in the Oracle database BLOB object and we are reading it through Java JDBC. Now we want to Save it directly to the Oracle DB again when the user clicks on the save button of the PPT ..
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
With MS Office you can share a file on a server and anyone can edit it. I think PowerPoint allows this - check the docs.


To be more precise this PPT is stored in the Oracle database BLOB object and we are reading it through Java JDBC. Now we want to Save it directly to the Oracle DB again when the user clicks on the save button of the PPT ..

Personally, I'd do this in VBA, given you are trying to change the functionality of something running in PowerPoint. I suppose your VBA could callout to a shell script that calls Java, but I'm not sure why you would bother involving Java at all?
 
Jan Cumps
Bartender
Posts: 2599
12
C++ Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What you are requesting must be doable, because the Documentum eRoom software we use at work has this functionality.
You select a file in the browser, it is transfered to the local machine and opened with the appropriate application.
On closing the application, the file is retransfered to the server.
I don't know how they do it, but they do install a plug-in on the local computer.
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Documentum is not a Java product as far as I am aware. Not sure if it s still the case, but last time I saw any integration work done with this it was in C.

You are right though, it must be possible somehow. SharePoint can do the same thing.
 
Jan Cumps
Bartender
Posts: 2599
12
C++ Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Paul Sturrock wrote:Documentum is not a Java product as far as I am aware.
That is true. It is not Java.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic