Name Element

The name of the project, calendar, calendar exception, effective work week, resource, task, view, filter, group, map, table, drawing, report, or VBA project. The field is not loadable for views, filters, groups, maps, tables, drawings, reports or VBA projects.

<Name>
  String(512): for Project, Exception, or WorkWeek; 
  String(255): for Calendar, Resource, Task, View, Filter, Group, Map, Table, Drawing, Report, or VBA project
</Name>

The name of the project, calendar, calendar exception, effective work week, resource, task, view, filter, group, map, table, drawing, report, VBA project, board column, or sprint. The field is not loadable for views, filters, groups, maps, tables, drawings, reports or VBA projects.

<Name>
  String(512): for Project, Exception, or WorkWeek; 
  String(255): for Calendar, Resource, Task, View, Filter, Group, Map, Table, Drawing, Report, VBA project, Board Column, or Sprint
</Name>

Parent Elements

Occurrences

Minimum: 0

Maximum: 1

Text Value

A text value of type string is required. The text value may not exceed 512 characters for the Project , Exception, or WorkWeek elements, or 255 characters for other parent elements.

Example

The following example uses the Name element to indicate that the calendar exception is named New Year's Day.

<Exception>
  <EnteredByOccurrences>0</EnteredByOccurrences>
  <TimePeriod>
    <FromDate>2007-01-01T00:00:00</FromDate>
    <ToDate>2026-01-01T23:59:00</ToDate>
  </TimePeriod>
  <Occurrences>20</Occurrences>
  <Name>New Year's Day</Name>
  <Type>2</Type>
  <Month>0</Month>
  <MonthDay>1</MonthDay>
  <DayWorking>0</DayWorking>
</Exception>

See Also

Concepts

Project Elements and XML Structure

XML Schema for the Project Element

Task Elements and XML Structure

XML Schema for the Tasks Element

Resource Elements and XML Structure

XML Schema for the Resources Element

Calendar Elements and XML Structure

XML Schema for the Calendars Element