Tanya,
Thank you for posting, I'm working through the same issues and am also not a programmer. I have been fussing around with the API code and the Viewer code. Did you ever get your code to work? I have copied all the parts of the code and I am trying to make it work. If you have a working solution I would love to see it.