|
POST
|
Yes, that's what I am going to do. But I have no clue what nls/string is. Is this string in the config.js file? Thanks!
... View more
08-03-2015
07:14 AM
|
0
|
8
|
2814
|
|
POST
|
In the ESRI's new widget 'Incident Analysis', I need to change the Tab name ‘Locate Incident’ to other text, and also I need to change the radio button text at the bottom like ‘Incident’, ‘weather’, to other texts. I checked the config file, but did not see any labels that can be changed. In the config file of widget, only weather can be adjusted. Thanks!
... View more
08-03-2015
06:46 AM
|
0
|
10
|
6102
|
|
POST
|
I set up a search layer in the WAB query widget. There is one field 'Zip code', which is a numerical value defined by map service. So it always displays as 33,098 instead of 33098. Is there any method that I can change its format in the query widget? I know the format can be adjusted in web map pop-up window, but inside a query widget, can it be changed? Thanks!
... View more
07-28-2015
04:17 PM
|
0
|
6
|
6246
|
|
DOC
|
I want to add this widget to one app that I have already built with the WAB developer version, beside add the codes you mentioned to the main config.json, I also copy the widget folder to the \widget folder. But when open app, this widget does not show up. Is that because I did not modify the feature layers names? I think the widget should at least show up, then I go to adjust the feature names. Thanks!
... View more
07-21-2015
11:43 AM
|
0
|
0
|
14171
|
|
POST
|
We use WAB to create an app with point features on the map. We want the pop-up windows to come out when users hover over the point features, instead of clicking on them to display pop-up window. Is there anyway that we can do this? Currently you have to click the point to display information. Thanks!
... View more
07-20-2015
07:17 AM
|
1
|
2
|
4474
|
|
POST
|
I figure that out: you will need to create a feature layer from My Content, then add that to your Web Map, after that go change the name of the feature layer. Then when you go back to use this web map in your app, the name will be exactly like what it displays in the web map. When creating web map, if the layer is added directly, then the information from the map service will follow, like ABCD_DFAD_234231.
... View more
07-14-2015
04:07 PM
|
3
|
0
|
1367
|
|
POST
|
I double checked the XML file and both old and new map services, our fields ARE the same as before including the data type. Thanks!
... View more
02-17-2015
08:11 AM
|
0
|
1
|
881
|
|
POST
|
We recently updated our map services to 10.22, I just change the url inside our SearchWidget.xml file and everything else is the same. The eSearch Widget we use is 2.4 version. All the parameters names and types are the same as before, we just use the new map services. The codes are as below inside the eSearch Widget: <expression alias="Permitted Flows Greater Than" textsearchlabel="Permitted Flows Greater or Equal to [Example:2.5]:">Permitted_Flow >= [value] & Permitted_Flow_Type = "MGD" </expression> <expression alias="Permitted Flows Less Than" textsearchlabel="Permitted Flows Less or Equal to [Example:2.5]:">Permitted_Flow <= [value] & Permitted_Flow_Type = "MGD" </expression>
Is there anything wrong with the codes? If they work well for the map service 10.01, why they suddenly are not working for 10.22? Thanks a lot!
... View more
02-12-2015
02:46 PM
|
0
|
3
|
4394
|
|
POST
|
I need to find the source code of the following app, especially the geoprocessing config file as .xml file. Does anyone know whether it is available for downloading? Thanks! http://resources.arcgis.com/en/help/flex-viewer/live/index.html?config=apps/config-geoprocessing.xml
... View more
12-08-2014
08:40 AM
|
0
|
2
|
2367
|
|
POST
|
I figure that out. Both eSearchWidget and SearchWidgetFixedDG need to be added to the module list and config file. Thanks a lot!
... View more
10-23-2014
04:24 PM
|
0
|
0
|
656
|
|
POST
|
I just installed the new eSearch widget 3.6. After finishing one search action, I would like to have the attribute table displaying the results at the bottom but not fixed; I prefer autohided. So far all the results are just displaying in the pop -up window. Which parameter I should adjust in the xml config file? Thanks!
... View more
10-23-2014
03:10 PM
|
0
|
2
|
1886
|
|
POST
|
I download the source code of Flex Viewer 3.6 and input it to Flash builder. After reading the following post from ESRI, I realize the config file of GeoprocessingWidget.xml does not even exist, then how do we set the widget? Thanks! http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Geoprocessing_widget_tags/01m30000002s000000/ The set up codes in main config.xml is as the following:
<widget label="Geoprocessing" left="10" top="400"
icon="assets/images/GeoprocessingTool48.png"
config="widgets/Geoprocessing/GeoprocessingWidget.xml"
url="widgets/Geoprocessing/GeoprocessingWidget.swf"/>
... View more
10-09-2014
02:57 PM
|
0
|
2
|
4089
|
|
POST
|
Index.html codes are here:
<!DOCTYPE html>
<html>
<head>
<style>
#leftPane {
top: 200px;
background-color: #002f32;
color: #FFFFFF;
border: solid #97DCF2 1px;
height: 80%;
display: block;
width: 200px;
position: relative;
}
#cpBottom {
background-color: #deff89;
color: #FFFFFF;
border: solid #97DCF2 1px;
height: 250px;
display: block;
bottom: 0px;
width: 100%;
position: fixed;
}
#divGrid {
color: #061162;
height: 250px;
}
#divGrid2 {
color: #061162;
height: 250px;
}
#GridClose {
position: relative;
right: 0px;
height: 50px;
width: 50px;
background-color: #97DCF2;
}
</style>
<title></title> <!-- Define the versions of IE that will be used to render the page. See Microsoft documentation for details. Optional. -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta charset="utf-8">
<!-- Responsive -->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="default">
<!-- End Responsive -->
<!-- Use protocol relative urls that way if the browser is viewing the page via HTTPS the js/css file will be requested using the HTTPS protocol -->
<link rel="stylesheet" href="https://community.esri.com//js.arcgis.com/3.10/js/esri/css/calcite/calcite.css">
<link rel="stylesheet" href="https://community.esri.com//js.arcgis.com/3.10/js/esri/css/esri.css">
<!-- Load any application specific styles -->
<link rel="stylesheet" href="css/styles.css">
<!--[if IE 8]>
<link rel="stylesheet" href="css/ie.css">
<![endif]-->
</head>
<body class="calcite app-loading no-touch">
<!-- Loading Indicator -->
<div class="loading-indicator">
<div class="loading-message" id="loading_message"></div>
</div>
<!-- Map -->
<!-- The ArcGIS API for JavaScript provides bidirectional support. When viewing the application in an right to left (rtl) language like Hebrew and Arabic the map needs to remain in left-to-right (ltr) mode. Specify this by setting the dir attribute on the div to ltr. -->
<div id="mapDiv" dir="ltr" data-dojo-props="region:'top'">
</div>
<div id="leftPane"
data-dojo-type="dijit/layout/ContentPane"
data-dojo-props="region:'left', splitter:'true', gutters:false">
<b>This pane is for seleciton layers only</b>
<div>
<!--<p>
The custom operation inherits from esri/OperationBase.
<a target="_blank" href="./myModules/customoperation.js">This is a testing hyperlink</a>.
</p> -->
<p>
Please Select the Buttons Below to Activate the Drawing Tools
</p>
</div>
<button id="point" data-dojo-type="dijit/form/Button">
Point
</button>
<button id="freehandpolyline" data-dojo-type="dijit/form/Button">
Polyline
</button>
<button id="freehandpolygon" data-dojo-type="dijit/form/Button">
Polygon
</button>
<p>
Click "Stop Drawing" Button to Disable Drawing Tools;
<br />After Doing this, only Click-Pop-Up Function is Available
</p>
<button id="stop" data-dojo-type="dijit/form/Button">
Stop Drawing
</button>
</div>
<div id="cpBottom" data-dojo-type="dijit/layout/TabContainer" data-dojo-props="
splitter:'true', region:'bottom', closable:true">
<!--<div id="GridClose" class="GridCloseIcon" data-dojo-type="dijit/layout/ContentPane"
title="Close Grid" onclick="closeGrid();"></div> -->
<div id="divGrid2" data-dojo-props="title:'TAZs'" data-dojo-type="dijit/layout/ContentPane"></div>
<div id="divGrid" data-dojo-props="title:'Land Use'" data-dojo-type="dijit/layout/ContentPane"></div>
</div> <!-- cpBottom End -->
<!-- Panel Content -->
<div id="panelContent">
<div id="panelPages"></div>
</div>
<!-- Panel Top -->
<div id="panelTop" class="bg rounded shadow">
<!-- Panel Title -->
<div id="panelTitle">
<div class="fc" id="panelText">
</div>
<div id="panelSearch">
<div id="panelGeocoder"></div>
</div>
<div id="panelMenu" class="icon-menu icon-color"></div>
</div>
<!-- Panel Tools -->
<div id="panelTools">
<!--Tools are created programatically-->
</div>
</div> <!-- Panel Top End -->
<script type="text/javascript">
var package_path = window.location.pathname.substring(0, window.location.pathname.lastIndexOf('/'));
var dojoConfig = {
// The locationPath logic below may look confusing but all its doing is
// enabling us to load the api from a CDN and load local modules from the correct location.
packages: [{
name: "application",
location: package_path + '/js'
}, {
name: "config",
location: package_path + '/config'
}]
};
</script>
<script type="text/javascript" src="//js.arcgis.com/3.10/"></script>
<script type="text/javascript">
require(["application/template", "application/main"],
function (Template, Main) {
// create the template. This will take care of all the logic required for template applications
var myTemplate = new Template();
var myApp = new Main();
//var mydrawTool = new DrawTool();//
myTemplate.startup().then(function (config) {
myApp.startup(config); //mydrawTool.startup();
}, function (error) {
// something went wrong. Let's report it.
myApp.reportError(error);
});
});
</script>
</body>
</html>
... View more
10-02-2014
02:56 PM
|
0
|
0
|
989
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 09-01-2015 07:06 AM | |
| 1 | 07-20-2015 07:17 AM | |
| 3 | 07-14-2015 04:07 PM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:24 AM
|