# Custom Dialog Renderer. How to get the view?

**URL:** https://discourse.aurelia.io/t/custom-dialog-renderer-how-to-get-the-view/2829
**Category:** Help Requests
**Created:** [August 9, 2019, 10:00am UTC](https://discourse.aurelia.io/t/custom-dialog-renderer-how-to-get-the-view/2829 "2019-08-09T10:00:01Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![mikeymatteo](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/mikeymatteo/32/1591_2.png) [@mikeymatteo](https://discourse.aurelia.io/u/mikeymatteo)
#### Post date: [August 9, 2019, 10:00am UTC](https://discourse.aurelia.io/t/custom-dialog-renderer-how-to-get-the-view/2829/1 "2019-08-09T10:00:01Z")

</div>

Hi All,  
I’m trying to create a custom dialog renderer. Following many examples and even taking guidance from the aurelia dialog renderer I keep falling down in the same place.

`dialogController.viewModel` and `dialogController.slot`

They always seem to be undefined.  
using latest aurelia-dialog.
