# Make Delegated Data types open in a new window in Theme Cosmos

**URL:** <https://forums.pega.com/t/make-delegated-data-types-open-in-a-new-window-in-theme-cosmos/1617>\
**Category:** Knowledge Share\
**Tags:** experience-designer, 8-4, 8-5, 8-6, cross-industry, user-experience\
**Created:** [August 2, 2021, 7:32am UTC](https://forums.pega.com/t/make-delegated-data-types-open-in-a-new-window-in-theme-cosmos/1617 "2021-08-02T07:32:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michal\_Zarlok](https://avatars.discourse-cdn.com/v4/letter/m/ad7895/32.png) [@Michal\_Zarlok](https://forums.pega.com/u/Michal_Zarlok)\
**Post date:** [August 2, 2021, 7:32am UTC](https://forums.pega.com/t/make-delegated-data-types-open-in-a-new-window-in-theme-cosmos/1617/1 "2021-08-02T07:32:30Z")

</div>

In Theme Cosmos based application default configuration is to open delegated data types in the same window, but delegated rules in a popup window due to application architecture. To make the user experience consistent and open both objects in a popup window some changes are required.

1. Create new rule named _InitializeDataType_ in class _Rule-Obj-Class_:

2. Open rule _DelegatedRuleDetail_ of class _Embed-System-User-MyRules_ located in _Theme-Cosmos_ ruleset.

3. Edit the button responsible for editing data types (the one referencing _pzIsDataType_ When rule in “Condition for visibility”) and modify the action set.

4. Save changed rule under different name (like _MyDelegatedRuleDetail_) in the application ruleset.

5. Open _DelegatedRuleMain_ section from the Theme Cosmos ruleset, replace the reference to _DelegatedRuleDetail_ with the renamed copy of this section and save the _DelegatedRuleMain_ section in the application ruleset.

After the changes all delegated rules should be open in a new window.

---

<div class="post-metadata">

**Author:** ![Nik\_sh](https://avatars.discourse-cdn.com/v4/letter/n/aeb1de/32.png) [@Nik\_sh](https://forums.pega.com/u/Nik_sh)\
**Post date:** [October 21, 2023, 10:13am UTC](https://forums.pega.com/t/make-delegated-data-types-open-in-a-new-window-in-theme-cosmos/1617/2 "2023-10-21T10:13:06Z")

</div>

@zarlm

What value to be passed in the parameter \*.\*_pzDelegationExperience_

while delegating a datatype.I followed the above process and found that it is opening my datatype from pega instead of opening the delegated data type.

However, the data type is deleted to the access group I can see it in favourites instances.

---

<div class="post-metadata">

**Author:** ![MounikaS8665](https://avatars.discourse-cdn.com/v4/letter/m/e9bcb4/32.png) [@MounikaS8665](https://forums.pega.com/u/MounikaS8665)\
**Post date:** [July 29, 2026, 4:07pm UTC](https://forums.pega.com/t/make-delegated-data-types-open-in-a-new-window-in-theme-cosmos/1617/3 "2026-07-29T16:07:39Z")

</div>

Hi Michal,

We have requirement where in we need to provide 4 eye principal check for delegated rules. We are using 25.1.2 theme cosmos’s.

Would like to know what could be the way to achieve this.

Thankyou for your support !
