|
POST
|
Hi Jason: We're currently working on the next release of the Viewer and API. It should be out before the end of the year, and we're actually aiming for quite a bit sooner than that.
... View more
09-18-2013
09:05 AM
|
0
|
0
|
914
|
|
POST
|
A new Query Tool is now available for the ArcGIS Viewer for Silverlight. The tool allows users of the Application Builder to interactively build queries against ArcGIS Server services, presenting end-users with a simple dialog box that prompts for values to plug into the query. End-users of a configured query tool are prompted to input query values into text boxes, drop-down lists, or both. Results are shown on the map and in the Viewer�??s attribute table. For developer's the tool's full source code is available. To get started using the tool or exploring its implementation, simply download it from ArcGIS Online.
... View more
03-27-2013
09:20 AM
|
0
|
16
|
6948
|
|
POST
|
Version 3.1 of the ArcGIS Viewer for Silverlight is now available for download. This release includes: A Query Related Records tool that allows you to view a feature's related records by clicking a button on its pop-up. The ability to access secure services from ArcGIS Online and ArcGIS Server by signing in with a user name and password. Built-in support for ownership-based access when editing features. Support for editor tracking Integration with Visual Studio 2012 Windows 8 support For more information about the release, check out the what's new help topic. To download, go to the ArcGIS Viewer for Silverlight Resource Center. If you have questions or feedback, please feel free to post here on the forum. -The ArcGIS Silverlight Development Team
... View more
01-25-2013
10:46 AM
|
0
|
0
|
452
|
|
POST
|
If the xap file is present in the Debug folder, then it is compiling - that xap file contains your changes. Now that you have it, you need to replace the version in the Application Builder with the new version. To do this: Open the Application Builder Click the Settings link (upper right) Click the Add-Ins tab Next to MeasureTool.AddIns, click the delete button. Confirm the deletion when prompted. Clear your browser cache. If you are using Internet Explorer, the most reliable way is to open a command prompt and input the command "rundll32.exe inetcpl.cpl,ClearMyTracksByProcess 8" Refresh the browser page Navigate to Settings --> Add-Ins again Click the "Upload Add-Ins" button Browse to your compiled version of the MeasureTool.Addins.xap file. Make sure you select the one under the Debug folder. Create a new app and add the Measure Tool to it. When you try it out, you should see your changes. That should do it for you.
... View more
10-30-2012
05:36 PM
|
0
|
0
|
4020
|
|
POST
|
Hi Ian: The xap in the root of the zip file will not be updated when you compile the source. Rather, you'll need to copy the add-in's xap file from the output location under the Source Code folder (i.e. Source Code\MeasureTool\MeasureTool.AddIns\Bin). The xap should be contained in a Release or Debug folder in that location, depending on whether you have compiled the add-in using the Debug or Release configuration. However, if the MeasureTool.AddIns project is failing to load when you open the project in Visual Studio, then you probably lack some pre-requisites for developing Viewer add-ins. You'll need to install the Microsoft Silverlight 5 Tools for Visual Studio 2010 and the latest Silverlight Toolkit.
... View more
10-30-2012
04:31 PM
|
0
|
0
|
4020
|
|
POST
|
Glad to hear it worked in Firefox - looks like we're getting somewhere. Can you open a command prompt (running as administrator if you're on Windows Vista, 7, 2008, or 2008 R2) and enter this command: rundll32.exe inetcpl.cpl,ClearMyTracksByProcess 8 This will force a clear of your IE cache. I know you cleared the cache through the UI, but I've seen cases where this inexplicably does not work, whereas clearing it from the command line does. Alternatively, you could try loading the site in IE on a machine where it hasn't been loaded before.
... View more
10-30-2012
03:26 PM
|
0
|
0
|
1147
|
|
POST
|
Hi Matthew: Sorry to hear you're running into issues with the new version. On the machine where you ran the upgrade, have you tried clearing your browser cache? It may be that the browser is still serving the previous version's xap from cache, and running into issues when it loads the 3.0 configuration. If that doesn't work, could you try opening your browser's script console, refreshing the page, and reporting any messages shown there?
... View more
10-30-2012
10:54 AM
|
0
|
0
|
1299
|
|
POST
|
Hi Tom: Can you try opening your browser's script console, refreshing the application that's not loading, and reporting any errors listed in the console?
... View more
10-30-2012
10:50 AM
|
0
|
0
|
1147
|
|
POST
|
Hi Becca: Sorry to hear the upgrade didn't go smoothly for you. If you haven't already, could you try clearing your browser cache? I'm wondering if it's simply a cache issue since the version in the About dialog is still showing the previous version. It may well be something else, but let's start there.
... View more
10-29-2012
05:23 PM
|
0
|
0
|
896
|
|
POST
|
Measure tool - that is coming soon and we will be posting that in the Code Gallery. This can be found on ArcGIS.com here and is also available in the Viewer's code gallery. This is a production quality, ready-to-use tool with full source code included.
... View more
05-24-2012
07:58 AM
|
0
|
0
|
629
|
|
POST
|
We are working on an "add-in" sample measure tool This has just been made available here. This is production quality, ready-to-use tool with full source code.
... View more
05-24-2012
07:52 AM
|
0
|
0
|
985
|
|
POST
|
Hi Michael: Here's the process for creating a Viewer containing the tool and editing bookmarks in the config file. Don't use Visual Studio and the Viewer template (i.e. the sample from the SDK). Use the Application Builder. The template is for developing your own add-ins. You are not doing that here, but rather just looking to load, configure, and use an existing example. Download the pre-compiled xap containing the Bookmarks tool from here. Open the Application Builder Upload the pre-compiled add-in to Application Builder Create a new Viewer application Add the Bookmarks tool using the Add Tool button on the Tools tab In the Bookmarks configuration, the last page is for defining bookmarks. The tool is designed for you to add bookmarks interactively at this point, by defining a name, zooming/panning to the desired bookmark extent, and clicking Add. In your case, since this does not work for your existing workflow, input a dummy bookmark and click OK Deploy the application Navigate to the folder containing the deployed app on disk. With default installations of IIS and the Viewer, this would be c:\inetpub\wwwroot\apps\<app name> Navigate to the config folder. This contains Tools.xml and the other Viewer configuration files Open the Tools.xml file and find the Bookmarks tool. It sounds like you already found this in the Tools.xml file in the Viewer template - it will look the same here as well. Replace the dummy bookmark with your set of bookmarks. You had the right format in your previous post. So the whole tool's markup should look something like this: <Tool Label="Bookmarks" Icon="/Bookmarks.AddIns;component/Images/Bookmark16.png" Description="View bookmarks in the map">
<Tool.Class>
<Bookmarks_AddIns:BookmarksTool />
</Tool.Class>
<Tool.ConfigData>
<ArrayOfBookmark.MapBookmark xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ESRI.ArcGIS.Client.Toolkit">
<!-- First Bookmark -->
<Bookmark.MapBookmark>
<Extent xmlns:d3p1="http://schemas.datacontract.org/2004/07/ESRI.ArcGIS.Client.Geometry">
<d3p1:spatialReference>
<d3p1:wkid>102100</d3p1:wkid>
</d3p1:spatialReference>
<d3p1:xmax>-5753581.5</d3p1:xmax>
<d3p1:xmin>-15499612</d3p1:xmin>
<d3p1:ymax>7454065.7724409448</d3p1:ymax>
<d3p1:ymin>1890386.9437007876</d3p1:ymin>
</Extent>
<Name>Test</Name>
</Bookmark.MapBookmark>
<!-- Second Bookmark -->
<Bookmark.MapBookmark>
<Extent xmlns:d3p1="http://schemas.datacontract.org/2004/07/ESRI.ArcGIS.Client.Geometry">
<d3p1:spatialReference>
<d3p1:wkid>102100</d3p1:wkid>
</d3p1:spatialReference>
<d3p1:xmax>-4754581.5</d3p1:xmax>
<d3p1:xmin>-14499612</d3p1:xmin>
<d3p1:ymax>7454065.7724409448</d3p1:ymax>
<d3p1:ymin>1890386.9437007876</d3p1:ymin>
</Extent>
<Name>Test 2</Name>
</Bookmark.MapBookmark>
</ArrayOfBookmark.MapBookmark>
</Tool.ConfigData>
</Tool> Save and close Tools.xml Open Application.xml and increment the number contained in the <Version> tag. This will keep users from needing to clear their browser cache to see the changes you make in the config file. Hope this helps.
... View more
05-04-2012
08:19 AM
|
0
|
0
|
475
|
|
POST
|
Hi Sean: Do you still get a 404 if you include "/Default.aspx" at the end of the URL? E.g. http://localhost/Builder/Default.aspx.
... View more
04-03-2012
03:42 PM
|
0
|
0
|
798
|
|
POST
|
Hi Judy: I was unable to reproduce this issue. I created a behavior that hooks to Layers.CollectionChanged and displays a notification when this occurs. I've attached the add-in I used to test. I tried it in the Application Builder as well as in a deployed Viewer that included the Browse and Remove Layer tools. Hope this helps.
... View more
03-29-2012
05:14 PM
|
0
|
0
|
317
|
|
POST
|
Hi Marcus: With tools on the pop-up's toolbar, the parameter passed to the Execute and CanExecute methods is an OnClickPopUpInfo object. So in the Execute method, you can get the feature currently shown in the pop-up like so: public void Execute(object parameter) { // Get feature currently shown in pop-up OnClickPopupInfo popupInfo = parameter as OnClickPopupInfo; Graphic currentFeature = popupInfo.PopupItem.Graphic; } If you need to show the names of fields in the UI, you can get the configured field names and visibility via OnClickPopUpInfo.PopupItem.FieldInfos. A sample that calculates service areas for the feature shown in the pop-up should be available on the code gallery within the next couple days. Hope this helps.
... View more
03-29-2012
04:51 PM
|
0
|
0
|
440
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-15-2017 06:50 PM | |
| 1 | 09-11-2017 06:05 AM | |
| 1 | 04-26-2017 08:23 AM | |
| 1 | 07-27-2017 06:44 AM | |
| 3 | 06-09-2017 12:11 PM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:23 AM
|