I am working on the legend widget in my portal template and I cannot figure out how to make it connect to the backend service that I need to. I tried adding a url and a workflowService property to the widget's config.json file but neither of them seem to do the trick. Has anyone else come across this issue and has any possible pointers?