|
POST
|
Hi, For first case I use scenario like in code below: var psi = new ProcessStartInfo
{
FileName = loginUrl,
UseShellExecute = true
};
// Open the browser.
Process proc = Process.Start(psi);
if (proc != null)
{
// Wait For Login logic using HttpListenerContext
....
// Get Tokens logic using HttpPost
....
} Waiting for login or getting tokens are system dependent tasks. So I can suggest only c# classes to use in those tasks.
... View more
12-12-2022
01:44 AM
|
0
|
1
|
2596
|
|
POST
|
Do you use IVersionedWorkspace and IVersion to open FeatureClass? Look here for sample: https://gis.stackexchange.com/questions/368914/esri-arcobjects-getting-geometry-directly-from-shape-value-id
... View more
12-06-2022
03:45 AM
|
0
|
0
|
2480
|
|
POST
|
Hi, Check the fully qualified featureclass name as written here: https://desktop.arcgis.com/en/arcobjects/latest/net/webframe.htm#IFeatureWorkspace_OpenFeatureClass.htm Share your error message when open featureclass to get real answer.
... View more
12-05-2022
03:12 AM
|
0
|
2
|
2570
|
|
POST
|
Hi, Look here: https://www.c-sharpcorner.com/blogs/create-feature-class-programmatically-using-arcobject All .NET samples here: https://github.com/Esri/arcobjects-sdk-community-samples/tree/master/Net
... View more
12-05-2022
02:57 AM
|
0
|
0
|
1351
|
|
POST
|
Hi, I think you need to save project: await Project.Current.SaveAsync();
... View more
12-01-2022
10:04 PM
|
0
|
0
|
1146
|
|
POST
|
I don't know your workflow. You can get it by many different ways. By index or name from IFields type object which you can get from ITable type object (in samples pTable variable) IFields pFields = pTable.Fields;
int iFieldsCount = pFields.FieldCount;
for (int i = 0; i < iFieldsCount; i++)
{
IField pField = pFields.get_Field(i);
// code with domain
} or IFields pFields = pTable.Fields;
int fieldIndex = pTable.FindField(fieldName);
IField pField = pFields.get_Field(fieldIndex);
... View more
11-28-2022
12:21 AM
|
0
|
1
|
3197
|
|
POST
|
In page, link I have added, is written: "ArcMap/ArcGIS Engine does not exist anymore with version 10.9 (and above)" As alternative people suggest use other technologies ("Mobile APIs for the ArcGIS Runtime") . You can ask @Tech_Mahindra_GISSingapore about his experience in developing with ArcObjects SDK Java for Windows.
... View more
11-27-2022
11:57 PM
|
0
|
0
|
2028
|
|
POST
|
Hi, Look here: https://gis.stackexchange.com/questions/365039/arcobjects-vb-net-looping-through-domains-of-a-subtype Or another way is to get IDomain from IField: IDomain pDomain = pField.Domain;
if(pDomain != null) {
esriDomainType enDType = pDomain.Type;
if(enDType == esriDomainType.esriDTCodedValue) {
ICodedValueDomain pCVDom = pDomain as ICodedValueDomain;
int nCount = pCVDom.CodeCount;
for (int j = 0; j < nCount; j++) {
object v1 = pCVDom.Value[j];
string strDName = pCVDom.Name[j];
}
}
}
... View more
11-24-2022
12:48 PM
|
0
|
3
|
3212
|
|
POST
|
Hi, What type of SDK do you use for developing? .Net or Java Windows?
... View more
11-24-2022
11:29 AM
|
0
|
0
|
2045
|
|
POST
|
Hi, I would like to share Esri answer related to our problems described above: "It seems the issue related to the deadlock. since the below code snippet: protected override void OnClick() {bool ret = QueuedTask.Run(() =>{}).Result;}, as they will be blocking the UI thread. Based on the code snippet: The top-level method synchronously blocks on the Task returned by queueTaskRun. This blocks the context thread. Deadlock occurs. The top-level method is blocking the context thread, waiting for Geodatabase to complete, and bool ret = QueuedTask.Run(() =>{} is waiting for the context to be free so it can complete. Hope below two doc links helpful: c# - async void when overriding - Stack Overflow Don't Block on Async Code (stephencleary.com)" Using QueuedTask.Run without Results works fine.
... View more
11-23-2022
11:11 PM
|
0
|
0
|
654
|
|
POST
|
Hi, ExecuteToolAsync doesn't need QueuedTask.Run. You can use ExecuteToolAsync with CancelableProgressor. Sample here: https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic9385.html
... View more
11-18-2022
06:49 AM
|
0
|
0
|
1399
|
|
POST
|
Hi, Look at the OverlayExamples sample from Esri community samples. ConfigureSnappingAsync method demonstrates how to setup snapping.
... View more
11-17-2022
10:24 PM
|
0
|
1
|
2497
|
|
POST
|
Hi, Check TimeNavigation esri community sample. It uses from and start date controls. <Grid Height="66">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition />
</Grid.ColumnDefinitions>
<TextBlock Grid.Row="0" Grid.Column="0" Text="Start Time:" VerticalAlignment="Center" Padding="5,0,5,0"/>
<TextBlock Grid.Row="1" Grid.Column="0" Text="End Time:" VerticalAlignment="Center" Padding="5,0,5,0"/>
<DatePicker Grid.Row="0" Grid.Column="1" SelectedDate="{Binding Path=StartDate, Mode=TwoWay}" VerticalAlignment="Center"/>
<DatePicker Grid.Row="1" Grid.Column="1" SelectedDate="{Binding Path=EndDate, Mode=TwoWay}" VerticalAlignment="Center"/>
</Grid>
... View more
11-16-2022
03:03 AM
|
2
|
1
|
1677
|
|
POST
|
Hi, Look at these esri community samples: CustomPopup CustomIdentify CustomPopup sample has "Show statistics" button as you want
... View more
11-14-2022
10:56 PM
|
0
|
0
|
893
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 3 weeks ago | |
| 1 | 3 weeks ago | |
| 2 | 04-24-2026 08:33 AM | |
| 1 | 03-23-2026 11:44 AM | |
| 1 | 05-22-2024 11:48 PM |
| Online Status |
Offline
|
| Date Last Visited |
Wednesday
|