Author Topic: Adding document to workspace via external app.  (Read 4182 times)

interjinn

  • Newbie
  • *
  • Posts: 31
    • View Profile
Adding document to workspace via external app.
« on: February 15, 2010, 03:02:49 am »
I'm looking to connect a website document upload form to a specific user/workspace in Feng Office. I have already resolved the necessary database gymnastics necessary to make this work the hard way; however, I was wondering if there was a way within Feng Office to do this easily. The external application is my own InterJinn framework and it plays nicely with other frameworks so it can load the Feng Office system without problems... the question is if there's a simple one liner or something that would leverage Feng's internal system to post the file to a workspace. Preferrably with support for username (or user ID), and workspace path (or workspace ID)... even if it's just setting some environment variables to simulate a logged in user. If not, I could always add such a function to Feng and create a patch  ;D

cabeza

  • Administrator
  • Hero Member
  • *****
  • Posts: 1004
    • View Profile
    • Feng Office
Re: Adding document to workspace via external app.
« Reply #1 on: April 02, 2010, 01:09:20 pm »
Web services could be useful for this case.They are under public/webservices

interjinn

  • Newbie
  • *
  • Posts: 31
    • View Profile
Re: Adding document to workspace via external app.
« Reply #2 on: April 02, 2010, 01:15:18 pm »
I completed the functionality the hard way by directly populating the appropriate repository directory and updating the database tables and it works great. However, a webservice would be a much more appropriate solution. Do you know if there is any documentation for the web services?

cabeza

  • Administrator
  • Hero Member
  • *****
  • Posts: 1004
    • View Profile
    • Feng Office
Re: Adding document to workspace via external app.
« Reply #3 on: April 02, 2010, 01:33:56 pm »
There is very little documentation, but in Spanish :(
If there are volunteers for translation, let me know!

I remember Web Services handled only File Management: Login, list tags, list workspaces, list files, upload and download.

I haven't used them for a while though ...

gain

  • Freshman
  • *
  • Posts: 30
    • View Profile
Re: Adding document to workspace via external app.
« Reply #4 on: September 16, 2010, 04:38:54 am »
There is very little documentation, but in Spanish :(
If there are volunteers for translation, let me know!

I remember Web Services handled only File Management: Login, list tags, list workspaces, list files, upload and download.

I haven't used them for a while though ...

So, you can't manage tasks with webservices... right?
That's a very bad news... -.-"

cabeza

  • Administrator
  • Hero Member
  • *****
  • Posts: 1004
    • View Profile
    • Feng Office
Re: Adding document to workspace via external app.
« Reply #5 on: September 16, 2010, 09:05:34 am »
Correct.
It's "not so hard" to create scripts that use the framework to work with tasks though.

ecastel

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Adding document to workspace via external app.
« Reply #6 on: November 15, 2010, 07:09:49 am »
There is very little documentation, but in Spanish :(
If there are volunteers for translation, let me know!

I remember Web Services handled only File Management: Login, list tags, list workspaces, list files, upload and download.

I haven't used them for a while though ...

Where could I find the documentation in spanish ?

regards,
Emilio
« Last Edit: November 15, 2010, 11:09:11 am by ecastel »