cancel
Showing results for 
Search instead for 
Did you mean: 

currentdocument.name

Sheila_Cook
Champ in-the-making
Champ in-the-making

Can anyone tell me why calling objCurrentDocument.Name would bring me back the autoname string vs. just the document type name in version 13? The SDK says that autoname string is a separate call. How can I call back just the document name without having to identify it by id first?

2 REPLIES 2

Daniel_Quill
Elite Collaborator
Elite Collaborator

Shiela,

First, which API are you working with?

In the Unity API, objCurrentDocument.Name is the autoname string of the document.  Documents do not have a "short" name.  If you are looking for the document type name in which the document belongs to then you will need use objCurrentDocument.Documenttype.

 

Regards,

Scott_McLean
Elite Collaborator
Elite Collaborator

Hi Sheila,

In my recollection, the Name attribute of the Document object has always been the document's auto-name string.

The document type name would be objCurrentDocument.DocumentType.Name

Kind regards,

-Scott

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.