Show answerHide answer
Correct answer: D Set the Action property on the atomic widget to ContactWS.goInWorkspace(currentContact)
Explanation
Answer Option (Which option is correct) D. Set the Action property on the atomic widget to ContactWS.goInWorkspace(currentContact)Explanation:
A navigation operation belongs on the clickable widget action, with the iterator element passed as the selected record. The source uses goInWorkspace for the Worksheet and push for the Popup. actionAvailable controls whether an action is available; it is not the place to perform the navigation.
Verification note: The exact option selection could not be independently verified from accessible official documentation. Relevant official topic links are provided, but some exact configuration or training rules require the product Configuration Guide or Cloud Standards behind sign-in. The source key is retained.
Why the other options are incorrect:
A. Set the Action property on the atomic widget to include ContactWS(currentContact):
This does not use the Worksheet navigation method selected by the source. A bare location call may not open the desired workspace. The target API must be checked for the course version.
B. Set the actionAvailable property on the atomic widget to ContactWS.push(currentContact):
actionAvailable is an enablement expression. It should not execute navigation as a side effect. The action receives the selected contact.
C. Set the Action property on the atomic widget to ContactWS.goInWorksheet(currentContact):
The source selects goInWorkspace rather than goInWorksheet. Those method names are not interchangeable without API evidence. Verify the actual Worksheet methods before importing this answer.
References:
Guidewire product documentation - Configuration Guide access