|
POST
|
I updated the driver and it still does it. Works fine in IE...Go figure.
... View more
08-27-2019
12:03 PM
|
0
|
2
|
884
|
|
POST
|
This is weird. I developed this app on my MacBook using VS Code. I've tested it in Safari, Chrome, and Firefox and the MapImageLayers display fine. I deployed it to my server and checked it in on my Windows Desktop and the MapImageLayers don't display initially. If I change zoom level or extent they will load. They will display if I open dev tools. If I click on a location where a feature should be I will get the popup, but no feature is displayed. I get no errors on the console. Any ideas https://gis.lrwu.com/sslrp
... View more
08-27-2019
11:13 AM
|
0
|
4
|
943
|
|
POST
|
Is there a time slider or time animation capability with Insights? If not, is it in the road ahead?
... View more
05-16-2019
08:20 AM
|
1
|
8
|
2889
|
|
POST
|
Same here yesterday and today. What's the word, Esri?
... View more
03-19-2019
11:50 AM
|
0
|
0
|
2342
|
|
POST
|
The tech analyst couldn't find anything like what we were experiencing. It was weird that everything ended up back to normal later in the day following the updates the night before. They suggested I follow their guidelines on doing server updates: - Stop the ArcGIS Server/Portal service. - Install Windows patches/updates. - Reboot the Server machine. Start the ArcGIS Server/Portal service In the past, we just installed the patches then rebooted. I'm going to update the server this weekend and hope everything goes ok. I will post an update afterwards.
... View more
02-22-2019
05:24 AM
|
2
|
0
|
1653
|
|
POST
|
I just want to point out that this was the solution I was looking for. I did not want the users to have to click a second bottom to open the table. I wanted it to run in OnSketchCompleteAsync method. protected override async Task<bool> OnSketchCompleteAsync(Geometry geometry)
{
var standaloneTable = await QueuedTask.Run(() =>
{
ActiveMapView.SelectFeatures(geometry, SelectionCombinationMethod.New);
slComp = Module1.GetCompkey();
if (!string.IsNullOrEmpty(slComp))
{
Uri path = new Uri("\\P\\A\\T\\H.sde");
// Set up Geodatabase Object)
using (Geodatabase geodatabase = new Geodatabase(new DatabaseConnectionFile(path)))
{
string queryString = $"COMPKEY = {slComp}";
QueryDef queryDef = new QueryDef()
{
Tables = "SDE.sewerman.tblV8PMTOOL",
WhereClause = queryString,
};
QueryTableDescription queryTableDescription = new QueryTableDescription(queryDef)
{
MakeCopy = true,
Name = $"Preventive Maintenance: {slComp}",
PrimaryKeys = geodatabase.GetSQLSyntax().QualifyColumnName("SDE.CONNECTION", "COMPKEY")
};
var queryTable = geodatabase.OpenQueryTable(queryTableDescription);
int count = queryTable.GetCount();
if (count == 0)
{
MessageBox.Show("Sewer line selected has no preventive maintenance scheduled.");
}
else
{
// Create a standalone table from the queryTable Table
IStandaloneTableFactory tableFactory = StandaloneTableFactory.Instance;
StandaloneTable pmTable = tableFactory.CreateStandaloneTable(queryTable, MapView.Active.Map);
return pmTable;
}
}
};
//return base.OnSketchCompleteAsync(geometry);
return null;
});
// Open the standalone table pane
FrameworkApplication.Panes.OpenTablePane(standaloneTable, TableViewMode.eAllRecords);
return true;
}
... View more
02-08-2019
07:15 AM
|
3
|
0
|
1946
|
|
POST
|
Well, everything came back in the middle of a screen share with a tech support analyst. Hmmmm?
... View more
01-30-2019
09:40 AM
|
1
|
0
|
1653
|
|
POST
|
Has anyone had any issues with Portal after performing routine server (MS) updates? I'm experiencing a loss of map/services. I have a web app that uses a web map from our portal. The map has 12 layers/groups and 3 stand-alone tables. Layers 0 - 9 are deleted. Layers 10 and 11 show up in the TOC, but there is nothing there. The REST endpoints for the missing layers are gone. This also happened after the December server updates. I'm going to call tech support but thought I would post this to see if anyone has experienced this as well. See images below for details. MS Windows Server 2016 ArcGIS Enterprise 10.5 (current on updates) Portal is federated WAB Dev Edition 2.7 This is what we get in the web app. Notice the 2 layers in the TOC are expanded and there is nothing there (no symbols). When I try to open the source web map in Portal, from the map details page, I get a blank map. Nothing. If I open the map from the Recent Maps dialogue get this, which look like the web app. When I go the REST endpoint for the web map. When I go the REST endpoint for one of the still listed layers And when I go into My Content
... View more
01-30-2019
07:59 AM
|
1
|
3
|
1981
|
|
POST
|
Thanks for the snippets, Charles. But the problem I was having was trying to open the table without the user having to go to the ribbon click another button. I want them to click on a tool to activate, click on a feature, and the table opens with the subset of data. Thanks for your help.
... View more
01-30-2019
04:49 AM
|
0
|
0
|
1946
|
|
POST
|
Unfortunately, because of my own inadequacies as a .Net developer, I can't figure out how to display—OpenTablePane— the standalone table from the UI thread. I'm missing something. I think I'll try to do it in a DockPane. It's not ideal for this situation, but there seems to be plenty of code examples for this. Thanks for your help, Rich.
... View more
01-29-2019
05:24 AM
|
0
|
2
|
1946
|
|
POST
|
Thanks, for your help, Rich. But the following method must be called on the UI thread. FrameworkApplication.Panes.OpenTablePane(standaloneTable, TableViewMode.eAllRecords); OpenTablePane reference
... View more
01-28-2019
05:33 AM
|
0
|
4
|
1946
|
|
POST
|
Yes, that is the issue. I couldn't find any snippits/examples on how to do this.
... View more
01-25-2019
09:03 AM
|
0
|
6
|
1946
|
|
POST
|
Trying this as a Question instead of a Discussion. I'm having trouble getting a QueryTable to display. The tool selects a single sewer line, gets the feature ID for the line (called COMPKEY), then uses the ID to build the where clause and hopefully open the query table. What am I missing? protected override Task<bool> OnSketchCompleteAsync(Geometry geometry)
{
Uri path = new Uri("O:\\P\\A\\T\\H\\CONNECTION.sde");
return QueuedTask.Run(() =>
{
ActiveMapView.SelectFeatures(geometry, SelectionCombinationMethod.New);
string slComp = Module1.GetCompkey();
if (!string.IsNullOrEmpty(slComp))
{
// Set up Geodatabase Object)
using (Geodatabase geodatabase = new Geodatabase(new DatabaseConnectionFile(path)))
{
string queryString = $"COMPKEY = {slComp}";
QueryDef queryDef = new QueryDef()
{
Tables = "SDE.TABLE.NAME",
WhereClause = queryString,
};
QueryTableDescription queryTableDescription = new QueryTableDescription(queryDef)
{
MakeCopy = true,
Name = $"Preventive Maintenance: {slComp}.",
PrimaryKeys = geodatabase.GetSQLSyntax().QualifyColumnName("SDE.sewerman.tblV8PMTOOL", "COMPKEY")
};
var queryTable = geodatabase.OpenQueryTable(queryTableDescription);
int count = queryTable.GetCount();
if (count == 0)
{
MessageBox.Show("Sewer line selected has no preventive maintenance scheduled.");
}
else
{
// Used since query table doesn't display
// MessageBox.Show($"Row count: {count}");
}
}
};
... View more
01-25-2019
05:30 AM
|
0
|
9
|
2138
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 08-02-2023 05:14 AM | |
| 1 | 09-07-2018 11:34 AM | |
| 1 | 05-17-2018 07:47 AM | |
| 1 | 10-16-2018 10:04 AM | |
| 2 | 02-22-2019 05:24 AM |
| Online Status |
Offline
|
| Date Last Visited |
08-08-2023
04:10 PM
|