POST
|
Hello DiegoDíazDoce, I am suffering the same issue with setting the DefExpression (in my case on three featurelayers). I am having trouble coming up with a solution. Would you mind sharing your code?
... View more
01-03-2024
01:18 PM
|
0
|
1
|
294
|
BLOG
|
CLC, Thank you for creating and sharing this tutorial. It helped me get over some of the technology humps I have been struggling with. Bob
... View more
12-31-2023
07:25 AM
|
0
|
0
|
145
|
DOC
|
Hello Jeffery Thompson,
This is a THANK YOU email for sharing your knowledge and hard work with the GIS community. This example of URL Parameter sharing with ExpB is just what I have been trying to do for awhile now. What might seem simple to one of us can be confusing for others. The mixture of all of these technologies is driving me nuts. The urlParameters example got me over the hump.
Thanks Again,
Bob
... View more
12-31-2023
07:21 AM
|
1
|
0
|
520
|
POST
|
Hey guys; Basic question about the website: ArcGIS Code Sharing I went to upload some code and it appears that I cannot log in to Upload code. The window path shows the point of access as below: codesharing.arcgis.com/AGOLResponse.html Also, the roll-out article about this site seems to suggest that if you are not an AGOL member you cannot upload (see below link). ArcGIS Code Sharing Because the ArcGIS Code Sharing site is part of ArcGIS Online: "Because the ArcGIS Code Sharing site is part of ArcGIS Online..." Am I to understand that if I do not have an AGOL account, I cannot Upload code? Bob
... View more
10-22-2019
08:00 AM
|
0
|
0
|
290
|
POST
|
I am in a workplace where I can not use AGOL. I feel like ESRI has closed its doors to me as a GIS Manager and developer of Web tools.
... View more
07-31-2015
09:22 AM
|
2
|
0
|
909
|
POST
|
Ms. Rebecca a close second. Here efforts to help keep us informed is much appreciated. Bob
... View more
05-04-2015
07:09 AM
|
0
|
0
|
422
|
POST
|
Where did all the community developed tools/widgets go? I have posted up ArcMapAddIns/widgets/VB code/DLLs. I cannot find any of what I have contributed to the community. I also cannot find anybody elses contributions. Like Robert Scheitlin Widgets. I would also like an explanation of why it is getting harder and harder to find free solutions developed and shared by the GIS community. Is this intentional or an un-intended consequence of modern social networks? Bob B (old guy)
... View more
12-01-2014
09:16 AM
|
0
|
3
|
4757
|
POST
|
So.....Am I so far off base that my question is not worth responding to? Same problem exists.
... View more
05-30-2012
12:01 PM
|
0
|
0
|
259
|
POST
|
Hey guys; I am working on a dashboard scenario. I have created one Widget which is a series of radio buttons that turn on/off other widgets (the idea being that one click of the radiobutton will turn off all open widgets except for the radiobuttion selected widget. This process is working just fine accept.... After clicking through the radiobuttons, one widget (which has 2 <viewer:WidgetTemplates) does not shut down all the way. The layers are removed and one of the WidgetTemplates gets closed, but the other WidgetTemplate is staying open. Anybody got any ideas or a solution to this? <viewer:BaseWidget xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
xmlns:viewer="com.esri.viewer.*"
widgetConfigLoaded="init()">
<fx:Script>
<![CDATA[
//this function called when the widget's configuration is loaded
import com.esri.viewer.AppEvent;
import com.esri.viewer.ViewerContainer;
import mx.collections.ArrayCollection;
import mx.collections.ArrayList;
import mx.controls.Alert;
import mx.utils.StringUtil;
import spark.collections.Sort;
import spark.collections.SortField;
import spark.components.RadioButton;
import spark.components.RadioButtonGroup;
[Bindable]
private var queryResultAC:ArrayCollection;
[Bindable]
private var widgetItems:ArrayCollection = new ArrayCollection();
[Bindable]
private var widgetItemsLbl:ArrayCollection = new ArrayCollection();
[Bindable]
private var rbtnLabelList:ArrayList;
private function init():void
{
if (configXML) // checking for valid content in the configuration file
{
var rbList:XMLList = configXML..RadioButton;
rbtnLabelList = new ArrayList();
for (var i:int = 0; i < rbList.length(); i++)
{
rbtnLabelList.addItem(rbList.label);
}
// lbl.text = configXML.content || getDefaultString("helloContent");
}
// populateLoadedWidgets();
getAllWidgetLabels();
}
private function populateLoadedWidgets():void
{
widgetItems.removeAll();
for each (var widgetId:Number in ViewerContainer.getInstance().widgetManager.getAllLoadedWidgetIds())
{
var object:Object = new Object();
object.id = widgetId;
object.label = ViewerContainer.getInstance().widgetManager.getWidget(widgetId).widgetTitle;
widgetItems.addItem(object);
//Alert.show(object.id + " " + object.label);
}
}
private function getAllWidgetLabels():void
{
widgetItemsLbl.removeAll();
for (var i:uint = 0; i < configData.widgets.length; i++)
{
var object:Object = new Object();
object.label = configData.widgets.label;
object.id = configData.widgets.id;
widgetItemsLbl.addItem(object);
}
}
private function clearWidgets():void
{
populateLoadedWidgets();
//getAllWidgetLabels()
//Alert.show(String(widgetItems.length));
for each (var widgetObj:Object in widgetItems)
{
Alert.show(widgetObj.id + " " + widgetObj.label);
if (widgetObj.label != "DPW Dashboard")
{
AppEvent.dispatch(AppEvent.WIDGET_CLOSE, widgetObj.id);
}
}
}
private function getWidgets(event:Event):void
{
var radio:RadioButton = RadioButton(event.currentTarget);
var strWidget:String = String(radio.getRepeaterItem());
var widgetLbl:String;
var widgetID:Number;
var CurConProjID:Number;
var WOID:Number;
var LegID:Number;
for each (var widgetObj:Object in widgetItemsLbl)
{
// Alert.show(widgetObj.label);
if (widgetObj.label == strWidget)
{
AppEvent.dispatch(AppEvent.WIDGET_RUN, widgetObj.id);
}
}
}
]]>
</fx:Script>
<viewer:WidgetTemplate id="DPW_DB"
fontSize="16"
width="300" height="300">
<mx:VBox id="vb" horizontalGap="60">
<mx:Repeater id="rbtnRepeater"
dataProvider="{rbtnLabelList}">
<s:RadioButton groupName="Widgets"
id="rbtns"
label="{rbtnRepeater.currentItem}"
width="100%"
fontSize="16"
click="clearWidgets();getWidgets(event)"/>
</mx:Repeater>
</mx:VBox>
</viewer:WidgetTemplate>
</viewer:BaseWidget>
... View more
05-03-2012
08:18 AM
|
0
|
2
|
2609
|
POST
|
Hello, I have written a widget that loads a <esri:featurelayer> into the map. I would like the widget to be able load this <esri:featurelayer> as a viewer <layer>, thus using some of the defined methods such as popUpconfig. Any advise/help/code direction would be appreciated. Bob
... View more
02-24-2012
09:49 AM
|
0
|
0
|
228
|
Title | Kudos | Posted |
---|---|---|
2 | 07-31-2015 09:22 AM |
Online Status |
Offline
|
Date Last Visited |
01-05-2024
05:28 PM
|