# Creating Information Elements

**URL:** <https://developerforum.realequity.dk/t/creating-information-elements/231>\
**Category:** Information Elements\
**Tags:** docs, datanode, information-elements\
**Created:** [June 16, 2022, 11:47am UTC](https://developerforum.realequity.dk/t/creating-information-elements/231 "2022-06-16T11:47:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![asbjoern](https://dub1.discourse-cdn.com/flex013/user_avatar/developerforum.realequity.dk/asbjoern/32/17_2.png) [@asbjoern](https://developerforum.realequity.dk/u/asbjoern)\
**Post date:** [June 16, 2022, 11:47am UTC](https://developerforum.realequity.dk/t/creating-information-elements/231/1 "2022-06-16T11:47:42Z")

</div>

All Information Element Types can be created as an empty Information Element. By providing the **Namespace** of the desired Information Element Instance Type. the IE of that type will be created.

By posting the following example in the Body of a Create [InformationElement](https://docs.realequity.dk/reference/informationelement) the IE will be created of the specified type:

# DataNode and Information Elements

Information Element is a specialization of [Datanode](https://docs.realequity.dk/docs/datanode). All basic properties from a Datanode is available on an Information Element.

# Properties

The following properties are needed to create an Information Element of any type. The properties are inherited from [Datanode](https://docs.realequity.dk/docs/datanode).

| Property | Description |
| --- | --- |
| **displayName** | The display name of the Information Element. String. Not null. |
| **namespace** | The [Information Element Instance Type](https://docs.realequity.dk/docs/information-element-instance-type) Namespace. This property controls what type of Information Element is created. String. Not null. |
| **parentId** | The Id of the Entity or Information Element that the created Information Element should be attached to. Guid. Not null. |
| **parentNamespace** | The Namespace of the Entity or Information Element that the created Information Element should be attached to. String. Not null. |

> ❗ **Do NOT use the IE Base Type Namespace**  
> It is the **namespace** property that controls what type of Information Element is created. It is very important to notice that the namespace should be an Information Element Instance Type namespace and NOT a Information Element Base Type Namespace.

# Create example

```auto
{
    "displayName": "My new Information Element",
    "namespace": "dk.realequity.ie.phonenumber.mytype",
    "parentId": "e4ec5d5b-09f5-423e-891b-f73501c1c4b9",
    "parentNamespace": "dk.realequity.actor.contact.person",
}

```

---

<div class="post-metadata">

**Author:** ![asbjoern](https://dub1.discourse-cdn.com/flex013/user_avatar/developerforum.realequity.dk/asbjoern/32/17_2.png) [@asbjoern](https://developerforum.realequity.dk/u/asbjoern)\
**Post date:** [June 16, 2022, 11:47am UTC](https://developerforum.realequity.dk/t/creating-information-elements/231/2 "2022-06-16T11:47:50Z")

</div>

Closed on June 16, 2022, 11:47am UTC


