Discussion
2
Replies
302
Views
Virtusa
Posted: June 11, 2015
Last activity: July 21, 2015
Answer seems to be incorrect for a data page related question in Pega 7 SAE 1 course
The following question is asked in the quiz part of Pega 7 SAE 1 course.
When we are defining a data page that displays a list of all products that the company can sell, what is the scope in which it is defined? (Choose One)
Only on a requestor
Only on the thread level to list it on the case where product list is used
On the node irrespective of the applications used in the node
Only on the case where product list is getting updated
Option 2 is the correct answer as per PDN. Can anyone explain why? I think option 3 should be the correct answer as the data is not specific to any user the data page can loade at the node level. It also helps to save the memory.
A node-level scope is probably a bit much. This would mean the data page is available at all times to all users - whether it is needed or not. It seems to me this is not "saving memory" if it is on the clipboard and not being used.
Setting it at the thread level makes it available only when needed - to just the user(s) who need it. When the thread closes, the data page is destroyed.
eddie