Opening selector dialog is always full screen

Posted by Aede Hoekstra on 22-Jun-2016 02:05

Hi!

When opening a lookup field to select some related data the dialog, the dialog always opens full screen:

I would like to default open it more like a dialog: 

Is there an (easy) way to achieve this?

Posted by Chandrasekhar Gontla on 22-Jun-2016 02:27

Hi Aede,

Selector pop-up is opened in maximize mode by default, it doesn’t contain minimize icon and it shows

a notification message once any record is selected. User can override these three properties by adding

the below code snippet to ‘Custom Sidebar’ in app settings page.

<script id="executeBeforeUIStarts">

rb.newui.options.selector.showMinimizeControl=true;

rb.newui.options.selector.initialStateMaximized=false;

rb.newui.options.selector.showNotificationWhenAdding=false;

</script>

We wrote a white paper which explains this kind of customization

The white paper link is

community.progress.com/.../2696

Thanks and Regards,

Chandu.

All Replies

Posted by Chandrasekhar Gontla on 22-Jun-2016 02:27

Hi Aede,

Selector pop-up is opened in maximize mode by default, it doesn’t contain minimize icon and it shows

a notification message once any record is selected. User can override these three properties by adding

the below code snippet to ‘Custom Sidebar’ in app settings page.

<script id="executeBeforeUIStarts">

rb.newui.options.selector.showMinimizeControl=true;

rb.newui.options.selector.initialStateMaximized=false;

rb.newui.options.selector.showNotificationWhenAdding=false;

</script>

We wrote a white paper which explains this kind of customization

The white paper link is

community.progress.com/.../2696

Thanks and Regards,

Chandu.

Posted by Aede Hoekstra on 22-Jun-2016 04:59

Thanks Chandu! Works great!

This thread is closed