I've poked around a bit on the forum but didn't find a solution. So here's my problem. I can't get my local map service to load correctly in the SFV via code.
I've added the rest url to Live Maps code block in confix.xml, yet when I run the application the map service shows up in the Live Maps list but there are no layers available.
However, If I add the map service using the Live Maps "AddService" button, using the same rest url that I placed in the code block. The service appears with layers and works correctly.
What am I missing?