cmv/cmv-app

Support subfolder? type: dynamic

hoogw opened this issue · 4 comments

hoogw commented

For example: https://maps2.dcgis.dc.gov/dcgis/rest/services

This url have a list of subfolders, and list of mapservers

If I set as below, it failed.

how to make it works with this URL https://maps2.dcgis.dc.gov/dcgis/rest/services

 `
           url: https://maps2.dcgis.dc.gov/dcgis/rest/services
           type:dynamic

@hoogw This isn't possible within the core cmv-app though it could done in a custom widget. Since it doesn't seem to be a common use case (in my experience any way), I think a custom widget is the appropriate path.

hoogw commented

Thanks to clearify. I am trying to make it happen on my copy. Widget is hard to me, I try to make a extra page to dedicate display subfolder and services, then link to your core cmv.

hoogw commented

I am still working on it. I find the way to make it. modify the core component. I don't know how to do widget.

hoogw commented

I found work around, by make extra page just list the mapserver with link. When user click it, it open up a new page just show one mapserver with cmv