Is it possible to select the fetch method one would like to use (CopyOut, CheckOut or Export) with aaApi_DocumentSelectDlg or aaApi_DocumentExtendedSelectDlg ?

I am wondering if exists a flags or something that could be used for these methods to use a given fetch method...

In aaApi_DocumentSelectDlg  dialog, a checkbox gives the user a way to open in "read-only" is it similar to a copyOut in this case ?

  • Sorry, I misinterpreted your post, I though you wanted to open a document in read only mode.

    Sounds like you were only asking about the behavior of using a checkbox on the dialog.  I would have to check into that, and that might take a while (because of other tasks), but have you tried it?

    I suspect (but have not confirmed) that using that checkbox would copy out the document and open it for viewing.

    FWIW, take a look at aaApi_FetchDocuments and the parameter fetchFlags.

    aaApi_OpenDocument() with the third parameter set to TRUE might be the functionality that you are looking for.

  • I have made some further tries and found out that the readonly option (which can also be managed with flags to not display the checkbow whilst controlling its state) leads to a copyout i.o checkout fetch when the option is set. This is the only way I found with aaApi_DocumentSelectDlg or aaApi_DocumentExtendedSelectDlg to manage fetch option (copyout /checkout). I think I will live with that so far...

    There is another set of flags about Shared opening but I don't see any difference when using or not it...

    Answer Verified By: Guillaume Charbonnier