Retrieves an IDataEntryTemplate
in a folder by its name.
IDataEntryTemplate
; cannot be null
. IDataEntryTemplate
; cannot be null
, empty, or longer than 255 characters. The string used for the name will be trimmed of leading and trailing whitespace and is case-insensitive during comparison. The IDataEntryTemplate
in the folder with the specified name; otherwise null
.
The specified name is the full name of the Data Entry Template. The name
will be trimmed of leading and trailing whitespace and is case-insensitive for comparison. The name
does not support wildcards.
// Assuming a dataEntryTemplate is persisted in containingFolder // Retrieve the Data Entry Template by name IDataEntryTemplate sameDataEntryTemplate = dataEntryTemplateManager.GetDataEntryTemplate(containingFolder, dataEntryTemplate.Name); // sameDataEntryTemplate.UUID is the same as dataEntryTemplate.UUID
Exception Type | Condition |
---|---|
ContentException | The method call resulted in a Publisher exception. |
SoapException | There was a communication problem during the execution of the remote method call. |
InvalidOperationException | The folder has not yet been stored or has already been removed. |
ContentSecurityException | The user does not have permission to access the folder. |
ArgumentException | The name is an empty string or longer than 255 characters. |
IDataEntryTemplateManager Interface | Plumtree.Remote.PRC.Content.DataEntryTemplate Namespace | IDataEntryTemplateManager.GetDataEntryTemplate Overload List