|
POST
|
Thats really excellent news - and thank you for getting back to me. It's really appreciated.
... View more
07-28-2020
03:30 AM
|
0
|
0
|
3149
|
|
POST
|
Hi Steve, You say the issue looks like it's "know" - do you have a NIM number for this bug - and any idea when it will be fixed? The NIM number would be good for us to track at the very least. Cheers Simon.
... View more
07-20-2020
07:36 AM
|
0
|
0
|
2529
|
|
POST
|
Yes - I seem to be getting duplicates still - but the count is almost complete. In order to get a complete set I have to re-issue the query request multiple times. The following is list of the amount of re-queries required to get a full result set. Each row is a new session of Pro: 2 queries 3 queries 2 queries 2 queries 1 - first complete result set! 5 - queries 2 - queries So 1 in 7 attempts I managed to get a full result set back without duplicates. Hope that makes sense - I could do more more tests - but I think the trend is obvious.
... View more
07-16-2020
05:08 AM
|
0
|
0
|
2529
|
|
POST
|
It gave almost full unique results - but it took 3 goes. 1699/1700 1698/1700 1700/1700 I don't have that much confidence this is going to work 100% of the time really.
... View more
07-15-2020
03:19 PM
|
0
|
2
|
2529
|
|
POST
|
Good to know it can be reproduced. I have been speaking to a colleague - we thought it may be something to do with ordering the paging? It's not. I'm out of ideas thats for sure.
... View more
07-15-2020
12:29 AM
|
0
|
5
|
2529
|
|
POST
|
This is an urgent request for help as I am trying to release my addin in the next week. I am absolutely pulling my hair out with the seemingly random results and duplicate entities from from AGOL (ArcGIS Online). I have 1700 layer files published in our ArcGIS Online account. There are no duplicates of our layer files when I look in AGOL. I query for them using the following code: var query = PortalQueryParameters.CreateForItemsOfTypes(new List<PortalItemType>() { PortalItemType.Layer }, "", PortalUtils.GroupID, "");
var portalItems = new List<PortalItem>();
while (query != null)
{
//run the search
PortalQueryResultSet<PortalItem> results = await portal.SearchForContentAsync(query);
portalItems.AddRange(results.Results);
query = results.NextQueryParameters;
}
foreach (var pi in portalItems)
{
//Do something with the portal items
System.Diagnostics.Debug.WriteLine($"{pi.Id}, {pi.Name}");
} When I look at the debug output above - I get 1700 results back, which on the face of it seems correct, but when I look closely at the results (I have code to look for dupes) there appears to be some objects that have duplicate item ID's and of course names. Not only this - it's NOT THE SAME DUPLICATES EVERY TIME I QUERY! They are different in the number of duplicates and the actual layers that are duplicated. I have also manually looked at the names and sorted the results in Excel - so I know for sure duplicates are occurring - if nothing else it appears in my UI ultimately - hence why I am trying to debug and get to the bottom of this problem. I am at a loss as to what to do here. I cannot understand it at all and it's making me pretty nervous. If you can help I would really appreciate it.
... View more
07-14-2020
12:56 PM
|
0
|
7
|
2629
|
|
POST
|
Just so you know, I tried the dockwith with my own dockpane ids - between two dockpanes so they would dock with each other and vice-versa - but that did not work.
... View more
06-09-2020
05:57 AM
|
0
|
0
|
1817
|
|
POST
|
but I have no way of knowing which dockpane I should dock with - there a 5 dockpanes so any of those could dock with any other of those if you see what I mean.
... View more
06-08-2020
12:04 PM
|
0
|
0
|
1817
|
|
POST
|
Hi, I have 5 dockpanes that I have made that I want to dock together (if more than one is visible), is this possible? I know you can dock with ESRI dockpanes - but what about your own dockpanes? Also can you dock the first dockpane (that's made visible) to dock at the bottom of a MapPane? Not the whole of the bottom of the Pro application? Kind regards
... View more
06-08-2020
08:10 AM
|
0
|
3
|
1883
|
|
POST
|
Hi, I have a tool where the user clicks on the map and my code goes off and does a long running task. However the UI is still responsive which is fine most of the time, but in this case I don't want the user to start clicking all over the map and stacking lots of queries. I want to disable further interaction with the map and change the cursor from crosshair to a wait cursor. When the task is finished I want to go back to the crosshair and allow interaction with the map again. Is this possible?
... View more
06-01-2020
11:31 AM
|
0
|
0
|
712
|
|
POST
|
Hi Uma, Thanks for getting back to me. This is disappointing for us, I really do hope ESRI fix this sooner rather than later as it is hampering and degrading the user experience for our add in. Anyway fingers crossed. Kind regards Simon.
... View more
05-15-2020
01:31 AM
|
1
|
2
|
3470
|
|
POST
|
Hey thanks Wolf. I have been over those resources - so I was just checking my thinking here. So basically I want to keep down the amount of times I make an explicit call to QueuedTask.Run() - and essentially wrap all my code into it including any Pro API calls that need to be run on the MCT thread? (but leaving out calls specific to the GUI as they have to be run on the GUI thread).
... View more
05-13-2020
02:39 PM
|
0
|
1
|
9610
|
|
POST
|
Hi, I'm a bit confused about how to properly use QueuedTask.Run(). If I have two or more API calls that require to be run on the MCT - do I wrap each of those calls individually into a QueuedTask.Run()? Or can I wrap all the calls under one giant QueuedTask.Run()? I am puzzled more, if I am to also allowed to wrap my own business logic under the QueuedTask.Run along with actual Pro SDK API calls that absolutely MUST be run under QueuedTask.Run(). Is this a bit of no no? So lets look at some code: if (map != null && isOverwriteMaps) { CloseMap(map.Name); await CleanMap(map); } else { await QueuedTask.Run(() => { map = MapFactory.Instance.CreateMap(mapName, MapType.Map, MapViewingMode.Map, Basemap.None); }); await QueuedTask.Run(() => { map.SetSpatialReference(SpatialReferenceBuilder.CreateSpatialReference(4326)); }); } So I am using QueuedTask.Run three times - can I just use it once and wrap the whole thing or I right to use it for each individual case? I think you have to be careful to run big blocks of code within QueuedTask.Run in case there is a call that requires it to be run on the GUI thread. Am I right in my thinking here?
... View more
05-13-2020
11:32 AM
|
0
|
4
|
9807
|
|
POST
|
Hi Uma, I've tried : var layerDoc = new LayerDocument(portalItemUrl); with the portal item (which is a .lyrx file) and it returns null. Is there any way to make the code that you outlined in your answer work with portal layer items? Kind regards.
... View more
05-13-2020
12:44 AM
|
0
|
0
|
3470
|
|
POST
|
Hi, Does the Pro SDK (the XAML) provide the ability to implement the red asterisk for a field that needs to be filled out. Also the info icon with associated tool tip pop out when hovering over icon. Or was this implemented by crafting standard WPF controls/images with animation events/triggers etc? See the visual below, which is the effect I am trying to achieve:
... View more
04-28-2020
05:46 AM
|
0
|
0
|
639
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 12-17-2025 03:28 AM | |
| 1 | 12-18-2023 10:11 AM | |
| 1 | 08-22-2025 02:27 AM | |
| 2 | 12-19-2023 01:36 AM | |
| 1 | 12-21-2023 04:02 AM |
| Online Status |
Offline
|
| Date Last Visited |
a week ago
|