cmv-widgets
cmv-widgets copied to clipboard
Can you display an URL field for the Search widget?
What format should an URL field have for the columns section? Media? I cannot find it in the API.
If you have a raw url in a field and need to construct the clickable hyperlink, use the dgrid's formatter attribute for the field's column definition. Here's an example for the dojo datagrid but the concept is the same for the dgrid.
I forgot about this issue. Sorry about the delay. This is what I am talking about. Currently, I have the Identify widget perform the popup window. This result will take you to this website when the ICAO code is provided from the rest service field. https://www.windytv.com/KCDR. I can use this with the WAB eSearch widget. I would prefer to use your widget. "links": { "link": [ { "alias": "Windyty Wind Map Forecasts", "content": "https://www.windyty.com/{ICAO}", "icon": "./images/i_pws.png", "disablelinksifnull": true, "popuptype": "text" } ] }