Table of Contents

Enum MetadataTargetTypes

Namespace

Metadata Target Types These are constants to determine what something is assigned to (e.g. it describes an Entity, a file, etc.)

Use it for the @see MetadataFor objects

Fields

Undefined Type (0) - included for completeness. Not usually used, actually None (1) is the default

Things that are not used as Metadata (1). This is the default for most Entities.

Metadata of attributes / fields (2). This is used to store configuration like the field label, amount-of-rows, etc. Remarks = The key is always a number (int) pointing to the Attribute ID in the DB.

App metadata (3). Used to give Apps additional properties. Remarks = The key should always be an int ID of the App.

Metadata of entities / data-items (4). This lets us enhance entities with additional information. Remarks = The Key should always be a GUID

Metadata of a content-type / data-schema (5). Used to give it a description etc.

Zone metadata (6) - used to give a Zone additional information. Only used in very special cases, best not use.

Item / Object of the Platform, like a File or Folder etc. (10) Remarks =

  • The key is usually a string to further specify what it's describing, like "file:72"
  • The text equivalent is CmsObject

The entire system / platform - so Metadata for the current Dnn/Oqtane installation (11). Remarks = This is not in use as of now, just added for completeness sakes. New in v13

A Site - like the current site (12) Remarks = New in v13

A Site - like the current site (13) Remarks = New in v13 / beta

A Page - like the current page (14) Remarks = New in v13

A Page - like the current page (15) Remarks = New in v13 / beta

A Module - like a module containing some content (16) Remarks = New in v13

A Module - like a module containing some content (17) Remarks = New in v13 / beta

A User - like the admin-user (18) Remarks = New in v13

Custom target (90). This is what you should use for basic apps which have a custom target that's none of the other defaults.

Custom target (91). Use this for basic apps which need multiple different custom targets (advanced, rare use case)

Custom target (92). Use this for basic apps which need multiple different custom targets (advanced, rare use case)

Custom target (93). Use this for basic apps which need multiple different custom targets (advanced, rare use case)

Custom target (94). Use this for basic apps which need multiple different custom targets (advanced, rare use case)

Custom target (95). Use this for basic apps which need multiple different custom targets (advanced, rare use case)

Custom target (96). Use this for basic apps which need multiple different custom targets (advanced, rare use case)

Custom target (97). Use this for basic apps which need multiple different custom targets (advanced, rare use case)

Custom target (98). Use this for basic apps which need multiple different custom targets (advanced, rare use case)

Custom target (99). Use this for basic apps which need multiple different custom targets (advanced, rare use case)