POST
|
Hi, I tried to execute refresh command in same project but still CanExecute returning false value. Exit application/Bookmark are working fine. Could you please help me out to set target for refresh command? protected override void OnClick()
{
var commandId = FrameworkApplication.GetPlugInWrapper(@"esri_core_exitApplicationButton") as ICommand;
if (commandId != null)
{
if (commandId.CanExecute(null))
commandId.Execute(null);
}
var commandId1 = FrameworkApplication.GetPlugInWrapper(@"esri_itemInfoRefreshButton") as ICommand;
if (commandId1 != null)
{
if (commandId1.CanExecute(null))
commandId1.Execute(null); /******** Not Executing ***********/
}
} -Prashant
... View more
01-31-2021
08:41 PM
|
0
|
0
|
1515
|
POST
|
Hi, I tried to execute below code but CanExecute returning false so unable to execute command. Also not sure how to specify folder to execute command? Could you please provide any sample? var commandId = @"esri_itemInfoRefreshButton"; var iCommand = FrameworkApplication.GetPlugInWrapper(commandId) as ICommand; if (iCommand != null) { if (iCommand.CanExecute(null)) { iCommand.Execute(null); } } -Prashant
... View more
01-31-2021
06:10 PM
|
0
|
0
|
1539
|
POST
|
Hi, I've created ArcPro Add-in in C# and added folder under home folder and copying project related content into it. After adding folder I'm activating Catlog pane. If my project home folder is already in open state then i can't see newly added folder. I need to manually click on folder/homefolder location and hit refresh command. Is there any way I can programmatically refresh homefolder/folder to see updated contents? Any help would be appreciated. Regards, Prashant
... View more
01-31-2021
04:59 PM
|
0
|
6
|
1552
|
POST
|
Thank you @AlixVezina, Rather than swapping whole widget, I've replaced _showTemplatePicker function and its started working. Really appreciate your help. -Prashant
... View more
01-19-2021
05:45 PM
|
1
|
0
|
1416
|
POST
|
Hi, I've configured smart editor and attribute table widget using 'WAB 2.17 Developer Edition'. I've selected multiple features using attribute table and hit cancel button on smart editor, it clears all feature selection on map and attribute table but smart editor template doesn't update. After hitting cancel button widget should display templates but in my case its showing empty white form. Steps to reproduce issue: 1) Make sure Attribute table is open and smart editor is active. select one feature from map. 2) Attribute data of selected feature gets populated in smart editor form 3) Press Cntl key and select multiple features in attribute table widget. 4) Total count can be displayed on Smart editor widget 5) Click cancel button and smart editor templates are disappeared. Please see attached screen shot for reference. having this issue with Developer edition 2.17 only, I would like to know is this WAB developer edition bug or am I doing something wrong. Any help would be appreciated. -Prashant
... View more
01-17-2021
08:45 PM
|
0
|
4
|
1593
|
POST
|
Yes but not found query object after store dot - "store.query" I can see data in store but quey is undefined.
... View more
10-22-2020
04:42 PM
|
0
|
1
|
460
|
POST
|
Hi, I'm upgrading my existing app from WAB2.10 to WAB2.17. In old app I was using below dojo memory object to sort data. In latest WAB2.17 getting exception that 'query' undefined store = new Memory({ data: data }); var sortedData = store.query(null, { sort: [{ attribute: "label", descending: false }] }); As per dojo api query is still available and not deprecated. Any idea how to get dojo query reference in WAB2.17? Regards, Prashant
... View more
10-22-2020
03:21 AM
|
0
|
3
|
516
|
POST
|
Hi All, I've subscribed ViewpointChanged event and running some code whenever map extent changes or zoom in/out. I observed that whenever I interact with map e.g. zoom in/out event get fired multiple times(3-4) and along with that code executes and slow down the performance. How can I prevent event execution multiple times or just capture the last instance? Version: WPF 100.8 Any help would be appreciated. Regards, Prashant
... View more
05-17-2020
08:34 PM
|
0
|
2
|
736
|
POST
|
Hi All, I am trying to get X,Y coordinates from point feature object. I ran a query on FeatureLayer and got individual feature from FeatureQueryResult. I can see geometry property in feature object but couldn't find X,Y values. Is there any way to extract x,y values from feature service or feature object? Any help would be appreciated. Regards, Prashant
... View more
04-21-2020
05:26 AM
|
0
|
1
|
473
|
POST
|
Thanks Joe for clarification. I'll switch to feature service and give a try.
... View more
04-18-2020
05:36 AM
|
0
|
0
|
601
|
POST
|
Hi All, I am migrating my application from ArcGIS Runtime SDK 10.2 to v100.7 WPF. I have used MapService (contains couple of layers) to generate mobile cache to work with offline mode. Is there any option in v100.7 to generate offline data using map service? The data is quite heavy so trying to avoid feature service and .geodatase option. Map package option is there but basemap is around 200-300gb excluding map service layers so not sure how to use map package and separate tile layers(baemap) together. What would be the suitable approach to take data offline using mapservice? any help would be appreciated. Regards, Prashant
... View more
04-16-2020
07:44 PM
|
0
|
3
|
737
|
POST
|
Hi All, I have added a feature layer (OperationalLayers) on map with approx. 1,50,000 points and custom TOC control to turn on/off layers. Everything is working fine for the small amount of data. When I turned on layer for the first time which contains 1,50,000 points. I observed that data gets loaded in 2-3 chunks. So if data loading is in progress and I turned off layer then partially rendered data doesn't clear from map. Pan/Zoom viewport clears everything. WPF - ArcGIS Runtime 100.5 Is there any way to refresh mapview or display data when rendering is complete? Any help would be appreciated. Regards, Prashant
... View more
04-14-2020
09:17 PM
|
0
|
2
|
510
|
Title | Kudos | Posted |
---|---|---|
1 | 09-12-2019 09:02 PM | |
1 | 11-03-2021 12:16 AM | |
1 | 02-01-2021 03:10 PM | |
1 | 01-19-2021 05:45 PM | |
1 | 09-01-2019 08:19 PM |
Online Status |
Offline
|
Date Last Visited |
08-07-2023
12:11 AM
|