Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 1.67 KB

Project.Application.BoxDataTemplate.md

File metadata and controls

42 lines (27 loc) · 1.67 KB
title keywords f1_keywords ms.service api_name ms.assetid ms.date ms.localizationpriority
Application.BoxDataTemplate method (Project)
vbapj.chm2391
vbapj.chm2391
project-server
Project.Application.BoxDataTemplate
ce3530d5-6218-b0db-a890-9a80bca5e3db
06/08/2017
medium

Application.BoxDataTemplate method (Project)

Creates, copies, renames, or deletes a data template for a Network Diagram view.

Syntax

expression. BoxDataTemplate( _Name_, _Action_, _NewName_, _Overwrite_ )

expression A variable that represents an Application object.

Parameters

Name Required/Optional Data type Description
Name Required String The name of the template to edit, create, copy or delete.
action Required Long The operation to perform on the template. Can be one of the following PjDataTemplate constants: pjDataTemplateCopy, pjDataTemplateDelete, pjDataTemplateNew, or pjDataTemplateRename.
NewName Optional String Required when specifying a new name for an existing data template (action is pjDataTemplateNew) or naming a copied data template (action is pjDataTemplateCopy). If action is pjDataTemplateRename or pjDataTemplateDelete, NewName is ignored.
Overwrite Optional Boolean True if an existing template should be replaced with one of the same name. If action is pjDataTemplateRename or pjDataTemplateDelete, Overwrite is ignored. The default value is False.

Return value

Boolean

[!includeSupport and feedback]