|
POST
|
On the App.Config do you have the Build Action set as "Content" and the Copy to Output Directory set to "Copy Always"? I use the App.Config to store my web service URLs in the App Settings section, much like you do for the Connection string above.
... View more
03-20-2018
06:15 AM
|
0
|
6
|
6075
|
|
POST
|
I haven't dug into this in a while. I never could get it to clear the list of projects. I am sure there is a way to edit the xml. I have to remove them manually. I just delete RecentProjects items from the file user.config in the directory %localappdata%l\ESRI\ArcGISPro.exe_StrongName_XXXXXXXX\2.1.0.0 The StrongName Folder name and version will vary of course, but goto %localappdata%l\ESRI\ and find the strongname folder and version. I also like to cleanup my projects too. %userprofile%\documents\ArcGIS\Projects
... View more
03-16-2018
08:10 AM
|
2
|
0
|
1093
|
|
POST
|
I want to set the Caption for the map pane to represent what is in that map pane. I know how to do this programmatically to the caption using the following, but that does not save. ProApp.Panes.ActivePane.Caption = caption; I know you can do this manually in catalog using Right/Click rename. I want to do this in code based on what I created in that map. This way I don't have to reload the Caption on MapLoad everytime if it is already set.
... View more
03-02-2018
11:00 AM
|
0
|
2
|
1196
|
|
POST
|
We are using Server 10.5.1 with this feature service and that has not changed in quite a while
... View more
02-23-2018
12:34 PM
|
0
|
1
|
1365
|
|
POST
|
Can you confirm that the Created/Modified and CreatedBy/ModifiedBy are no longer available on the Row sent to the Row Created event in Moduule. It this is the case we might have a big problem and I will have to roll back my Pro version and my SDK. I know this previously worked before my upgrade to 2.1.1.
... View more
02-21-2018
04:35 AM
|
0
|
3
|
1365
|
|
POST
|
What is a workaround to refresh the feature cache for a particular layer? Is there something I am not finding here?
... View more
02-21-2018
04:32 AM
|
0
|
1
|
5261
|
|
POST
|
Did this Redraw Class ever get created? I need to redraw my feature class as I have multiple users working in the same geographic area and being able to trigger this would be great.
... View more
02-19-2018
08:57 AM
|
0
|
4
|
5261
|
|
POST
|
Why was the CTRL+Click on a layer in Table of contents to Open Attribute Table not put in ArcGIS Pro. I loved this feature in ArcMap and am hoping that I am missing a place to customize or readd this feature back into ArcGIS Pro. since CTRL+Click does nothing right now, I really wish they would add it back. If not customization available, where is the best place to leave a suggestion for ESRI to consider for a future Update.
... View more
02-19-2018
08:28 AM
|
1
|
2
|
1871
|
|
POST
|
Could this have anything to do with why my Initial Inspector in my rowcreated event in my module is no longer returning the Created/Modified dates. Did something get fixed with the Inspector that I create from the Row in the RowCreated event? I am experiencing a number of issues with 2.1.1 release and I think they all have to do with some inspector changes.
... View more
02-17-2018
06:36 AM
|
0
|
5
|
1365
|
|
POST
|
I build a custom form that populates and shows as soon as a feature is created for a featured data service. This form has always populated with the Dates created/modified and with the Modified/Created by info. This is launched from the onrowcreate event in the module. I upgraded to 2.1.1 this week Now when I make a new feature item using the service and try to retrieve these values (dates/modifiedby) the inspector returns null for both of them. The only way I can get them to populate now is to close the form and refresh the cache using the Circle/Recycle button on the bottom right of map view. I never had to do this previously? inInspector["CreatedBy"].ToString(); This value is now null on a new Row until you refresh the cache?
... View more
02-16-2018
09:05 AM
|
0
|
1
|
558
|
|
POST
|
I am using an ESRI Combo Box in my toolbar. This Combo Box is loaded with the IDs of whatever polygons are in my map. When a user switches to another location, with a whole new set of polygons, I want my Combo Box to update itself. The problem is that I can't seem to figure out how to run my Update/Populate logic from outside of the combobox code. I need to be able to tell the combo box from other functions to revalidate or reinitialize itself? I think I need to make some static reference to this function, but can't seem to be able to accomplish this? The below code works initially, but when the user switches, i need to be able to call updateCombo from anywhere, or just tell the combo to reload. public GoToCurrent()
{
UpdateCombo();
}
public async void UpdateCombo()
{
try
{
Enabled = false;
Clear();
SortedSet<string> FieldIdList = await FeatureServiceManagement.getFeatureLayerUniqueList("Current Field", "", "CurrentFieldId");
if (!FieldIdList.IsNullOrEmpty())
{
foreach (string fieldID in FieldIdList)
{
Add(new ComboBoxItem(fieldID));
}
}
Enabled = true;
}
catch (Exception e)
{
logError("UpdateCombo", e);
}
}
... View more
02-09-2018
09:36 AM
|
0
|
3
|
1625
|
|
POST
|
I upgraded to ArcGIS Pro 2.1.1 and all of a sudden i was getting this error whenever i tried to set an inspectors attribute "This method or property must be called on the thread this object was created on" I had never wrapped my inspector in queuedtask before this upgrade, but now am i required to with the upgrade from 2.0.8933 to 2.1.1? Will this affect my users running the 2.0.8933 version of ArcGIS Pro? QueuedTask.Run(() =>
{
inInspector[fieldName] = newValue;
});
... View more
02-09-2018
09:25 AM
|
0
|
7
|
1629
|
|
POST
|
I am working with a Features Service in ArcGIS Pro. This Feature service is reached through our proxy which does the authentication. The geodatabase behind the Feature Service is used by our current system which uses the old replication mode. So I don't think I cant disable editor tracking on the tables themselves. My proble is, whenever I make changes to a field using my features service code, both the CreatedBy and ModifiedBy show up as Esri_Anonymous. I have tried to explicitly set these to the USERNAME, but it always goes back to Esri_Anonymous. //This will set the username, but will always revert to Esri_Anonymous
Inspector["UpdatedBy"] = "UserNAME"; How do I go about setting the UpdatedBy and CreatedBy fields for my Feature Service in my ArcGIS Pro SDK code?
... View more
02-07-2018
01:54 PM
|
0
|
0
|
556
|
|
POST
|
When I delete a feature in my map, I have a list of child features that also need to be deleted. When the parent is deleted, the child features of a different type also need to be deleted. So I trigger this code to get this done. When a delete is triggered, i successfully get the list of Rows, then a call delete and I get this error on the .Execute() line "Unhandled Exception: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt” //Delete all of the lists created above
foreach (List<Row> individualRowList in ListsOfLists)
{
if (!individualRowList.IsNullOrEmpty())
{
EditOperation deleteOperation = new EditOperation()
{
Name = string.Format("Deleted {0}", individualRowList),
SelectModifiedFeatures = false,
SelectNewFeatures = false
};
deleteOperation.Delete(individualRowList);
deleteOperation.Execute();
}
}
... View more
01-26-2018
09:39 AM
|
0
|
1
|
533
|
|
POST
|
I have thought about the network, but I am in the same room as the ArcGis Server and DB. That minute to create the version file is killing me. I use the embedded option and I don’t think there is anything else I can do on the client side. I was wondering if there is a server or database configuration I am missing. Dies anyone one else have to do this offline replication and download. What speeds should I expect?
... View more
01-05-2018
05:04 AM
|
0
|
1
|
2458
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 08-23-2018 06:49 AM | |
| 1 | 08-02-2023 08:28 AM | |
| 1 | 01-03-2020 10:54 AM | |
| 1 | 11-30-2017 06:41 AM | |
| 1 | 08-20-2018 01:10 PM |
| Online Status |
Offline
|
| Date Last Visited |
10-22-2025
04:33 AM
|