aaApi_IsDocumentCheckedOut returns true on an exported document

Is this a bug? I export a document using the export tool in explorer, the status says "Exported" in the document properties

but aaApi_IsDocumentCheckedOut  returns true.

I can use aaApi_IsDocumentExported  to verify..

seems odd though. "This function determines whether the specified document is checked out or not"

Dan

Parents
  • I can't say if this is a "bug" or not, but you can think of "Exported" as a check-out to a specific folder instead of the current working directory.  It is tracked in the location table (what you see in the "Local Document Organizer").  And you can think of Import as a check-in from a folder, not from a working directory.

    So, I wouldn't consider it an error, just another case of "words get in the way".  Again in the training class that I teach, I make a point that you, the developer, have to "play detective" because what you are looking for may not be called what you think it is, or should be called!  "Half the challenge" of finding something in the documentation is knowing what it is called, and that can be more than one thing, so searching the help, along with searching the *.h and *.fdf files can help you find the clues that you need...

    Part of the language "problem" is that the origins of ProjectWise (i.e. TeamMate, OfficeMate, etc.) is that English was a second language to the designers and developers.  You can still find "evidence" of this in some of the documentation.  For example, search the *.h files for "Send To", one of the menu commands, and you will find that an alternate word used is "GIVEOUT".  And English "native" speakers have added their own level of ambiguity - look at the various "names" for "folder", i.e. project, folder, vault, and of course "rich project", a special type of folder, now named "work area". 

    If you search for the word "fetch", you will then noticed that Copy Out, Check Out, Export, and Send To (or Give out) are all "related" - take a look at the documentation for aaApi_FetchDocuments and you will notice the flags for the "flavors" of a "fetch".  Or as my dad would say, "same thing, but different".

    Answer Verified By: Daniel Marcotte 

  • then should aaApi_IsDocumentCheckedOutToMe return true? since I'm the one that exported the files : )

    No worries, I can work with it.

  • I'll have to add that to my list of inconsistencies.  : - )   

Reply Children
No Data