Posted: 8 Aug 2016 15:59 EDT Last activity: 17 Aug 2016 8:53 EDT
Pages & Classes naming conventions for including data from other classes in a section
I am trying to display information from a data page in a section, but the data page is in a different class than my section's class (data page in Data-ServiceProducts, section in Work). I created a page list property called ProductsAvailable in my Work class that copies the data from the data page, then I dragged that property into my section to create boxes that display the data. I added a Pages & Classes reference to the section which references the Data class (Page name: .ProductsAvailable, Class: Data-ServiceProducts). The boxes that should display the data each have a .ProductsAvailable.Name or .ProductsAvailable.Type in the property box (name and type are properties within the page list) with read-only so that they display data. However, when I preview the section, all it shows is null.
I have seen conflicting Page Name options online so I think I am confused about what the page name in the Pages & Classes tab is actually referencing. Is it referencing a specific section within the specified class? Is it giving a nickname to the specified class? I think this naming problem is the source of my error but I am open to any suggestions/tips.
***Updated by moderator: Lochan to update Categories***
In addition to the information shared by Gangababu, i would suggest you to kindly give the page name which is same as Clipboard page for the the class which you want to use.
As highlighted in this example, if you want to use the Data present in pyReportParameters_temp page in some other class, Give the page name same as shown in the Clipboard and add the corresponding class under Pages & classes tab.This is the best practice and easier for maintanence.
As per the below screen print, i have executed my case, once you perform any action a seperate clipboard thread (PRThread) will be created related to that particular action. In my example , a seperate thread got created for my case instance (C-59). Click on pyworkpage which will fetch you the information related to the action you have performed.
I realized that our pySetFieldDefaults data transform had not been configured for the pages we wanted to store data in. After configuring that, I was able to use those page names (.Product or .Order) because they referenced an actual page in pyWorkPage. Thank you all for your help!