Hi Daniel,
if you are using the latest sources I am quite sure that the param
name is folderName not fileName.
The param *externalType* can be any random string, just make sure that
its always the same random string, for example moodle. No need to
put any URL in that.
you might try isOwner =
hi sebastian,
yep i know that the new code is using the folderName but the weird thing is
when i change my call from fileName to folderName, it didnt work anymore.
Actually for the boolean, im really using true, its just the way php handles
it, but that should not be a problem because im able
please let me know after after you have test the code.. i know this is
really word, a simple param name change should not affect this at all but
its really not working on my side
--
You received this message because you are subscribed to the Google Groups
OpenMeetings User group.
To view this
do you think the the parameter isOwner Boolean and boolean has any
difference?
--
You received this message because you are subscribed to the Google Groups
OpenMeetings User group.
To view this discussion on the web visit
https://groups.google.com/d/msg/openmeetings-user/-/Hiz7NwU-UP0J.
To
no
I have tested those function several times.
Sebastian
2011/7/5 Daniel Jao daniel...@gmail.com:
do you think the the parameter isOwner Boolean and boolean has any
difference?
--
You received this message because you are subscribed to the Google Groups
OpenMeetings User group.
To view
i was able to make it work, i jsut use the addFolderByUserId instead since i
was keeping track of the openmeeting user id as well on my application,
thanks!
--
You received this message because you are subscribed to the Google Groups
OpenMeetings User group.
To view this discussion on the web
Okay,
have a look at http://code.google.com/p/openmeetings/source/detail?r=3955
I've just added some more File-Operation SOAP/REST Calls. For example:
moveFile:
Hi Sebastian,
Just want to confirm this one.
I tried using the new code, for the addFolderByExternalUserIdAndType which
uses the folderName.
But im having this issue:
Array
(
[SID] = 820e5e70684223a6746e7c8265bd98d3
[externalUserId] = 1
[parentFileExplorerItemId] = -2
[folderName] = Test
please let me know if you your testing worked, cause i tried changing the
code ang changing the folderName to fileName worked. please let me know
your findings.
thanks,
daniel
--
You received this message because you are subscribed to the Google Groups
OpenMeetings User group.
To view this
hi sebastian,
i tried applying the new code. it was able to add the folder and the files.
but when you login, you wont see those files.
i went straight to the db and change the parent_fileexploreritem_id to 0
instead of -2 and it appeared now.
so i think you might needto change this one
if
Hallo Daniel,
yes thats right -2 should be translated to 0 before storing it. I have
commited a patch for that.
But the param name is folderName now.
Sebastian
2011/7/1 Daniel Jao daniel...@gmail.com:
another feedback, when i changed the fileName to folderName, i keep on
getting Uncaught
hi sebastian, im making headway to what i want to do, thanks to you.
but i have a few more inquiries, i tried doing what you said, passing
parentFileExplorerItemId as -2 cause i want to add a private folder (so it
can contain files and make it more organized)
i used the api call:
isOwner has the blank again ...
2011/6/30 Daniel Jao daniel...@gmail.com:
hi sebastian, im making headway to what i want to do, thanks to you.
but i have a few more inquiries, i tried doing what you said, passing
parentFileExplorerItemId as -2 cause i want to add a private folder (so it
can
you're right sebastian.
after fixing the code, it worked, it created the folder in the DB but im not
seeing it after i log in, but when i checked the db, the owner_id column in
fileexploreritem_id is not being populated
im passing this params to
addFolderByUserId
Array
(
[SID] =
Oh,
if that folder goes into the private section try with:
parentFileExplorerItemId == 0 instead of -2
Sebastian
2011/6/30 seba.wag...@gmail.com seba.wag...@gmail.com:
Params look okay,
I cannot verify before tonigh on my local installation.
Sebastian
2011/6/30 Daniel Jao
hi seba, i tried with 0 and -2 for the addFolderByUserId but i didnt see it
in my Home Drive,
im reading the code, i think line 266 might have a problem, correct me if im
wrong.
Hi Daniel,
yes that seems right, the first occourence of user-ID should be called
*userId* not user_id.
I have commited a fix to the SVN.
Sebastian
2011/6/30 Daniel Jao daniel...@gmail.com:
hi seba, i tried with 0 and -2 for the addFolderByUserId but i didnt see it
in my Home Drive,
im
Daniel,
I have changed the API again, to bring importFile and addFolder on the
same level:
addFolderByUserId
addFolderByExternalUserIdAndType
parentFileExplorerItemId == -2 isOwner
= make the folder goto the private section
the param fileName is renamed to folderName
Sebastian
2011/6/30
hi sebastian,
is there a way to create a private folder in the my drive?
--
You received this message because you are subscribed to the Google Groups
OpenMeetings User group.
To view this discussion on the web visit
https://groups.google.com/d/msg/openmeetings-user/-/9CFWiSohIWcJ.
To post to
What you mean is creating a simple folder in the private drive. A
folder is a folder no matter if its in the private drive or public
drive.
I think its the same like uploading a file to the private drive,
isOwner = 1/true + parentFileExplorerItemId = -2 and externalUserId
(or userId depending on
how do i know if the importFile was succesful or not? do i need to check for
any values?
--
You received this message because you are subscribed to the Google Groups
OpenMeetings User group.
To view this discussion on the web visit
You get back an array of objects = FileImportError[]
FileImportError:
http://code.google.com/p/openmeetings/source/browse/trunk/singlewebapp/src/fileservice/org/openmeetings/axis/services/FileImportError.java
Each FileImportError has an attribute exitValue
If all objects of the return array have
ok.. i thought of that.. jsut wanted to confirm, thanks!
--
You received this message because you are subscribed to the Google Groups
OpenMeetings User group.
To view this discussion on the web visit
https://groups.google.com/d/msg/openmeetings-user/-/-Dce1qH6nzkJ.
To post to this group, send
can you please make a select filename from fileexploreritem ^^
the param *filename* is written *fileName*
I don't know for the other params but I am 100% sure that you just
mixed up some values.
Which of the functions are you using now in the end?
*importFileByInternalUserId* or *importFile* ?
hi sebastiam,
heres the result:
mysql select filename from fileexploreritem;
+-+
| filename|
+-+
| Testing |
| 51 |
| 52 |
| 53 |
| 54 |
| acadmiacs table.png |
|
as I said before the param is not called *filename* its called *fileName*
review:
http://code.google.com/p/openmeetings/source/browse/trunk/singlewebapp/src/fileservice/org/openmeetings/axis/services/FileService.java#310
public Long addFolderByUserId(String SID, Long userId,
hi sebastian,
i was able to make the addFolderByUserId work, but i have some questions for
you:
1. Im seeing it in public drive, i want it to be seen in the my home drive,
what parameters should i pass? currently im using this parameters
array(
'SID' = $sessionId,
The params to specifiy to make it go into the private folder are ...
http://code.google.com/p/openmeetings/wiki/SoapMethods#importFile
..
Quote:
Description: Import file from external source to upload a file to a
room-drive you specify:
- externalUserId, user if of openmeetings user for
public FileImportError[] importFileByInternalUserId(
String SID,'SID' = $session_id,
Long internalUserId, 'internalUserId' =
$internalUserId,
Long externalFileId,MISSING
String externalType,
okay maybe I did oversee your filesId but the params are still in the wrong
order.
Sebastian
2011/6/28 seba.wag...@gmail.com seba.wag...@gmail.com
public FileImportError[] importFileByInternalUserId(
String SID,'SID' = $session_id,
Long internalUserId,
ok, sorry, i already fixed the ordering but having still the same error:
String SID, Long internalUserId, Long externalFileId,
String externalType, Long room_id,
boolean isOwner, String path,
Long
Actually those values look fine to me.
However as long as the method returns something is wrong with your
string there is still any issue somewhere in your code.
Sebastian
2011/6/28 Daniel Jao daniel...@gmail.com
ok, sorry, i already fixed the ordering but having still the same error:
what is the error it does return?
Sebastian
2011/6/28 Daniel Jao daniel...@gmail.com:
this is really weird, what i do is just create this parameters
Array
(
[SID] = 0e4348655ca6e5e7d5f7128889a2de0e
[internalUserId] = 14
[externalFileId] = 1
[externalType] = 12345
there is a blank behind *isOwner * is that normal or just a formatting issue?
Sebastian
2011/6/28 seba.wag...@gmail.com seba.wag...@gmail.com:
what is the error it does return?
Sebastian
2011/6/28 Daniel Jao daniel...@gmail.com:
this is really weird, what i do is just create this
that was it, you're the man sebastian, apologies for that one, let me play
with this one.
thanks,
daniel
--
You received this message because you are subscribed to the Google Groups
OpenMeetings User group.
To view this discussion on the web visit
35 matches
Mail list logo