POST
|
I have a share point list that contains attachements for each entry. when I plot those on a mapping web part I can't open the document from the web map part I have to click on the feature and load the list entry and then it opens. The web map part is trying to retrieve the document from the following URL http://share10eruc/sites/Home//sites/Home/Lists/Vehicle%20Asset%20List/Attachments/2/Asset101January2010Inspection.docx If you remove the duplicate sites/Home it does load, is there anyway to change the web part so that it doesn't add sites/Home twice? Thanks Heather
... View more
12-22-2010
11:16 AM
|
0
|
1
|
3290
|
POST
|
Wow, that explains a lot and is very helpful! thanks so much for explaining that I had been wondering why the one field in the sample didn't match the list. Ok, my last question about list queries is there any way to change the symbol of the features returned and placed on the map? It returns as a orange stick pin right now, I have tried setting a graphic symbol in the code but the orange stick pin always overrides it, the code below works in a normal ESRI Silverlight application... is there something special you need to do for SharePoint? ESRI.ArcGIS.Client.Symbols.PictureMarkerSymbol Arrow = new PictureMarkerSymbol(); BitmapImage bitmap = new BitmapImage(); Uri imgURL = new Uri("http://localhost/ArrowYellow.png", UriKind.Absolute); bitmap.UriSource = imgURL; Arrow.Source = bitmap; graphic.Symbol = Arrow;
... View more
12-21-2010
04:11 AM
|
0
|
0
|
587
|
POST
|
Well I found a few things out, first I had taken the SDK Sample and just changed the names of the namespaces and XAP file which I have done on other silverlight applicaitons and I have had no issues with it but I must have missed a reference somewhere. Because I created the command from a blank silverlight application and I have it querying now. I also learned that if you rename the Title Field (a default field with sharepoint) you still have to refer to it as Title in the application. So now I have it querying and returning results and plotting on the map. It returns the Name (Title), Address, and City. I tried to add 3 other fields and it fails again. Sois there any requirement for the types of fields you can return in the query? I tried number fields, fields without spaces and with spaces, and I tried converting Number fields to single text and I still can't get the query to return results when I add those fields....
... View more
12-20-2010
06:14 AM
|
0
|
0
|
587
|
POST
|
Hi, I am trying to query a share point list in a ArcGIS Web Part. So I took the sample on line from the SDK and changed it so that it was pointing to my list and my list fields and I can't seem to get it to work. I have put pop up windows in the code and it never seems to go to the on failure or on success functions it dies at clientContext.ExecuteQueryAsync(onQuerySucceeded, onQueryFailed); My X and Y fields I am using are number fields (I have also tried to use the ShapeX and ShapeY fields from a ArcGIS Geocode Workflow) and nothing seems to work. I have taken the sample as is with the cities list and I have gotten the query by attribute to work that way. private void StateComboBox_SelectionChanged(object sender, SelectionChangedEventArgs e) { ClientContext clientContext = ClientContext.Current; Web web = clientContext.Web; // Query the list "Cities" with the selected state name List citiesList = web.Lists.GetByTitle("Test"); // My lists name is Test CamlQuery camlQuery = new CamlQuery(); string stateName = StateComboBox.SelectedValue.ToString(); camlQuery.ViewXml = @"<View> <Query> <Where> <Eq> <FieldRef Name='Title'/> <Value Type='Text'>" + stateName + @"</Value> </Eq> </Where> </Query> <RowLimit>1000</RowLimit> </View>"; citiesListItems = citiesList.GetItems(camlQuery); clientContext.Load(citiesList, list => list.Title); clientContext.Load(citiesListItems, items => items.Include( item => item["X"], item => item["Y"] )); MapApplication.Current.ShowWindow("Ready to Execute", new TextBlock() { Text = "Ready to Execute. ", TextWrapping = TextWrapping.Wrap, Margin = new Thickness(30), MaxWidth = 480 }); clientContext.ExecuteQueryAsync(onQuerySucceeded, onQueryFailed); }
... View more
12-13-2010
10:27 AM
|
0
|
7
|
3018
|
POST
|
I would love to take a look at your tool, as you are right if I ask for rounded corners and do not set the tool to dissolve it does run. I even tried letting it create the rounded polygons hoping I could dissolve it in a seperate step but it seems to just keep running and running and running. Thanks Heather
... View more
06-30-2010
10:20 AM
|
0
|
0
|
1966
|
POST
|
Did you ever find a solution to this I am having similar problems. Right now if I create my buffer with rounded corners I get that error message but if I create it with Flat corners it is successful. I am using a workgroup licenses SDE SQL Express database, the feature class is a line it has 1281 features in it and I am trying to dissolve any of those features that are joined. Also I am using ArcGIS 9.3.1 Just curious if you ever solved your problem and what you did to solve it?
... View more
06-29-2010
07:20 AM
|
0
|
0
|
1966
|
POST
|
Morten, I did get it to work with just a token but question for you does this mean that you cannot use staging at all anymore? As before you could build a number of applications using staging, now you have up to 5 you can build using production only. Is that right?
... View more
05-17-2010
12:08 PM
|
0
|
0
|
305
|
POST
|
I am just curious has anyone had any luck with setting up connecting to bing services, when they dont' start with the sample that is provided on the resource centers? I have downloaded that and got BING Map and Geocoder working. However when I tried to move it to a pre-existing application I can't get it to add the web Service Reference. So I followed the steps here http://resources.esri.com/help/9.3/arcgisserver/apis/silverlight/help/Using_VEtokenservice.htmhttp://resources.esri.com/help/9.3/arcgisserver/apis/silverlight/help/Using_VEtokenservice.htm And can't get step 2 to work. VS2008 either doesn't prompt me for a password or prompts me 3 times then nothing. I have logged into Bing's developer centre and tested the password and they say it is valid. But yet I continue to get the following error. There was an error downloading 'http://staging.common.virtualearth.net/find-30/common.asmx?wsdl'. The request failed with HTTP status 400: Bad Request. There was an error downloading 'http://staging.common.virtualearth.net/find-30/common.asmx?wsdl/$metadata'. The request failed with HTTP status 4 I am using the staging url with out the s, although I have tried it with the s also. Also I am using a service reference then goign to web reference to add it. Is it me or is something up with VS? I have seen other posts on Microsoft sites but never saw a solution....
... View more
05-14-2010
08:20 AM
|
0
|
4
|
614
|
POST
|
I ended up following this arcitlce to create the service http://msdn.microsoft.com/en-us/library/aa302397.aspx So I created a empty C# Web Service in VS, and then used step 3 and step 5 of the walk through above to get the code. We don't have groups in the LDAP so I was able to ignore that. The hardest part was figuring out our parameters for the LDAP instance.
... View more
05-05-2010
05:04 AM
|
0
|
0
|
256
|
POST
|
My issue seemed to be with the PHP web service and getting it to connect to our LDAP Server. I had view states set up but the PHP service did not seem to be actually executing the PHP code. That being said I tried a different path and created a ASP.NET web service and it seems to be working so far. Thanks for your response!
... View more
05-02-2010
05:37 PM
|
0
|
0
|
256
|
POST
|
Hi, I was wondering if anyone out there has ever tried to build a login page for a flex application (specifically the sample viewer) that connects to a LDAP server. I have been trying to work with PHP and creating a PHP script that connects to LDAP and that flex calls as a service. But so far I have not been successful. Unfortunately I have no background in PHP and I think my problem is I am missing the PHP LDAP extension. Anyway, any ideas anyone has would be great, if there are better ways than PHP I will take those as well. Thanks Heather Sorry the title should say a login page that connects to LDAP.
... View more
04-28-2010
12:03 PM
|
0
|
4
|
717
|
POST
|
Thank you... I feel like a big idiot I tried to set it to 3.5 like 2 days ago and there was something odd happening (don't recall what so I moved it back to 4). Ooops! But it back to 3.5 and all is happy again!
... View more
04-15-2010
08:38 AM
|
0
|
0
|
295
|
POST
|
Ok so I am in the midst of getting a proper Flex Builder/Flash Builder License. I have a Trial of Flex Builder 3 which doesn't allow me to use the charts extension and I can't find the extension to download anymore because Flash Builder 4 has been released now. so I downloaded Flash Builder 4, but none of the chart functionality is working now. For that matter neither are any of my line symbols (but I just changed all of the symbology to remove outlines). I need the charts to work though. This is the error I get: TypeError: Error #1009: Cannot access a property or method of a null object reference. at mx.charts.chartClasses::CartesianChart/updateMultipleAxesStyles() at mx.charts.chartClasses::CartesianChart/commitProperties() at mx.core::UIComponent/validateProperties() at mx.managers::LayoutManager/validateProperties() at mx.managers::LayoutManager/doPhasedInstantiation() at mx.managers::LayoutManager/doPhasedInstantiationCallback() And it fails on the CartesianChart.as Action Script Line: var hslen:uint = hsNames.length; Which falls within this function... private function updateMultipleAxesStyles():void { var hsNames:Array /* of String */ = getStyle("horizontalAxisStyleNames"); var vsNames:Array /* of String */ = getStyle("verticalAxisStyleNames"); var n:uint = _horizontalAxisRenderers.length; var hslen:uint = hsNames.length; var vslen:uint = vsNames.length; for (var i:int = 0; i < n; i ++) { if (_horizontalAxisRenderers is DualStyleObject) { DualStyleObject(_horizontalAxisRenderers).internalStyleName = hsNames[i % hslen]; } } What can I do to fix this? I tried downloading the beta 2 ArcGIS Flex SWC that didnt' seem to help or do anything. I saw a post about downloading a different Flash Sdk but the build that was suggested was no longer on line either. I am at a lost and need help as I have very few days left before I need this application for a presentation. Thanks Heather
... View more
04-15-2010
07:52 AM
|
0
|
4
|
747
|
POST
|
Sorry, I am still getting the same error, the Security Exception while trying to connect to the REST Endpoint. Fiddler doesn't provide any errors just says it is trying to connect to the machine through the SSL port (being 443).
... View more
04-08-2010
09:53 AM
|
0
|
0
|
323
|
POST
|
So I have a virtual directory / Application in IIS7 that is called securedServices, I have enabled SSL on that directory I have a virtual directory in IIS7 that is called arcgisoutputhttps, that I have enabled SSL I have a dynamic map service on a remote machine, that has an SSL certificate The Map service is pointing to the arcgisoutputhttps virtual output directory I have a application in visual studio that is compiling to the IIS7 location mentioned above called securedServices. VS is configured to run the application as https://localhost/securedServices The web application references the web service use https://MACHINE/ArcGIS/rest/services/Secured/Neighbourhoods/MapServer I have generated a token using the gettoken page, (this is just phase one, phase two of this project will be to set up the proxy). so my call to the map service looks like this. <esri:ArcGISDynamicMapServiceLayer ID="Neighbourhoods" Token="_QmVAPVTU9z3T3OwG41RZysTMqRwL5wwOWpf019qj5a6Ywshg7HMmEkMVsHuBo1bHjVVMdoqOfuzEkTF7rF1JQ.." Opacity="0.5" Visible="True" Url="https://MACHINE/ArcGIS/rest/services/Secured/Neighbourhoods/MapServer" /> So based on the chart from the blog I am going for the last entry in the last table where the hosted application is HTTPS and the service schema is https... what am I missing though?
... View more
04-07-2010
10:05 AM
|
0
|
0
|
323
|
Online Status |
Offline
|
Date Last Visited |
02-09-2024
02:55 PM
|