# Expose child page of a work class

**URL:** <https://forums.pega.com/t/expose-child-page-of-a-work-class/8137>\
**Category:** General\
**Tags:** 8-8-3, data-integration\
**Created:** [August 26, 2024, 11:10am UTC](https://forums.pega.com/t/expose-child-page-of-a-work-class/8137 "2024-08-26T11:10:38Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![MaxonL16591286](https://avatars.discourse-cdn.com/v4/letter/m/eb9ed0/32.png) [@MaxonL16591286](https://forums.pega.com/u/MaxonL16591286)\
**Post date:** [August 26, 2024, 11:10am UTC](https://forums.pega.com/t/expose-child-page-of-a-work-class/8137/1 "2024-08-26T11:10:38Z")

</div>

How to expose child page of a work class?

E.g a work class My-Work, in which a property Student is defined of type single page pointing to My-Data-Student, which has properties Name, Number, etc…

Now I want to use Student.Name, Student.Number as filter to run report def or obj-browse on My-Work case, do I need need only expose Student to class My-Work, or more?

Thanks.

---

<div class="post-metadata">

**Author:** ![SohamM95](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/sohamm95/32/4726_2.png) [@SohamM95](https://forums.pega.com/u/SohamM95)\
**Post date:** [August 26, 2024, 12:17pm UTC](https://forums.pega.com/t/expose-child-page-of-a-work-class/8137/2 "2024-08-26T12:17:06Z")

</div>

@MaxonL16591286

Are you trying to run the report on work class with filters from Student embedded page?

---

<div class="post-metadata">

**Author:** ![RameshSangili](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/rameshsangili/32/23377_2.png) [@RameshSangili](https://forums.pega.com/u/RameshSangili)\
**Post date:** [August 26, 2024, 2:48pm UTC](https://forums.pega.com/t/expose-child-page-of-a-work-class/8137/3 "2024-08-26T14:48:15Z")

</div>

@MaxonL16591286

Obj-Browse is not recommended.

Optimize the properties that you’re interested to expose in your work table and use Report defintion.

Go to App Explorer → Case Type class or Work Layer → Data Model → Property → Expand Student Data Class → Right click on Name → Select OPtimize (do the same step for Student.Number)

I hope this helps!

---

<div class="post-metadata">

**Author:** ![MaxonL16591286](https://avatars.discourse-cdn.com/v4/letter/m/eb9ed0/32.png) [@MaxonL16591286](https://forums.pega.com/u/MaxonL16591286)\
**Post date:** [August 27, 2024, 2:20am UTC](https://forums.pega.com/t/expose-child-page-of-a-work-class/8137/4 "2024-08-27T02:20:47Z")

</div>

@RameshSangili

do I need optimize property Student (type single page) itself?

---

<div class="post-metadata">

**Author:** ![RameshSangili](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/rameshsangili/32/23377_2.png) [@RameshSangili](https://forums.pega.com/u/RameshSangili)\
**Post date:** [August 27, 2024, 3:08am UTC](https://forums.pega.com/t/expose-child-page-of-a-work-class/8137/5 "2024-08-27T03:08:31Z")

</div>

@MaxonL16591286

Optimize the necessary properties inside Student(Single Page). For example, if you have 5 properties under Student(Name, Number ,Phone ,Email, City) however you need only Name and Number for reporting requirements then optimize Name and Number.

---

<div class="post-metadata">

**Author:** ![Mohd\_Qizer\_Uddin](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/mohd_qizer_uddin/32/8753_2.png) [@Mohd\_Qizer\_Uddin](https://forums.pega.com/u/Mohd_Qizer_Uddin)\
**Post date:** [August 27, 2024, 4:08am UTC](https://forums.pega.com/t/expose-child-page-of-a-work-class/8137/6 "2024-08-27T04:08:01Z")

</div>

Hi @MaxonL16591286,

To use `Student.Name` and `Student.Number` as filters, you need to expose both properties individually in the `My-Work` class database table. After exposure, you can use these properties for filtering in report definitions and `Obj-Browse` operations.

Pega doesn’t expose page-type properties directly to the database. You can only expose individual properties on that page.

Thanks,

Mohd Qizer Uddin
