I've been banging my head on my desk for a day trying to figure this out.
Does anyone have a working example of how to do this?

Thanks.