POST
|
Daniel, Can you give me some details on this? Are you selecting a particular layer from the drop down or just using the All Layers? are any of the layer that you have configured to identify a type="feature" in the main config.xml? You should only get that message when the returned results from the identify task is empty and there are no other results in the identify list. I tried a specific layer and all layers with the same result. I also removed all but two layers in the XML, same thing. I'm using dynamic (config.xml below)
<basemaps>
<layer label="Base Layers" alpha="1" type="dynamic" visible="true"
url="http://server/svr/rest/services/BaseLayers/MapServer" />
<layer label="2011 Aerial" type="dynamic" visible="false"
url="http://server/svr/rest/services/AerialHybrid_2011/MapServer" />
<layer label="2009 Aerial" type="dynamic" visible="false"
url="http://server/svr/rest/services/AerialHybrid_2009/MapServer" />
</basemaps>
<operationallayers>
<layer label="'11 Aerial" type="dynamic" visible="false"
url="http://server/svr/rest/services/AerialLayer_2011/MapServer" />
<layer label="'09 Aerial" type="dynamic" visible="false"
url="http://server/svr/rest/services/AerialLayer_2009/MapServer" />
<layer label="Cost Sharing" alpha="1" type="dynamic" visible="false"
url="http://server/svr/rest/services/CostSharingLayers/MapServer" />
<layer label="Utility Layers and Streets" alpha="1" type="dynamic"
visible="true" url="http://server/svr/rest/services/UtilityLayers/MapServer" />
<layer label="Routes" alpha="1" type="dynamic" visible="false"
url="http://server/svr/rest/services/Routes/MapServer" />
<layer label="Notifications" alpha=".5" type="dynamic" visible="false"
url="http://server/svr/rest/services/Notifications/MapServer/" />
</operationallayers>
... View more
08-23-2013
12:14 PM
|
0
|
0
|
436
|
POST
|
The 'No Results Found' message keeps popping up when after identifying features. Results are returned (see attached image), but the message keeps popping up. If I remove a record it will update the results and display the number of records found. [ATTACH=CONFIG]26931[/ATTACH] Due to the thread text length limit, I could only included certian sewer layers. <?xml version="1.0" ?> <!-- encoding="UTF-8" --> <configuration> <identifylayeroption>visible</identifylayeroption> <identifytolerance>10</identifytolerance> <defaultzoomscale>5000</defaultzoomscale> <keepidentifyactive>true</keepidentifyactive> <returngeometryforzoom>true</returngeometryforzoom> <enablelineselect>true</enablelineselect> <enableextentselect>true</enableextentselect> <enablepolyselect>true</enablepolyselect> <enablecircleselect>true</enablecircleselect> <enableellipseselect>true</enableellipseselect> <enablemouseovergraphicsinfo>false</enablemouseovergraphicsinfo> <enablemouseoverrecordinfo>true</enablemouseoverrecordinfo> <enablegraphicclickinfo>true</enablegraphicclickinfo> <usemaptime>false</usemaptime> <infoautoclosemilliseconds>2000</infoautoclosemilliseconds><!-- 2 seconds --> <autoactivatedtool>mappoint</autoactivatedtool><!-- possible values are extent or polygon or mappoint or polyline or nothing --> <excludebasemaps>true</excludebasemaps> <disablepopuplinks>false</disablepopuplinks> <disablelayerdropdown>false</disablelayerdropdown> <disablealllayerschoice>false</disablealllayerschoice> <replacenullswithemptystring>true</replacenullswithemptystring> <labels> <zoom2message>Click to Zoom to Point</zoom2message> <identifylabel>Identify</identifylabel> <resultslabel>Results</resultslabel> <descriptionlabel>Use the identify tool to identify features on the map:</descriptionlabel> <pointlabel>Identify by Point</pointlabel> <linelabel>Identify by Polyline</linelabel> <rectlabel>Identify by Rectangle</rectlabel> <polylabel>Identify by Polygon</polylabel> <circlelabel>Identify by Circle</circlelabel> <ellipselabel>Identify by Ellipse</ellipselabel> <clearlabel>Clear</clearlabel> <loadinglabel>Loading...</loadinglabel> <removeresultmessage>Remove Result</removeresultmessage> <idfrom>Identify From</idfrom> <noresultsfoundlabel>No Results Found</noresultsfoundlabel> <resultsfoundlabel>Results Found</resultsfoundlabel> <alllayers>All Layers</alllayers> <layersremaining>layers remaining:</layersremaining> </labels> <useproxy><!-- Enter the label of the MapService from the main config.xml --> <!--<proxymapservice label="Imagery" /> <proxymapservice label="Streets" /> --> </useproxy> <!-- Sewer Layers --> <layers onlythese="true"> <!-- <excludelayer name="AerialHybrid_2009" /> --> <!-- <excludelayer name="AerialHybrid_2011" /> --> <!-- <excludelayer name="AerialLayer_2009" /> --> <!-- <excludelayer name="AerialLayer_2011" /> --> <!-- <excludelayer name="BaseLayers" /> --> <!-- <excludelayer name="Routes" /> --> <!-- <excludelayer name="Notifications" /> --> <!-- <excludelayer name="CostSharingLayers" /> --> <layer> <name>Sewer Manhole</name> <id>11</id> <url>http://server/svr/rest/services/UtilityLayers/MapServer</url> <fields all="false"> <field name="Rim elevation" /> <field name="As-built #" /> <field name="As-built link" popuponly="true" /> <field name="Manhole # (as-built)" /> <field name="Status" /> <field name="Owned and maintained by" /> <field name="Comments" /> </fields> <layer> <name>Sewer Tee, Tap or Cross</name> <id>18</id> <url>http://server/svr/rest/services/UtilityLayers/MapServer</url> <fields all="false"> <field name="Type of fitting" /> <field name="Size" /> <field name="Material" /> <field name="As-built #" /> <field name="As-built link" popuponly="true" /> <field name="Status" /> <field name="Owned and maintained by" /> <field name="Comments" /> </fields> <links> <link includeinresults="false" field="As-built link" alias="Copy As-built" tooltip="Copy As-built"> <linkprefix></linkprefix> <linksuffix></linksuffix> <iconfield></iconfield> <iconprefix></iconprefix> <iconsuffix>assets/images/dwgIcon.png</iconsuffix> </link> </links> <zoomscale>15000</zoomscale> <forcescale>true</forcescale> </layer> <layer> <name>Sewer Locate Wire</name> <id>20</id> <url>http://server/svr/rest/services/UtilityLayers/MapServer</url> <fields all="false"> <field name="Type of locate device" /> <field name="As-built #" /> <field name="As-built link" popuponly="true" /> <field name="Owned and maintained by" /> <field name="Comments" /> </fields> <links> <link includeinresults="false" field="As-built link" alias="Copy As-built" tooltip="Copy As-built"> <linkprefix></linkprefix> <linksuffix></linksuffix> <iconfield></iconfield> <iconprefix></iconprefix> <iconsuffix>assets/images/dwgIcon.png</iconsuffix> </link> </links> <zoomscale>15000</zoomscale> <forcescale>true</forcescale> </layer> <layer> <name>Gravity Main</name> <id>29</id> <url>http://server/svr/rest/services/UtilityLayers/MapServer</url> <fields all="false"> <field name="Size" /> <field name="Material" /> <field name="Rating of pipe" /> <field name="Upstream Invert" /> <field name="Downstream Invert" /> <field name="As-built #" /> <field name="As-built link" popuponly="true" /> <field name="Status" /> <field name="Owned and maintained by" /> <field name="Comments" /> </fields> <links> <link includeinresults="false" field="As-built link" alias="Copy As-built" tooltip="Copy As-built"> <linkprefix></linkprefix> <linksuffix></linksuffix> <iconfield></iconfield> <iconprefix></iconprefix> <iconsuffix>assets/images/dwgIcon.png</iconsuffix> </link> </links> <zoomscale>15000</zoomscale> <forcescale>true</forcescale> </layer> <layer> <name>Force Main</name> <id>32</id> <url>http://server/svr/rest/services/UtilityLayers/MapServer</url> <fields all="false"> <field name="Size" /> <field name="Material" /> <field name="Rating of pipe" /> <field name="As-built #" /> <field name="As-built link" popuponly="true" /> <field name="Status" /> <field name="Owned and maintained by" /> <field name="Comments" /> </fields> <links> <link includeinresults="false" field="As-built link" alias="Copy As-built" tooltip="Copy As-built"> <linkprefix></linkprefix> <linksuffix></linksuffix> <iconfield></iconfield> <iconprefix></iconprefix> <iconsuffix>assets/images/dwgIcon.png</iconsuffix> </link> </links> <zoomscale>15000</zoomscale> <forcescale>true</forcescale> </layer> <!-- End of Sewer Layers --> </layers> <symbols> <simplefillsymbol color="0x448ccb" alpha="0.4" style="solid"> <outline color="0x448ccb" alpha="0.8" width="2" /> </simplefillsymbol> <simplemarkersymbol style="circle" size="12" color="0x448ccb" alpha="0.8" xoffset="0" yoffset="0" angle="0"> <outline style="solid" color="0xffffff" alpha="0.8" width="1" /> </simplemarkersymbol> <picturemarkersymbol url="assets/images/i_info.png" height="30" width="30" xoffset="0" yoffset="0" /> <simplelinesymbol color="0x448ccb" alpha="0.8" width="2" /> </symbols> </configuration>
... View more
08-23-2013
11:05 AM
|
0
|
17
|
1301
|
POST
|
Daniel, I have no problem at all getting a polyline layer to show results upon searching that layer. See attached image. [ATTACH=CONFIG]26831[/ATTACH] I found a solution /workaround for the issue. Instead of setting the transparency to 100%, just change the color to 'no color.' I did go back and re-download both the master and develop branches and neither worked, which leads me to believe it�??s not a Flex issue. Regardless it�??s fixed so I can proceed. Thank you.
... View more
08-20-2013
01:04 PM
|
0
|
0
|
582
|
POST
|
Well.. that's odd. I just downloaded this package from GitHub yesterday (master). I'll try downloading it again.
... View more
08-20-2013
11:52 AM
|
0
|
0
|
582
|
POST
|
Robert, I tried your suggestion and it did not work, it's ignoring the xml defined parameters. I went back and published a new service with the same layers, but duplicated it and created different variations: original - with 100% transparency set, another without transparency set and one normal with only a scale reference set. I pushed it and used it as an operational layer and only the ones without transparency worked. I'll continue to look around in the code to see what could be different from the 2.5 version. Thank you, Daniel Daniel, Whether the layer is 100% transparent or not even added as an operational layer to the map the search should still add results to the map... Try adding all the default symbols: <symbols>
<simplefillsymbol color="0x00ffff" alpha="0.5">
<outline color="0xff0000" alpha="0.8" width="2" />
</simplefillsymbol>
<picturemarkersymbol url="assets/images/i_search.png" height="30" width="30" xoffset="0" yoffset="0" />
<simplelinesymbol color="0xff0000" alpha="0.8" width="2" />
</symbols>
... View more
08-20-2013
11:08 AM
|
0
|
0
|
582
|
POST
|
Thank you Robert that worked it's now showing back up in the results list. What about for features that are set as 100% transperant? It still doesn't display those symbols on the map (but it does show in the list); I've only tested polylines. Daniel, Wow, I had not noticed that... Well If you are using the source code then there is a simple fix for this: Make the changes in red in the SearchWidget.mxml private function createSearchResults(featureSet:FeatureSet, queryFields:XMLList):ArrayCollection
{
var result:ArrayCollection = new ArrayCollection();
var layerDetails:LayerDetails = queryLayer.layerDetails;
if (!queryTitleField)
{
queryTitleField = featureSet.displayFieldName;
}
for each (var graphic:Graphic in featureSet.features)
{
var resultAttributes:ResultAttributes =
ResultAttributes.toResultAttributes(queryFields, graphic, featureSet, queryLayer, layerDetails, widgetTitle, queryTitleField, queryLinkField, queryLinkAlias);
setDefaultGraphicSymbol(graphic);
var searchResult:ResultItem = new ResultItem(graphic, resultAttributes);
result.addItem(searchResult);
var infoWindowRenderer:ClassFactory = new ClassFactory(PopUpRenderer);
infoWindowRenderer.properties = { popUpInfo: configurePopUpInfo(resultAttributes)};
graphic.infoWindowRenderer = infoWindowRenderer;
}
resultFeatureLayer.outFields = queryLayer.outFields;
resultFeatureLayer.visible = true;
resultFeatureLayer.featureCollection = new FeatureCollection(featureSet, layerDetails);
switch (featureSet.geometryType)
{
case Geometry.MAPPOINT:
{
resultFeatureLayer.renderer = new SimpleRenderer(resultMarkerSymbol);
break;
}
case Geometry.POLYLINE:
{
resultFeatureLayer.renderer = new SimpleRenderer(resultLineSymbol);
break;
}
case Geometry.POLYGON:
{
resultFeatureLayer.renderer = new SimpleRenderer(resultFillSymbol);
break;
}
}
return result;
}
private function setDefaultGraphicSymbol(graphic:Graphic):void
{
switch (graphic.geometry.type)
{
case Geometry.MAPPOINT:
{
graphic.symbol = resultMarkerSymbol;
break;
}
case Geometry.POLYLINE:
{
graphic.symbol = resultLineSymbol;
break;
}
case Geometry.POLYGON:
{
graphic.symbol = resultFillSymbol;
break;
}
}
}
... View more
08-20-2013
09:02 AM
|
0
|
0
|
582
|
POST
|
I'm in the process of updating our Flex 2.5 to 3.4, but after deploying the search widget (out-of-the-box) the graphic results are not showing in the result list or on the map. It will work in 2.5, but not in 3.3 or 3.4, I thought something may have changed. The sample on Esri's site doesn't work either, so is this an issue or the new norm? The street center line is set to 100% transparency. Thank you, Daniel [ATTACH=CONFIG]26818[/ATTACH] <?xml version="1.0" ?> <configuration> <initialview>text</initialview> <layers> <layer> <name>Clay County Road</name> <url>http://server/server/rest/services/Layers/MapServer/102</url> <expression>upper(FullName) LIKE upper('%[value]%')</expression> <textsearchlabel>Search by Street Name [ Example: Old Jennings Rd or Jennings ]</textsearchlabel> <titlefield>FullName</titlefield> <linkfield></linkfield> <fields all="false"> <field name="FullName" alias="Street" /> </fields> <orderbyfields>FullName ASC</orderbyfields> </layer> <layer> <name>Bradford County Road</name> <url>http://server/server/rest/services/Layers/MapServer/103</url> <expression>upper(NAME) LIKE upper('%[value]%')</expression> <textsearchlabel>Search by Street Name [ Example: State Road 100 or 100 ] </textsearchlabel> <titlefield>NAME</titlefield> <linkfield></linkfield> <fields all="false"> <field name="NAME" alias="Street" /> </fields> <orderbyfields>NAME ASC</orderbyfields> </layer> </layers> <zoomscale>10000</zoomscale> <symbols> <simplelinesymbol width="4" /> </symbols> </configuration> <!-- See Search widget documentation at http://links.esri.com/searchwidget -->
... View more
08-20-2013
06:56 AM
|
0
|
8
|
1277
|
POST
|
Is it possible that the WMX software writes out a template (similar to the Normal.mxt)? All users are not experencing the same issue. When the AOI layer stopped turning on and off in my map, I removed it and closed out of the document completely. After going back into the document the layer was gone (and is still gone). The other users haven't removed their layers, but unchecking the layer (to turn off) only works half the time. I was messing with it last night and got to thinking that it must have written out my configuration somewhere which is possibly why I'm having issues. WMX has only been in place for a few weeks and we've been making some configuration changes (nothing involving the AOI) so I thought maybe a file became corrupted. Thank you again, Daniel
... View more
07-25-2013
03:36 AM
|
0
|
0
|
403
|
POST
|
Hi Daniel, The AOI should appear as a graphic in the map, but it should show in the TOC as a graphic that you can turn on and off. Is this not the case? In the advanced options of Launch ArcMap there is a 'Show AOI in MXD' that you can check on or off to suppress the graphic if you user base does not want to see it. Cheers, Michael Thanks Michael. I tried what you suggested, even went through and made adjustments to the StepTypes in my Workflow and it's still not showing up in my TOC. The end-users would like to be able to toggle the layer on/off. So far I've done the following: Replaced the .mxt Deleted and recreated the template .mxd Adjusted the settings to store in db and to view from the file location Checked and Unchecked 'Show AOI in MXD' With each adjustment I restarted the application. I'm running out of ideas, any other suggestions? Thank you, Daniel
... View more
07-24-2013
07:01 PM
|
0
|
0
|
403
|
POST
|
Should the AOI be listed in the table of contents (enabling the abilitiy to turn on and off the feature)? I'm pretty sure it was previously listed in the TOC, but now it's not. It only appears as a graphic (which can be deleted), but the users would prefer to turn it off. Is this a bug and does anyone now how to fix it? I've tried recreating the template maps, but it did not fix the issue. Thank you.
... View more
07-18-2013
06:55 AM
|
0
|
5
|
3062
|
POST
|
Hi Daniel, Clean up does not post the child version back to the parent, it deletes the current job version, job map document and job attachments based on the arguments specified. We will be posting a model builder example to http://resources.arcgis.com/en/communities/workflow-manager/ this month though that can be used to post the job version back to the parent, so please keep an eye out for that. Cheers, Michael Great, thank you.
... View more
07-16-2013
08:31 AM
|
0
|
0
|
749
|
POST
|
Hi, I'm building some WFM queries for different job types and would like to show the 'Full Name' instead of the 'User Name' (e.g., JOD123). The 'Assign To' field contains group names as well (e.g. Techs or QAQC), so when it generates the query it leaves out. I could change all my steps to point directly to the assigned user (to remove the group from the Assigned To field), but in the event that I would need to assign another user to a job; I would be forced to go through each step and change to the new user. Has anyone attempted a join query through the Workflow Manager and would be willing provide some assistance? Thank you, Daniel
SELECT JTX_JOBS.JOB_ID,gis.GISDC.WMX_ASBUILT_INFO.DOC_NUM,JTX_PRIORITY.NAME,JTX_JOBS.JOB_NAME,JTX_JOBS.CREATED_DATE,JTX_JOBS.ASSIGNED_TO,JTX_JOBS.PERC_COMPLETE,JTX_STATUS.CAPTION,gis.GISDC.WMX_ASBUILT_INFO.QAQC_DATE
FROM JTX_JOBS,gis.GISDC.WMX_ASBUILT_INFO,JTX_PRIORITY,JTX_STATUS
WHERE gis.GISDC.WMX_ASBUILT_INFO.JOB_ID=JTX_JOBS.JOB_ID AND JTX_PRIORITY.PRIORITY_LEVEL=JTX_JOBS.PRIORITY AND JTX_STATUS.ID=JTX_JOBS.STATUS
... View more
07-10-2013
09:55 AM
|
0
|
0
|
1619
|
POST
|
Question, during the 'CleanUp' step is it posting changes to the parent version or is it only deleting the child version that was created? Thank you, Daniel
... View more
07-09-2013
09:45 AM
|
0
|
0
|
749
|
POST
|
Any luck? I was looking to accomplish the same task. Reading the help documentation, it doesn't appear possible 'out-of-the-box', but I'm still holding out hope.
... View more
06-18-2013
03:22 AM
|
0
|
0
|
275
|
POST
|
This is a great enhancement, I do have a problem though, I was able to get some layers to be excluded but others wont work. Here is a snippet from the config file: <excludelayerfromlegend>Internal Webmap/0</excludelayerfromlegend> <excludelayerfromlegend>Internal Webmap/1</excludelayerfromlegend> <excludelayerfromlegend>Internal Webmap/5</excludelayerfromlegend> <excludelayerfromlegend>Internal Webmap/12</excludelayerfromlegend> <excludelayerfromlegend>Internal Webmap/30</excludelayerfromlegend> <excludelayerfromlegend>Internal Webmap/50</excludelayerfromlegend> <excludelayerfromlegend>Internal Webmap/51</excludelayerfromlegend> <excludelayerfromlegend>Internal Webmap/52</excludelayerfromlegend> Layers 12-32 are all under the group Parcels in my mxd. So Layer id 12 is that layer. When I tried to do layer id 30, it didn't actually remove the layer from the legend, so I added 12 and of course that did eliminate 30 but I didn't really want to remove everything under 12. Does that make any sense? An excerpt from my REST Services Directory is below. Layers 13-28 are all annotation layers. [ATTACH=CONFIG]23560[/ATTACH] I'm having the same issue with layers being grouped (inside of a group). I was initially hoping it was just the way I had the XML configured, but that doesn't appear to be the case. Does anyone know of a way to include the child layers for the subgroups? I have Sewer Layers (group) -> Gravity Main (group) with two individual sublayers. Thank you
private function getLegendOptions():LegendOptions
{
var result:LegendOptions = new LegendOptions();
var legendLayers:Array = [];
for each (var layer:Layer in hostBaseWidget.map.layers)
{
if (layer.name.indexOf("hiddenLayer_") == -1 && !(layer is GraphicsLayer && !(layer is FeatureLayer)))
{
var isBaseMapLayer:Boolean = false;
for each (var baseMapLayer:Object in hostBaseWidget.configData.basemaps)
{
if (baseMapLayer.label == layer.id)
{
isBaseMapLayer = true;
break;
}
}
if (!isBaseMapLayer)
{
// filter the layer through the list of names of excluded layers.
var isExcludedLayer:Boolean = false;
var excludedSublayers:Array = [];
for each (var excludeName:String in excludeLayersFromLegend)
{
if (excludeName == layer.id)
{
isExcludedLayer = true;
break;
}
else
{
const index:int = excludeName.indexOf("/");
if (index != -1)
{
const layerName:String = excludeName.substring(0, index);
const sublayerId:Number = Number(excludeName.substring(index + 1));
if (layerName == layer.id)
{
excludedSublayers.push(sublayerId);
}
}
}
}
if (!isExcludedLayer)
{
var legendLayer:LegendLayer = new LegendLayer();
legendLayer.layerId = layer.id;
if ((layer is ArcGISDynamicMapServiceLayer || layer is ArcGISTiledMapServiceLayer) && excludedSublayers.length)
{
var includedSublayers:Array = [];
const layerInfos:Array = layer is ArcGISDynamicMapServiceLayer ? ArcGISDynamicMapServiceLayer(layer).layerInfos : ArcGISTiledMapServiceLayer(layer).layerInfos;
for each (var layerInfo:LayerInfo in layerInfos)
{
if (excludedSublayers.indexOf(layerInfo.layerId) == -1)
{
includedSublayers.push(layerInfo.layerId);
}
}
legendLayer.subLayerIds = includedSublayers;
}
legendLayers.push(legendLayer);
}
}
}
}
result.legendLayers = legendLayers;
return result;
}
... View more
05-30-2013
12:48 PM
|
0
|
0
|
227
|
Title | Kudos | Posted |
---|---|---|
1 | 05-03-2013 06:18 AM | |
1 | 05-07-2015 12:58 PM | |
1 | 05-07-2015 10:50 AM |
Online Status |
Offline
|
Date Last Visited |
01-30-2023
06:36 PM
|