diff --git a/README.md b/README.md index 531456e..b1b15fe 100644 --- a/README.md +++ b/README.md @@ -36,10 +36,10 @@ The template can be configured using the following options: 1. To deploy this application, download the template from Portal/ArcGIS Online and unzip it. 2. Copy the unzipped folder containing the web app template files, such as index.html, to your web server. You can rename the folder to change the URL through which users will access the application. By default the URL to the app will be `http:////index.html` 3. Change the sharing host, found in defaults.js inside the config folder for the application, to the sharing URL for ArcGIS Online or Portal. For ArcGIS Online users, keep the default value of www.arcgis.com or specify the name of your organization. - - ArcGIS Online Example: `"sharinghost": location.protocol + "//" + “.maps.arcgis.com` - - Portal Example where `arcgis` is the name of the Web Adaptor: `"sharinghost": location.protocol + "//" + "webadaptor.domain.com/arcgis"` -4. If you are using Portal or a local install of the ArcGIS API for JavaScript, change all references to the ArcGIS API for JavaScript in index.html to refer to your local copy of the API. Search for the references containing `"//js.arcgis.com/3.20"` and replace this portion of the reference with the url to your local install. - - For example: `"//webadaptor.domain.com/arcgis/jsapi/jsapi"` where `arcgis` is the name of your Web Adaptor. + - ArcGIS Online Example: `"sharinghost": "https://" + “.maps.arcgis.com` + - Portal Example where `arcgis` is the name of the Web Adaptor: `"sharinghost": "https://" + "webadaptor.domain.com/arcgis"` +4. If you are using Portal or a local install of the ArcGIS API for JavaScript, change all references to the ArcGIS API for JavaScript in index.html to refer to your local copy of the API. Search for the references containing `"https://js.arcgis.com/3.21"` and replace this portion of the reference with the url to your local install. + - For example: `"https://webadaptor.domain.com/arcgis/jsapi/jsapi"` where `arcgis` is the name of your Web Adaptor. 5. Copy a map or group ID from Portal/ArcGIS Online and replace the default web map ID in the application’s index.html page. You can now run the application on your web server or customize the application further. > **Note:** If your application edits features in a feature service, contains secure services or web maps that aren't shared publicly, or generate requests that exceed 200 characters, you may need to set up and use a proxy page. Common situations where you may exceed the URL length are using complex polygons as input to a task or specifying a spatial reference using well-known text (WKT). For details on installing and configuring a proxy page see [Using the proxy](https://developers.arcgis.com/javascript/jshelp/ags_proxy.html). If you do not have an Internet connection, you will need to access and deploy the ArcGIS API for JavaScript documentation from [developers.arcgis.com](https://developers.arcgis.com/). diff --git a/config/defaults.js b/config/defaults.js index e271ded..28908c4 100755 --- a/config/defaults.js +++ b/config/defaults.js @@ -156,7 +156,7 @@ define({ //Enter the url to your organizations bing maps key if you want to use bing basemaps "bingmapskey": "", //Defaults to arcgis.com. Set this value to your portal or organization host name. - "sharinghost": location.protocol + "//" + "www.arcgis.com", + "sharinghost": "https://www.arcgis.com", "units": null, "helperServices": { "geometry": { diff --git a/css/browseDialog.css b/css/browseDialog.css index 6d6c839..7c284f2 100644 --- a/css/browseDialog.css +++ b/css/browseDialog.css @@ -38,7 +38,7 @@ .soria .ui-state-active { background-color: #fff; } -.dgrid-row { +#browse-id-box .dgrid-row { width: 125px; float: left; text-align: center; @@ -46,38 +46,38 @@ border: solid 1px #fff !important; margin: 2px; } -.dgrid-scroller { +#browse-id-box .dgrid-scroller { overflow-y: auto !important; } -.dgrid-pagination-links:hover { +#browse-id-box .dgrid-pagination-links:hover { cursor: pointer; } -.dgrid-pagination .dgrid-page-disabled { +#browse-id-box .dgrid-pagination .dgrid-page-disabled { color: hsl(0, 0%, 67%) !important; cursor: default; } -.dgrid-page-link { +#browse-id-box .dgrid-page-link { cursor: pointer; } -.dgrid-active { +#browse-id-box .dgrid-active { background-color: #fff; } -.dgrid-selected { +#browse-id-box .dgrid-selected { border-radius: 4px; background-color: #fff; border: solid 1px #BFD6EB !important; } -.dgrid-row .dgrid-row-odd { +#browse-id-box .dgrid-row .dgrid-row-odd { background-color: #fff; } -.dgrid-row .dgrid-row-even { +#browse-id-box .dgrid-row .dgrid-row-even { background-color: #fff; } -.dgrid-row:hover { +#browse-id-box .dgrid-row:hover { border-radius: 4px; background-color: #E1F0FB !important; } -; + .truncate { white-space: nowrap; overflow: hidden; diff --git a/dataBrowser.html b/dataBrowser.html index bd1125f..4b7b9e1 100644 --- a/dataBrowser.html +++ b/dataBrowser.html @@ -1,7 +1,6 @@ - Data Browser - - + + - + - +