I have a view with the following structure: enter image description here

Here's the response in close-up:

enter image description here

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?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.