The screen itself only requires the Guid from the ckbx_Response table as the parameter to show the response.
The link would look like:
Quote:
|
ViewResponseDetails.aspx?ResponseGuid=[RESPONSE_GUID]&NoChrome=true
|
You would replace [RESPONSE_GUID] with the guid for the response. The NoChrome portion tells the page not to display the Checkbox navigation icons, etc. and just to display the response details.
The second issue you have to deal with is the security on the page, which verifies that the user requesting the page has proper permissions on the survey to view individual responses. The first option here is to edit the permissions of the survey to add "View Response Details" permission.
Another option is to make use of the ticketing mechanism built in to the page that is used to allow respondents to view their response via the Display Response survey item.
To create a ticket in the database, you can run:
Quote:
|
ckbx_Ticket_Insert [RESPONSE_GUID], [TICKET_EXPIRATION]
|
[TICKET_EXPIRATION] is the DateTime that the ticket for the particular response will cease to be valid.
-Noah