# acess and dynamic display entity properties from CZML

**URL:** <https://community.cesium.com/t/acess-and-dynamic-display-entity-properties-from-czml/6964>\
**Category:** CesiumJS\
**Created:** [May 29, 2018, 8:36am UTC](https://community.cesium.com/t/acess-and-dynamic-display-entity-properties-from-czml/6964 "2018-05-29T08:36:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![A\_etienne](https://avatars.discourse-cdn.com/v4/letter/a/47e85d/32.png) [@A\_etienne](https://community.cesium.com/u/A_etienne)\
**Post date:** [May 29, 2018, 8:36am UTC](https://community.cesium.com/t/acess-and-dynamic-display-entity-properties-from-czml/6964/1 "2018-05-29T08:36:38Z")

</div>

Hello,

I'm working on satellite path. I display the path by loading a czml file. i wan't to display dynamic informations like temperatures.i want it to be like the sandcastle multipart czml example but the informations must be stored inside the czml and also they must be linked with time

i've seen this to acess the data and store theme

var entites = dataSources.entites.values;

for(var i = 0;i\<entitites.length;i++){  
&nbsp;&nbsp;//store data in array  
}

but i don't knox if i can't display them as a function of time

do you have any ideas ?

example [http://volans.airportnetwork.com/js3d/volanspublicsfo.html](http://volans.airportnetwork.com/js3d/volanspublicsfo.html)

---

<div class="post-metadata">

**Author:** ![Gabby\_Getz](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/gabby_getz/32/7838_2.png) [@Gabby\_Getz](https://community.cesium.com/u/Gabby_Getz)\
**Post date:** [May 30, 2018, 1:49pm UTC](https://community.cesium.com/t/acess-and-dynamic-display-entity-properties-from-czml/6964/2 "2018-05-30T13:49:15Z")

</div>

Hi,

The “styling” of your entities by setting their properties will persist regardless of the time. See **[Loading and styling entities](https://cesiumjs.org/tutorials/Cesium-Workshop/#loading-and-styling-entities)** in the Cesium Workshop tutorial for some explanation and examples.

If you set an entity property that changes with regard to time, take a look at **[Callback properties](https://cesiumjs.org/Cesium/Build/Apps/Sandcastle/index.html?src=Callback%20Property.html)**.

Thanks,

Gabby

---

<div class="post-metadata">

**Author:** ![A\_etienne](https://avatars.discourse-cdn.com/v4/letter/a/47e85d/32.png) [@A\_etienne](https://community.cesium.com/u/A_etienne)\
**Post date:** [June 5, 2018, 7:10am UTC](https://community.cesium.com/t/acess-and-dynamic-display-entity-properties-from-czml/6964/3 "2018-06-05T07:10:58Z")

</div>

After a look i think i will need that but i want to stor these values inside my CZML file. These data are time relative and they depend on satellite path. Is there a czml custom structure to suceed this ?

---

<div class="post-metadata">

**Author:** ![Gabby\_Getz](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/gabby_getz/32/7838_2.png) [@Gabby\_Getz](https://community.cesium.com/u/Gabby_Getz)\
**Post date:** [June 6, 2018, 2:49pm UTC](https://community.cesium.com/t/acess-and-dynamic-display-entity-properties-from-czml/6964/4 "2018-06-06T14:49:09Z")

</div>

Take a look at the[CZML Guide](https://github.com/AnalyticalGraphicsInc/czml-writer/wiki/CZML-Structure)for more information. CZML can be extended with custom properties.

---

<div class="post-metadata">

**Author:** ![Scott\_Hunter](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/scott_hunter/32/2006_2.png) [@Scott\_Hunter](https://community.cesium.com/u/Scott_Hunter)\
**Post date:** [June 6, 2018, 2:52pm UTC](https://community.cesium.com/t/acess-and-dynamic-display-entity-properties-from-czml/6964/5 "2018-06-06T14:52:06Z")

</div>

The Multi-part CZML Sandcastle example also has a good example of defining a custom time-varying property and showing the value of that property over time in a display:

[https://cesiumjs.org/Cesium/Build/Apps/Sandcastle/?src=Multi-part%20CZML.html&label=CZML](https://cesiumjs.org/Cesium/Build/Apps/Sandcastle/?src=Multi-part%20CZML.html&label=CZML)
