ObsoleteTag Property

Version: Available or changed with runtime version 10.0.

Specifies a free-form text to support tracking of where and when the object was marked as obsolete, for example, branch, build, or date of obsoleting the object.

Applies to

  • Page Action Ref
  • Page Custom Action
  • Page File Upload Action
  • Table
  • Table Field
  • Table Key
  • Codeunit
  • Enum Type
  • Enum Value
  • Page Action
  • Page Action Group
  • Page Action Separator
  • Page Part
  • Page System Part
  • Page Chart Part
  • Page Group
  • Page Label
  • Query
  • Query Column
  • Query Filter
  • Report
  • Report Data Item
  • Report Column
  • Request Page
  • Xml Port
  • Page Field
  • Page Action Area
  • Page Area
  • Page
  • Page View
  • Profile
  • Interface
  • Control Add In
  • Permission Set
  • Field Group

Syntax

ObsoleteTag = 'This field is being deprecated with the newest build of the product.';

Remarks

Use this property to add valuable information to developers about an object or element that will become obsolete in time or is already obsolete. For procedures and variables, the obsolete tag can be specified as an optional parameter in the Obsolete attribute: [Obsolete('<Reason>','<tag>')]. For more information, see Obsolete Attribute.

For an elaborate example of deprecating, see Best Practices for Deprecation of Code in the Base App.

See Also

ObsoleteReason
ObsoleteState
Properties
MethodType Property (Upgrade Codeunits)
Obsolete Attribute