How to expose webform submission data from a View without showing "Result Tab"

Created on 24 April 2018, about 6 years ago
Updated 25 March 2023, over 1 year ago

I need to expose only few of my webform submission data fields for all anonymous users. When I given the permissions from admin/people/permissions with "View any webform submission" to anonymous users or view permission from webform level, I do see "Results" tab appear next to the "View" tab while entering a webform field data values. Consequently anonymous users can see lot of internal information such as "Submission UUID". If I do not grant these permissions, form submission data does not appear to anonymous users.

Can someone please help me on getting only my data exposed via my customized view and data doesn't appear towards "Results" tab.

EDIT: It seems that if I

  • Disable "View any webform submission" for anonymous in admin/people/permissions
  • Disable "View any submissions" for anonymous in admin/structure/webform/manage/[WEBFORMNAME]/access
  • Enable "View own submissions" for anonymous in admin/structure/webform/manage/[WEBFORMNAME]/access

Then the "Results" tab go away, but I can still view the results through my View that I created. This solves my immedidate problem, but it still feels like a roundabout way of getting this behaviour.

πŸ’¬ Support request
Status

Closed: works as designed

Component

Miscellaneous

Created by

πŸ‡±πŸ‡°Sri Lanka dumiduperera

Live updates comments and jobs are added and updated live.
  • views

    Involves, uses, or integrates with views. In Drupal 8 core, use the β€œVDC” tag instead.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024