POST
|
Hi Jake, Apologies for delay in coming back to you. This is really useful, thank you. I was unaware of this, and I can see how in many cases this would be the answer to the problem as it exists. There is a bit of a story here: The organization has implemented SAML2 authentication to unify groups from different organizations. The 'organization' is a consolidation of former government departments. A business group will now be formed of users from different government agencies. Each of which log in to a different AD. These AD's have been trusted (as a tree). But a business group will be defined in multiple AD's if that makes sense. The complexity of this is a nightmare for the 'newly born' organization. So they use SAML2 to pull users together and they can create 'Groups' in ADFS that are independent of the AD. This allows a single ADFS group to be created to cover all the historic AD users. It streamlines and simplifies there user management. So in essence, their groups are in ADFS and not the AD. I would imagine that there is a bespoke 'component' that they are using to manage this. I can clarify this. From the link that you have provided, I see that even though ADFS is being used, the groups in Portal are being created by a 'direct connection' to the AD itself, and only one AD can be referenced? For the reasons described above, this will not work in this organization. Could I ask you to confirm that this assumption is correct, and are there any known workarounds that I may use? I appreciate that the customer is working in a non-standard way, and Portal for ArcGIS may not have been designed to support this method. Having a clear answer would be good to discuss with the client. Many thanks for your previous response, and for any assistance you can provide with the above. Kind Regards, Scott
... View more
01-04-2016
02:02 PM
|
0
|
0
|
425
|
POST
|
Hi, I'm working with an organisation that has implemented Portal for ArcGIS 10.3.1. They are using ADFS and, therefore, SAML2 technologies for authentication. This works great for logging users into the system. Now they want to create groups in Portal that 'map' to Enterprise groups, so that they do not have to manually add members to a Portal group. I know how to do this with 'Integrated Windows Authentication' (IWA), but I cannot find a way to do it with SAML2. I have read the following page: Create groups—Portal for ArcGIS (10.3 and 10.3.1) | ArcGIS for Server which hints at the fact that this can be done. My guess, though, is that this article relates to IWA. I do have Administrator rights in the Portal and so I have rights "to link built-in groups to enterprise groups" but I just cannot find the options to do it. Any advice would be greatly appreciated. Regards, Scott
... View more
12-30-2015
04:00 PM
|
0
|
2
|
2623
|
POST
|
Have a look at this tutorial: http://www.arcgis.com/home/item.html?id=265c334a47994dcc95e1bd57cf20e98e
... View more
09-30-2014
08:49 PM
|
0
|
0
|
468
|
POST
|
Hi there, I see you didn't get any response to your question, but I was wondering if you had tried this and if you could discuss any results??? I've just checked the support RDBMS's, and it says Express, Standard and Enterprise but nothing around Web Edition. If you have tried and it's working then could you let me know please? I'm thinking of doing the same thing, for the same reason. Many thanks, Scott
... View more
11-25-2012
07:41 PM
|
0
|
0
|
198
|
POST
|
Ben, You're not missing something. There is no way to write to WFS-T with ArcGIS even with Data Interop, at ArcGIS 10.0 anyway If you're using ArcGIS Desktop and want to write to the 'server' then why do you want to use WFS-T??? There are native ways of doing this that perform far better and give you more control over the editing process. Kind Regards, Scott
... View more
05-21-2012
05:53 PM
|
0
|
0
|
224
|
POST
|
Heh Darina, Thanks for your help. Much appreciated. As you suggested, I read the instructions that you sent through, and registered the web extensions. Still no joy, then noticed what you said about installing .Net 4! As I mentioned in my first post, my laptop has been rebuilt this week. The guy from tech services had installed Visual Studio 2010 before installing IIS. It would appear that .Net 4 therefore does not get properly registered with IIS, even though you can set up the Application Pools. I found that there is a aspnet_regiis tool, which allows you to install .Net 4 onto IIS. Read here: http://msdn.microsoft.com/en-us/library/k6h9cz8h.aspx Undertook this for both 32 and 64 bit frameworks, retested my app - and heh presto. So, many thanks for pointing me in the right direction! 🙂 Hope you have a great weekend. Scott
... View more
11-05-2010
03:38 PM
|
0
|
0
|
258
|
POST
|
Hi, This is probably a really pathetic question, but I'd appreciate some help! I wrote a Silverlight APIv1.0 app against 9.3.1. I've recently upgraded to 10.0, and so I thought I'd move everything over to APIv2.0. My app works fine when debugging but when I publish the app to IIS I get all sorts of errors. Initially, i was got a "Unrecognized attribute 'targetFramework'" - I quickly worked out that the Application Pooll the app was running against was .Net 2.0. So I created a new "4.0 Intergrated" pool, and then pointed my web application at that. I have checked "basic settings" on IIS7 (win 7 64-bit), and can confirm it's looking at the correct pool. when I look at the pool, it tells me that 1 application is referencing it. The problem now is that I've got a server 500 error. Thinking my code was bad, I created a new Blank Silverlight app on it, dropped a map control on - pointed it at a dynamic layer, and it runs in debug - but exactly the same on iis. I even created an ESRI Standard Silverlight Template app, and built/published it raw and I get the same problem. The laptop was only built this week, is runnign ArcGIS Server 10 with no problems. One thing I should point out, is that it is fine if it runs as a html page, but I need it to run as an aspx, as I have a web.config with some initial settings that it needs. Any pointers would be most gratefully received. Kind Regards, Scott
... View more
11-05-2010
10:40 AM
|
0
|
3
|
2412
|
POST
|
Hi, I'm working with a business partner that wants to use ArcGIS Mapping for Sharepoint with Arabic customers, and has raised the following questions: 1) Whether the position of titles and toolbars can be adjusted 2) Whether ArcGIS for SharePoint supports right to left text 3) Whether ArcGIS for SharePoint supports Arabic fonts 4) Whether toolbars, tabs, tooltips, labels, context menus etc can be changed to Arabic text Can anyone help please? Thanks, Scott
... View more
11-03-2010
03:20 AM
|
0
|
4
|
1630
|
POST
|
Hi, I've sorted this now. From the OnClick Event I opened a form as a dialog, and in the Form1_Load event I was calling some code that amended some Polygons. At the end of these changes I was calling the method that was giving me the problems. I ended up creating a seperate add-in, and testing the above code in isolation which then worked. 🙂 So it was something to do with my earlier code. Now, what I hadn't considered was that the form was running in the same thread as ArcMap, but I'd passed the processing code out to a seperate thread. When I moved the above method into a class, on it's own, and then called this from the Form1_Closing event, everything started working again... So I guess this simply comes down to me being a newbie at threading, and making a classic mistake that I've already learnt from. Sorry to waste your time folks... Scott
... View more
09-29-2010
12:59 PM
|
0
|
0
|
573
|
POST
|
Hi, I've borrowed the following code from: http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//0001000000t8000000 In the Table of Contents, I can see the various Unique Values listed, but there is no symbology next to them. When I enter the layer's properites, it is still showing as selected as a single class. I've previously used the equivalent code sample in VBA and it works fine in 9.3.1, but I'm trying to complete my move over to C#. My only wonder is if this is because of using an AddIn, but that doesn't feel right. Any thoughts, sanity check would be most welcome. Oh, and after executing this method, I call the following: doc.ActiveView.ContentsChanged(); doc.UpdateContents(); doc.ActiveView.Refresh(); Thanks for your help. Regards, Scott --- Code used: string _colorName = "Color"; private void SetUvRenderer(IFeatureClass featureClass) { ////Code in this method taken and adapted from: ////http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//0001000000t8000000 int count = 0; IRandomColorRamp pRandomColorRamp = new RandomColorRampClass(); //Create the color ramp for the symbols in the renderer. pRandomColorRamp.MinSaturation = 20; pRandomColorRamp.MaxSaturation = 40; pRandomColorRamp.MinValue = 85; pRandomColorRamp.MaxValue = 100; pRandomColorRamp.StartHue = 76; pRandomColorRamp.EndHue = 188; pRandomColorRamp.UseSeed = true; pRandomColorRamp.Seed = 43; //Create the renderer. IUniqueValueRenderer pUniqueValueRenderer = new UniqueValueRendererClass(); ISimpleFillSymbol pSimpleFillSymbol = new SimpleFillSymbolClass(); pSimpleFillSymbol.Style = esriSimpleFillStyle.esriSFSDiagonalCross; pSimpleFillSymbol.Outline.Width = 0.4; //These properties should be set prior to adding values. pUniqueValueRenderer.FieldCount = 1; pUniqueValueRenderer.set_Field(0, _colorName); pUniqueValueRenderer.DefaultSymbol = pSimpleFillSymbol as ISymbol; pUniqueValueRenderer.UseDefaultSymbol = true; //Get the selected layer, create a display table and then a cursor IMxDocument doc = ArcMap.Document; IContentsView contentsView = doc.CurrentContentsView; IGeoFeatureLayer pGeoFeatureLayer = doc.CurrentContentsView.SelectedItem as IGeoFeatureLayer; //Set a display table and featurecursor, so all features can be iterated and values added. IDisplayTable pDisplayTable = pGeoFeatureLayer as IDisplayTable; IFeatureCursor pFeatureCursor = pDisplayTable.SearchDisplayTable(null, false) as IFeatureCursor; IFeature pFeature = pFeatureCursor.NextFeature(); bool ValFound; IFields pFields = pFeatureCursor.Fields; int fieldIndex = pFields.FindField(_colorName); while (pFeature != null) { ISimpleFillSymbol pClassSymbol = new SimpleFillSymbolClass(); pClassSymbol.Style = esriSimpleFillStyle.esriSFSSolid; pClassSymbol.Outline.Width = 0.4; string classValue; classValue = pFeature.get_Value(fieldIndex).ToString(); //Test to see if this value was added to the renderer. If not, add it. ValFound = false; for (int i = 0; i <= pUniqueValueRenderer.ValueCount - 1; i++) { if (pUniqueValueRenderer.get_Value(i) == classValue) { ValFound = true; break; //Exit the loop if the value was found. } } //If the value was not found, it's new and will be added. if (ValFound == false) { pUniqueValueRenderer.AddValue(classValue, _colorName, pClassSymbol as ISymbol); pUniqueValueRenderer.set_Label(classValue, classValue); pUniqueValueRenderer.set_Symbol(classValue, pClassSymbol as ISymbol); } count++; //update the status form to show current position FeedbackFeatureCount("Step 3. Rendering polygon " + count.ToString() + " of " + featureClass.FeatureCount(null).ToString()); pFeature = pFeatureCursor.NextFeature(); } //Since the number of unique values is known, the color ramp can be sized and the colors assigned. pRandomColorRamp.Size = pUniqueValueRenderer.ValueCount; bool bOK; pRandomColorRamp.CreateRamp(out bOK); IEnumColors pEnumColors = pRandomColorRamp.Colors; pEnumColors.Reset(); for (int j = 0; j <= pUniqueValueRenderer.ValueCount - 1; j++) { string xv; xv = pUniqueValueRenderer.get_Value(j); if (xv != "") { ISimpleFillSymbol pSimpleFillColor = pUniqueValueRenderer.get_Symbol(xv) as ISimpleFillSymbol; pSimpleFillColor.Style = esriSimpleFillStyle.esriSFSSolid; pUniqueValueRenderer.set_Symbol(xv, pSimpleFillColor as ISymbol); } } //'** If you didn't use a predefined color ramp in a style, use "Custom" here. //'** Otherwise, use the name of the color ramp you selected. pUniqueValueRenderer.ColorScheme = "Custom"; ITable pTable = pDisplayTable as ITable; bool isString = pTable.Fields.get_Field(fieldIndex).Type == esriFieldType.esriFieldTypeString; pUniqueValueRenderer.set_FieldType(0, isString); pGeoFeatureLayer.Renderer = pUniqueValueRenderer as IFeatureRenderer; //This makes the layer properties symbology tab show the correct interface. IRendererPropertyPage hx = new UniqueValuePropertyPageClass(); pGeoFeatureLayer.RendererPropertyPageClassID = hx.ClassID; pGeoFeatureLayer.DisplayField = _colorName; }
... View more
09-28-2010
03:11 PM
|
0
|
1
|
2546
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|