Pega - Learn to access pyWorkPage reference in data class

Поділитися
Вставка
  • Опубліковано 3 лют 2025

КОМЕНТАРІ • 12

  • @gattubarocks
    @gattubarocks Місяць тому +1

    Great Video Thanks, you referred Top in Section (UI) - you must have defined Top in page & classes as the work class name right? if it is yes, in video please show to us as well.
    Even in Data class DT > ApplicationDetails page you must have created the page property in work class referring data class in that.
    These things just a quick glance please show to the subscribers

    • @Qtometa
      @Qtometa  Місяць тому

      Sure, Thanks for your feedback!!!

  • @vinaymalkar8739
    @vinaymalkar8739 Рік тому +1

    Very good explanation..liked it. please make 1 video on response data transform..How can we use it to manipulate data that we are getting from souce.

  • @java2architect
    @java2architect Рік тому

    What if I wanted to access a PageList of some other class under the pyWorkPage in the Data Transform Or a Section. I tried using Pages and Classes but it will not work. It only works for properties under pyWorkPage, not embedded Pages/PageLists under pyWorkPage.

    • @Qtometa
      @Qtometa  Рік тому

      Once you have the reference of pyworkpage, you can access any page/pagelist using that reference page.

    • @java2architect
      @java2architect Рік тому

      @@Qtometa So I am trying to use it in section. I set pyWorkPage and pyWorkPage.Customers and tried to refer to pyWorkPage.MyPageList in a Repeating Dynamic Layout. Will not work because it thinks Customers class type is Data- and not MyApp-Data-Customer.
      Then I used Top instead of pyWorkPage. Did not work.
      Then I used Parent instead of Top. "Works". I say "Works" and not Works because now I see blank rows rendered through my RDL. Could be some other issue but if you can verify Parent is right page name to use for this?

    • @Qtometa
      @Qtometa  Рік тому

      @@java2architect looks like to resolve your issue, it requires some screen sharing session to understand your issue and resolve.

  • @vinodkumarvemula5136
    @vinodkumarvemula5136 2 роки тому

    Comment the function for with out hard coding the pyWorkPage name in data transform

    • @Qtometa
      @Qtometa  2 роки тому

      use this ternary operator to get primary page as pyWorkPage @hasPrimaryPage(tools):@PrimaryPageName(tools):"pyWorkPage"

    • @vmaruthiprasad
      @vmaruthiprasad Рік тому

      Can we refer integration class in data class and vice versa?

    • @Qtometa
      @Qtometa  Рік тому

      You can access Integration page in data layer- response data transform.