Page 1 of 1
How to catch the file info for an annotation
PostPosted:Tue Jan 11, 2011 12:44 am
by roycal93
Hi people, I need some help.
I want to get the file information that was added on a note when creating an entity object.
I've heard there is a way to get the annotation info of an entity, in that case I need to get the file path.
How can I do that?
Thanks for the help.
Best regards,
RC.
Re: How to catch the file info for an annotation
PostPosted:Tue Jan 11, 2011 9:08 am
by jllort
Sorry but your question is not totally clear for me. You want to get the note of some document, or a document by some note ?
Re: How to catch the file info for an annotation
PostPosted:Tue Jan 11, 2011 11:00 pm
by roycal93
Thanks for your help.
I need to get the document attach on a note. For example, when I create an order, I go to the notes tab and add a new note, then I attach a document by using the upload button. But after I save the order I need to take the path of this file (document) in the CRM and use it for another thing. This will be done on a plug-in, but I don't know how to get the document information, specifically the path of this file.
Or maybe there is another way to upload a document for an entity and catch the info but we don't know the technique.
Thanks again jllort.
Best regards,
RC.
Re: How to catch the file info for an annotation
PostPosted:Wed Jan 12, 2011 7:05 am
by jllort
Are you planning some integration ? how do you upload the document ?
If you're uploading from UI, at tab properties can copy URL. (
http://wiki.openkm.com/index.php/Properties_panel at botton there's URL and WEBDAV you need have installed macromedia flash player to see button, on that screen unafortunatelly I make a capture on browser without it

) That will copy the path to the clipboard, simply need paste to CRM then.
If you're uploading a file from Webservices, really you're indicating there the final document path.