Hide only one field from view for empty contextual filter
I have a view with the following structure: 
Here’s the response in close-up:

My requirement is to hide thecontent
field for an empty contextual filter value i.e when we call /sync/newslist
. The content
field should appear when the node id is passed to the endpoint i.e /sync/newslist/1234
(this is the default behaviour).
How do I hide just one field for an empty contextual filter?
This article was republished from its original source.
Pixeldust is a 20-year-old web development agency specializing in Drupal and WordPress and working with clients all over the country. With our best in class capabilities, we work with small businesses and fortune 500 companies alike. Give us a call at 1(800)730-2416 and let’s talk about your project.