Yes, there are more than one way to get the wanted effect; disabling the Shadow Ray Visibility is the same as using the Is Shadow Ray in the Light Path Node (as far as I know).
Why you also need to disable Diffuse and Glossy I don’t understand (but that’s ok), has probably something to do with your specific scene set up.
I’m really glad it worked out!