A new
method Document.ChangeDocumentType(BSTR DocTypeInternalName)
has been added to change the DocumentType of the current document. This
method will trigger BeforeChangeDocumentType and
AfterChangeDocumentType script events, and will
NOT trigger any Visual Basic Extension events. 19545
Changing Document Type via Script
In the
event script the value for AS_CONFIRM_WFCOMMENTS
is now read after the DocWorkingCopyEvent_InitializeCreateWC
and DocWorkingCopyEvent_InitializeSubmitWC events.
So now the following code will also give the expected result (ie. hide
the comment dialog):
Sub DocWorkingCopyEvent_InitializeCreateWC(Batch)
Client.Confirmation(AS_CONFIRM_WFCOMMENT)
= False
End Sub19809 Value of AS_CONFIRM_WFCOMMENT
is read before the DocWorkingCopyEvent_InitializeCreateWC event starts.
The ENDDRAFTVERSION_FLAGS enum contained
an item with a typo: eDraftAssing has been renamed
to eDraftAssign. 20434
The "eDraftAssing" flag should be "eDraftAssign" in
the constant list
Replace
Content events (BeforeReplaceContent, AfterReplaceContent)
were not always fired correctly when new content would be dragged into
an existing document, depending on the workflow state of that document.
This is now fixed so that the Replace Content events are fired in writable
states - Released (asks whether to start a Quick Change first), Quick
Change, Under Change, In Review - and not fired in the read-only states.
23884 Replace content events are not
triggered in different workflow states.
In the
2006b release the Folder.Name property was unavailable
during the DocGenericEvent_BeforeNewDocument event.
This is now fixed. 23952 Folder object
not available for imported documents
If Page
Visibility was configured via a Script expression (i.e. Document.Myproperty
= "Some value") this would not work in WebAccess when
this page was shown as part of a wizard, while in the InnoCielo Client
the page's visibility would be correctly determined. This is now fixed
so that WebAccess shows the pages the same way the InnoCielo Client does.
24042 Page visibilty in webaccess does
not work the same as in the power user
The
script expression Client.Goto Folder gave an error
when it was executed on a document in the root of the Vault. This is now
fixed. 24129 Client.Goto Folder gives
an error on the root folder (but does work)
The
AcadCallBack.OnPutField event did not pass the AutoCAD block name (second
argument) as expected. This is now fixed. 24576
AcadCallBack function does not have block name as documented (was broken)