# Defining UI of Custom Device through API

**URL:** <https://community.dynatrace.com/t/defining-ui-of-custom-device-through-api/20928>\
**Category:** Dynatrace API\
**Tags:** gui, dynatrace-api\
**Created:** [November 30, 2020, 11:25am UTC](https://community.dynatrace.com/t/defining-ui-of-custom-device-through-api/20928 "2020-11-30T11:25:17Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Mike\_L](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mike_l/32/11717_2.png) [@Mike\_L](https://community.dynatrace.com/u/Mike_L)\
**Post date:** [January 4, 2022, 10:18am UTC](https://community.dynatrace.com/t/defining-ui-of-custom-device-through-api/20928/7 "2022-01-04T10:18:20Z")

</div>

The correct way to do it is to define a unified analysis screen. This can easiest be done in an Extension 2.0 YAML under the “screen” section. That way you have much more control over the UI than what was possible with the custom device screen.

---

_[View the full topic](https://community.dynatrace.com/t/defining-ui-of-custom-device-through-api/20928)._
