In ESRI released Flexviewer, the Toolbar is always on the top of UI and in horizontal layout. My boss requests me to investigate if the toolbar can be arranged in vertical layout on the right panel. In the code gallery, I did not see any sample there. If you know some sources, please hint me. Thanks.
↧
Toolbar's customization
↧
Flex Viewer 3.2 GP Widget upload using 10.1.1 returns 'token required'
Flex Viewer 3.2
installed on ArcGIS Server 10.1.1
Secured services; map services access fine, adding and configuring the GP service to the widget goes fine
When attempting to navigate to a local file for upload, after file is selected, the error 'token required' is returned.
GP service & map services secured with the same authentication credentials; no proxy used in the application; all other secured services are accessible as expected.
installed on ArcGIS Server 10.1.1
Secured services; map services access fine, adding and configuring the GP service to the widget goes fine
When attempting to navigate to a local file for upload, after file is selected, the error 'token required' is returned.
GP service & map services secured with the same authentication credentials; no proxy used in the application; all other secured services are accessible as expected.
↧
↧
Config.XML: Widget Height and Width Elements Randomly Defaulting
Over the past few months, I've manually setting the height and width attributes for the eSearch widget in my Config.XML and they just disappear at some point - the attribute tags just disappear, and the window defaults to its original size, which is too small and I get a scroll bar.
Here's my entire widget container. I just added back in (for the 5th time or so), the height and width for the eSearch widget. I'm not sure what is making this reset. Any clues?
Here's my entire widget container. I just added back in (for the 5th time or so), the height and width for the eSearch widget. I'm not sure what is making this reset. Any clues?
Code:
<widgetcontainer layout="float"><widget url="widgets/eSearch/eSearchWidget.swf" config="widgets/eSearch/eSearchWidget_1.xml" label="Search" icon="assets/images/i_search.png" preload="open" left="80" top="82" height="280" width="380" /><widget url="widgets/Identify/IdentifyWidget.swf" config="widgets/Identify/IdentifyWidget_1.xml" label="Identify" icon="widgets/Identify/assets/images/i_info.png" left="80" top="82" /><widget url="widgets/Draw/DrawWidget.swf" config="widgets/Draw/DrawWidget.xml" label="Draw and Measure" icon="assets/images/i_draw2.png" left="80" top="125" /><widget url="widgets/Edit/EditWidget.swf" config="widgets/Edit/EditWidget_1.xml" label="Redline" icon="assets/images/i_edit.png" /><widget url="widgets/Bookmark/BookmarkWidget.swf" config="widgets/Bookmark/BookmarkWidget_1.xml" label="Bookmark" icon="assets/images/i_bookmark.png" /><widget url="widgets/TOC/TOCWidget.swf" config="widgets/TOC/TOCWidget_1.xml" label="Layer List" icon="assets/images/i_layers.png" left="80" top="175" /><widget url="widgets/Print/PrintWidget.swf" config="widgets/Print/PrintWidget.xml" label="Print" icon="assets/images/i_print.png" /></widgetcontainer>
↧
eSearch: Zoom to Related Results of Table?
I have a table that contains transformer data. It has a many-to-one relate with a point feature class for transformer banks. I'm using eSearch to run queries on the table. I got it to recognize the relate with the transformer banks and report that data in the grid. Obviously, you can't zoom to a table record, but I'm wondering if I can get it to zoom to the related results in the transformer banks feature class which is in a map service in the project. When I click on it, nothing happens. usegeometry is set to true, but it didn't seem to have an effect.
Code:
<table><definitionexpression /><enableexport>true</enableexport><enableprintgrid title="Selected Transformers">true</enableprintgrid><name>Transformer</name><url>http://SNEW-GIS.NORWALK2NDWATER.COM/ArcGIS/rest/services/Operational_Layers/Operational_Electric/MapServer/37</url><expressions><expression alias="Transformer #" textsearchlabel="Search Transformers by Number:"><values><value prompt="Example: 1671">facilityID like '[value]'</value></values></expression><expression alias="Street" textsearchlabel="Search Transformers by Street:"><values><value prompt="Example: Concord">street like '%[value]%'</value></values></expression><expression alias="Pole # or Manhole #" textsearchlabel="Search Transformers by Pole or Manhole Number:"><values><value prompt="Examples: 838, MH21">PoleNum like '[value]'</value></values></expression><expression alias="kVA in Stock" textsearchlabel="Search Transformer Stock by kVA:"><values><value prompt="Example: 150">kva = [value] AND status like 'STOCK'</value></values></expression><expression alias="kVA in Service" textsearchlabel="Search Transformers in Service by kVA:"><values><value prompt="Example: 150">kva = [value] AND status like 'INSERV'</value></values></expression><expression alias="Circuit" textsearchlabel="Search Transformers by Circuit"><values><value prompt="Examples: SS#1, 1B04" userlist="SS#1,SS#2,SS#3,SS#7,SS#8,SS#10,1B04,1B05,1B08">Circuit like '[value]'</value></values></expression></expressions><titlefield>facilityID</titlefield><fields all="false"><field name="facilityID" gridfield="true" /><field name="Circuit" gridfield="true" /><field name="street" gridfield="true" sort="asc|1|string" /><field name="streetNum" gridfield="true" /><field name="poleNum" gridfield="true" sort="asc|2|string" /><field name="kva" gridfield="true" /><field name="xfmrType" gridfield="true" /><field name="status" gridfield="true" /><field name="subtypeCode" gridfield="true" /><field name="retiredDate" gridfield="true" dateformat="MM/DD/YYYY" /><field name="pcbDate" gridfield="true" dateformat="MM/DD/YYYY" /><field name="recDate" gridfield="true" dateformat="MM/DD/YYYY" /><field name="instDate" gridfield="true" dateformat="MM/DD/YYYY" /><field name="inServiceDate" gridfield="true" dateformat="MM/DD/YYYY" /><field name="outServiceDate" gridfield="true" dateformat="MM/DD/YYYY" /><field name="manufacturer" gridfield="true" /><field name="removalDate" gridfield="true" dateformat="MM/DD/YYYY" /><field name="serialNumber" gridfield="true" /><field name="phases" gridfield="true" /><field name="phase" gridfield="true" /><field name="impedance" gridfield="true" numberformat="3|,|." /><field name="price" gridfield="true" /><field name="priVoltsLo" gridfield="true" /><field name="priVoltsHi" gridfield="true" /><field name="secVoltsLo" gridfield="true" /><field name="secVoltsHi" gridfield="true" /><field name="mfgDate" gridfield="true" /><field name="pcb" gridfield="true" /><field name="company" gridfield="true" /><field name="config" gridfield="true" /><field name="primKv" gridfield="true" /><field name="comments" gridfield="true" /><field name="transformerBankID" visible="false" /></fields><links /><relates><relate id="2" label="Transformer Bank" enableexport="true" icon="widgets/eSearch/assets/images/i_relate.png" printitle="Transformer / Bank" enableprintgrid="true"><fields all="false"><field name="facilityID" /><field name="subtypeCode" /><field name="mounting" /><field name="Circuit" /></fields><zoomscale usegeometry="true" zoompercent="1.6" /></relate></relates><queryattachments>false</queryattachments><autoopendatagrid>true</autoopendatagrid></table>
↧
Replace full Url in pop up to just one or two words
In my field "URL_Link" I have a full url for the attributes (ex: "http://www.website.com/acct123....")
I am also trying to use the KEY VALUE instead of CUSTOM to configure my list of attributes to display in the pop up. I did not have a problem with the CUSTOM version however I could not get everything to align so I decided to go back to using the KEY VALUES. I would like to only display "Real Property Link" rather than the very lengthy url address stored in my fields. Is there a way to do this without having to buy flash builder? I feel like I am close but it's not working out.
I am also trying to use the KEY VALUE instead of CUSTOM to configure my list of attributes to display in the pop up. I did not have a problem with the CUSTOM version however I could not get everything to align so I decided to go back to using the KEY VALUES. I would like to only display "Real Property Link" rather than the very lengthy url address stored in my fields. Is there a way to do this without having to buy flash builder? I feel like I am close but it's not working out.
Code:
<?xml version="1.0" ?>
<configuration>
<title>{HOUSE_NUMBER} {STREET_NAME} {STREET_TYPE}
{CITY}, {ZIP5}</title>
<fields>
<field name="ACCOUNT" alias="Account" visible="true"/>
<field name="ASSESS_DIST" alias="Assessment District" visible="true"/>
<<field name="URL_Link" alias="Property" visible="true" <a href="{URL_Link}"> Real Property Link</a>/>
</fields>
<showattachments>false</showattachments>
<showrelatedrecords>true</showrelatedrecords>
</configuration>
↧
↧
LayerListWidget - Order of the operational layers
In the config.xml, I loaded the operational layers in the sequence of image layers first and then feature layers followed in order to allow feature layers are above the image layers. In the LayerListWidget, it displays the first loaded layers (image layers here) on the top. How can I change the sequence oppositely? Thanks.
↧
How to Add Custom Graphics Layer in TOC in ArcGIS Viewer
Hi,
Can any one help to add custome graphics layer in TOC in ArcGISviewer? And How can i set graphics layer's legend at run time?
Regards,
Mamoon
Can any one help to add custome graphics layer in TOC in ArcGISviewer? And How can i set graphics layer's legend at run time?
Regards,
Mamoon
↧
PanelType Scroll
In the new version 3.2 ArcGIS Viewer for Flex in FlashBuilder I implemented widgetcontainer paneltype = "right".
When ArcGIS Viewer application opens on a smaller screen, such 12280x800 px., No possibility scroll.
Please help where in the code can add or remodel that appears scroll.
Picture shows paneltype_Full.jpg look full screen - OK
Picture shows paneltype_SmallScrean.jpg look at a smaller resolution - not OK
Thanks
Greeting,
Edin Z.
Code:
<widgetcontainer paneltype="right" initialstate="open" size="330">
<widget label="Lista Layer-a"
icon="assets/images/i_layers.png"
config="widgets/TOC/TOCWidget.xml"
url="widgets/TOC/TOCWidget.swf"/>
<widget label="Identifikacija"
icon="assets/images/i_info.png"
config="widgets/Identify/MobilnaTehBaza_IdentifyWidget.xml"
url="widgets/Identify/IdentifyWidget.swf"/>
<widget label="Pretraživanje"
icon="assets/images/i_search.png"
config="widgets/eSearch/BhMobile_eSearchWidget.xml"
url="widgets/eSearch/eSearchWidget.swf"/>
</widgetcontainer>
Please help where in the code can add or remodel that appears scroll.
Picture shows paneltype_Full.jpg look full screen - OK
Picture shows paneltype_SmallScrean.jpg look at a smaller resolution - not OK
Thanks
Greeting,
Edin Z.
↧
eSearch 2.5 relate gives "Fault" error after upgrade to 10.1
Hi Folks
I have a v. 2.5 app with the excellent eSearch widget here:
http://mapper.provplan.org/healthyhousing/
I use the relate function to link basic property info to Deeds records. It was working fine before I upgraded to ArcGIS Server Advanced Enterprise 10.1 from 10.0, now when the user clicks the Relate Records button a tiny window comes up that just says "Fault". The relate works fine in the .mxd. Both the parcel layer and the deeds table are in a single file geodatabase. The service is here:
http://mapper.provplan.org/ArcGIS/re..._0/MapServer/0
Is this just an unavoidable casualty of the ArcGIS Server upgrade? Should I just upgrade to Flex Viewer 3.2? I would prefer not to have to upgrade because the funding ran out for this project but if I have to I will.
Many thanks!
Jim
I have a v. 2.5 app with the excellent eSearch widget here:
http://mapper.provplan.org/healthyhousing/
I use the relate function to link basic property info to Deeds records. It was working fine before I upgraded to ArcGIS Server Advanced Enterprise 10.1 from 10.0, now when the user clicks the Relate Records button a tiny window comes up that just says "Fault". The relate works fine in the .mxd. Both the parcel layer and the deeds table are in a single file geodatabase. The service is here:
http://mapper.provplan.org/ArcGIS/re..._0/MapServer/0
Is this just an unavoidable casualty of the ArcGIS Server upgrade? Should I just upgrade to Flex Viewer 3.2? I would prefer not to have to upgrade because the funding ran out for this project but if I have to I will.
Many thanks!
Jim
↧
↧
eSearch: Relate Results Naming
I'm wondering if it's possible - I'm using the App Builder 3.2 and eSearch 3.22 - to:
- change the tooltip for the relate icon
- change the name on the tab in the grid for the relate results
↧
connect Geoprocessing Widget Result with Chart Widget
Hello dear ESRI Users,
I am currently searching the internet for a solution to connect the geoprocessing widgets output with the chart widget. Both parts work well as they are the only thing I would need is to drop the geoprocessing results into the chart widget as data.
I query a MySQL database with my geoprocessing service and the query resultset should be passed to the chart widget to get displayed nicely.
Dipping into the source code makes me feel quite uncomfortable about coding such a thing myself since my last visit of Flex is long in the past and I am not that experienced with it. Maybe there is a Tool I could drop into my application or some of you have nice tips on how to achieve this.
many thanks, Florian Hoedt
I am currently searching the internet for a solution to connect the geoprocessing widgets output with the chart widget. Both parts work well as they are the only thing I would need is to drop the geoprocessing results into the chart widget as data.
I query a MySQL database with my geoprocessing service and the query resultset should be passed to the chart widget to get displayed nicely.
Dipping into the source code makes me feel quite uncomfortable about coding such a thing myself since my last visit of Flex is long in the past and I am not that experienced with it. Maybe there is a Tool I could drop into my application or some of you have nice tips on how to achieve this.
many thanks, Florian Hoedt
↧
Custom components on server not updating.
I have a custom title window component which is stored in the com.esri.viewer.components directory. I have made some modifications to this component and when I test the modifications locally, everything works as it should. However, after I export release build and copy over the files to the server, only some of my changes are working. I don't want to copy all the contents in the bin-release folder over to the server. The files I copied are: index.html, index.swf, playerProductInstall.swf, and swfobject.js. Am I correct with thinking that any component within the directory stated above should be compiled in the index.swf? I have made similar changes like this in the past and followed the same process as described and everything was fine in the production application.
Do I need to copy over any other files?
Thanks.
Do I need to copy over any other files?
Thanks.
↧
Dynamically Retrieve attribute names of a mapservice layer
For an operational layer from a webservice, how can the attributes of the layer be retrieved dynamically? Thanks.
↧
↧
Query Widget
I have some flex maps I have created, sewer and water. When I made the query widgets for the sewer map, I made them on the type of pipe, i.e. steel, concrete, PVC, etc. When I made the water map, I tried the same queries. For some reason, the PVC pipe can't be queried. I either get an error, or it says there is no results to the query. I tried making another feature class, with a domain assigning PVC as "plastic". I set the query as Material LIKE 'P%', and I still get either the error or no results at all. Am I missing something? This worked beautifully in the sewer map. What am I missing?
Thanks,
Robin
Thanks,
Robin
↧
Print Widget 3.1 Question
Re: Print Widget 3.1 Question
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.
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.
↧
3.2 Attribute Table copy
My users like the Attribute Table but they'd really like to copy data from the Attribute Table and paste it elsewhere. Might I place an enhancement request for this feature?
Alternately I see an Event.COPY event fires on the Attribute Table when a user presses Ctl+C, but now I'm stuck on how to get at the data. How do I access the selected items in an Attribute Table?
Edit: Found the selected items in AttributeTable.featureLayer.selectedFeatures
Alternately I see an Event.COPY event fires on the Attribute Table when a user presses Ctl+C, but now I'm stuck on how to get at the data. How do I access the selected items in an Attribute Table?
Edit: Found the selected items in AttributeTable.featureLayer.selectedFeatures
↧
3.2 Attribute Table resize last column
I've noticed a small issue resizing the last column of an Attribute Table when a horizontal scrollbar is present. Just make an Attribute Table with enough columns to need a horizontal scrollbar, then try to resize the last column. You can't do it. As you pull the column left to widen it the table shrinks as well, making it impossible to stretch the column until the scrollbar is gone.
↧
↧
Widget position altered
I created a widget. It is at bottom-left of the map UI when it pops up. However, if I click a control in the widget, the widget jumps to middle-left of the map interface. How can this happens? Thanks.
↧
WKT in eDraw?
Is it possible to use WKT instead of WKID to reference point units in the eDrawWidget.xml?
Thank you.
Thank you.
↧
Print Widget throws esriJobFailed
Hi everyone, i would appreciate so much your help with this issue. I have published my web page with Print Widget as one of my toolsand it works fine when im inside my LAN, but when i run the Widget from any other location outside my network, it throws :esriJobFailed, I've seen the process with Fidler and HttpWatch (Firefox) but everything seems to be fine: the urls and the job assigment.
Please someone who could help me with this problem,
Thanks a lot!!
Rinat S.
Please someone who could help me with this problem,
Thanks a lot!!
Rinat S.
↧