Document.Import with a document description

This forum is for programmers who have questions about the source code.
Post Reply
User avatar
Justin Shafer
Posts: 596
Joined: Sat Jul 28, 2007 7:34 pm
Location: Fort Worth, TX.

Document.Import with a document description

Post by 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
jsalmon
Posts: 1551
Joined: Tue Nov 30, 2010 12:33 pm
Contact:

Re: Document.Import with a document description

Post by 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
Justin Shafer
Posts: 596
Joined: Sat Jul 28, 2007 7:34 pm
Location: Fort Worth, TX.

Re: Document.Import with a document description

Post by 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

Post Reply