Document.Import with a document description

This forum is for programmers who have questions about the source code.

Document.Import with a document description

Postby Justin Shafer » Thu Jun 06, 2019 3:26 pm

I think in order to use DropBox, you have to use the Document.Import method, except that method doesn't seem to allow setting a Document Description before the import. Just an FYI.
User avatar
Justin Shafer
 
Posts: 579
Joined: Sat Jul 28, 2007 7:34 pm
Location: Fort Worth, TX.

Re: Document.Import with a document description

Postby jsalmon » Thu Jun 06, 2019 4:42 pm

There is no such thing as a Document.Import method. Are you referring to ImageStore.Import()? That method returns a Document object which is the object that should have the Description field set after Import is invoked.
I don't fully understand your FYI, are you trying to say that the "Item Info" window isn't showing after importing a document from DropBox?
The best thing about a boolean is even if you are wrong, you are only off by a bit.

Jason Salmon
Open Dental Software
http://www.opendental.com
User avatar
jsalmon
 
Posts: 1486
Joined: Tue Nov 30, 2010 1:33 pm

Re: Document.Import with a document description

Postby Justin Shafer » Thu Jun 06, 2019 5:58 pm

Oh yeah.. ImageStore.Import.. Thanks mate! Set the description after import.. I will try that. Hmmm
User avatar
Justin Shafer
 
Posts: 579
Joined: Sat Jul 28, 2007 7:34 pm
Location: Fort Worth, TX.


Return to Developers

Who is online

Users browsing this forum: No registered users and 3 guests

cron