POST
|
Hi Jonathan Here is what I have set up as a test. Similar to your suggestion. I have a simple addin created as per ProGuide Build Your first add-in. The button's OnClick method just displays a message. This was built with Visual Studio 2022 under ArcGIS Pro 3.2. I have created a very simple workflow: Start ---> Open Pro Project Item ---> End. The Open Pro Project just opens a map wthat exists in my Pro project. As part of that I enable Run ArcGIS Pro Command and supply the command ID as found via hovering over the command and in the DAML file as button_refID. The workflow opens the Pro map fine, but nothing happens with regard to the simple button either as the Open Pro Step is started or finished. As with MarkMaindlin_idea I can open up the addin and click it to see the message. What I am hoping is that the OnClick method is executed from within the workflow. Is this what you mean by "run". I have experimented with the settings in the DAML file such as autoload, appearsOnAddInTab, loadOnClick, without success. Thanks
... View more
a month ago
|
0
|
0
|
200
|
POST
|
Thanks Jonathan for the clarification, Your comment "show this custom ribbon and this custom button in Pro and wait for user input" suggests to me that I am missing "the show" part: i.e. have the button appear. It is a simple button on a toolbar My first thought was to change the settings for how the button is loaded in the DAML i.e module autoload="true" and control loadOnClick="false". But no joy. So maybe my question should be "How do I create a command that displays a button accepting an on-click response from the user?" The other thing that might be useful is what is a bit of clarification about how the simple button commands work ... What does the command ID execute: just the on-click method Thanks Stefan
... View more
02-12-2024
10:09 PM
|
0
|
0
|
290
|
POST
|
Using Workflow Manager on ArcGIS Pro 3.2 Enterprise 11.2 I have created a very simple workflow with following steps : Start, Open Pro Project Items, Stop Within the Open Pro Project items I open a map then close it on finish. In the advanced section enable Run ArcGIS Pro command with the ID of a button command from a custom add-in. The ribbon has the custom add-in and the command works from there. When I run the Job in ArcGIS Pro it works fine opening and then closing the map. However the command is not run. Just nothing happens. In the ArcGIUS Server Manager logs I get messages about "received unexpected message() " with source being Workflow manager. I have tested this only with button commands with an On Click trigger The add-in was built with Pro 3.2, also tested with add-in built with Pro 3.0 Are there limits on the type of custom commands that can be run? Any other ideas?
... View more
02-06-2024
05:06 PM
|
1
|
9
|
418
|
POST
|
I am having a similar issue. Using the Open Pro Items step under Pro 3.2 Enterprise 11.2 I attempt to run a custom Pro command. The Open Pro Open step works fine, opening a map, but the command is not run: nothing happens. I know the add-in command works. I can run it from the ribbon. The Add-In command is a button with a On Click to trigger its action. Is there some restriction on the type of commands that can be run? What is supposed to happen?
... View more
02-06-2024
03:35 PM
|
0
|
0
|
143
|
POST
|
Is the setup for the fieldmapping is the same for all geoprocessing that use a fieldmap e.g. Merge (Data Management) ?
... View more
07-26-2023
10:24 PM
|
0
|
0
|
523
|
POST
|
I believe you can use field mapping to add a new field to the output table that does not exist in the input table. Is this correct? In your example you have a field "NewString" the syntax is exactly like the previous entry for "TheString". Would the syntax for a new string field be: @"NewString ""NewString"" true true false 255 Text 0 0" i.e. without the parameters from the input table.
... View more
07-26-2023
10:21 PM
|
0
|
0
|
523
|
POST
|
Thanks Jay for the comprehensive reply. I'll need to digest a couple of bits
... View more
07-23-2023
09:05 PM
|
0
|
0
|
590
|
POST
|
Thanks Jay for the answer, but it's not quite what I was trying to get at. I have done some more research so here goes: I am using Pro 3.0.2 and Enterprise 11. The Data Reviewer based tools (DR itself and "Missing Features" and "Browse Features" of Manage Data Quality) use only the DR schema and that evaluate data quality step (from error inspector or the work flow manager step) only the error layers. Can you have both the DR schema and error layers in the same database? Is this possible with a Branch Versioned gdb? In enterprise? In Pro, Data Reviewer requires the setting up a workspace on the database == a schema with tables for track errors e.g. Enable Data Reviewer. I assume the resulting schema tables are just like the tables set-up with Data Reviewer with ArcMap. To use the Data Quality "Missing Features" and Browse Features tools you need the Data Reviewer license. My understanding is that any errors generated by these 2 tools are written only to the DR schema tables. What are called "Data Reviewer Checks" are equivalent to the "ready to use rules" that show up in the "Attribute Rules tab"? Can Data Reviewer run standard attribute rules (written in Arcade) rather than the Reviewer checks? If so where are the errors written; DR schema, or the error layers? From the Error Inspector running the evaluate data quality command the output for either a ready to use rule or a standard arcade validation rule are written to the error layers. They have different life cycle behavior. Is there a way to import/export they error layers into the DR schema or visa versa?
... View more
06-22-2023
11:39 PM
|
0
|
2
|
649
|
IDEA
|
Thanks @TanuHoque that was the clue I need to convert my code across. For anybody else that needs help here is a code snippet: // Create the parameters
// note many more parameters are possible
// Use this pattern to create Feature layers, service layers ...
var parmeters = new LayerCreationParams(uri)
{
Name = ShowName,
MapMemberPosition = MapMemberPosition.AutoArrange,
IsVisible= true,
};
// Layers such as the world toppgraphic and basemaps added via Layer > Basmap > select from gallery are not feature layers.
layer = await QueuedTask.Run(() => LayerFactory.Instance.CreateLayer<Layer>(parmeters, mapView.Map)); uri is the Uri(Path to the service providing the basemap) e.g. https://services.thelist.tas.gov.au/arcgis/rest/services/Basemaps/Topographic/MapServer ShowName is a string describing the layer. If people are interested in getting the index themselves: this link was useful: / https://community.esri.com/t5/arcgis-pro-sdk-questions/c-arcgis-pro-sdk-move-layer-b-in-contents-beneath/m-p/778496#M1034
... View more
04-11-2023
08:54 PM
|
0
|
0
|
497
|
IDEA
|
In the transition from ArcGIS Pro 2.9 to Pro 3 the ArcGIS.Desktop.Mapping.LayerPosition was removed i.e. see https://pro.arcgis.com/en/pro-app/3.0/sdk/api-reference/topic15120.html https://pro.arcgis.com/en/pro-app/3.0/sdk/api-reference/topic15120.html#i-heading--detailed-list-of-changes-arcgis-core- look in API Changes Detailed List of Changes ArcGIS-Core 15th instance of 29 for LayerPosition. The LayerPosition.AutoArrange option was very handy for adding external basemaps to a map. It would group basemaps together at the bottom of the Table Of Contents. As in this useage: layer = await QueuedTask.Run(() => LayerFactory.Instance.CreateLayer(uri, mapView.Map, LayerPosition.AddToTop, ShowName)); Alternative create an equivalent method or enum with the same functionality as the AutoArrage option.
... View more
04-04-2023
11:13 PM
|
0
|
4
|
562
|
POST
|
I am using Pro 2.9 and Pro 3.0 to validate data with attribute rules. From the Error Inspector I get a table of errors. Looking at Data Reviewer for Pro it seems to be only for visual and semi autometed review; e.g report missing features. What is the relation of Error Inspector to Data Inspector for Pro? Is the error table produced by Error inspector an Data Reviewer table. Where are the Data Reviewer and Data Inspector tables stored? I have done searches and have come up with very little information. Thanks
... View more
02-09-2023
10:55 PM
|
0
|
4
|
923
|
IDEA
|
We have the same situation, with 2 groups of users Pro 3 (developers testers) and Pro 2.9.5 (users). To my horror I found that I could delete an esriaddinx file from a shared directory. The ability to delete the esriaddinx file is not needed as this is an admin function, can be done through the windows file system. An an alternative behavior is just not show incompatible add-ins in the Add-In Manager. Pro 3 and Pro 2.9.5 already can detect compatible addin files. Our solution We have set-up multiple permission groups around our common folder that contain the addin (ArcMap and Pro) files. Our ICT set this up. Normally this stops unauthorized deletion (windows blocks Pro 3/2.9.5). I was able to delete the add-in file because I was the owner. Dumb ! Easy way? As an extra precaution I have now set each esriaddinx file to be read-only (Windows 10 properties dialog). This works and block Pro 3 and 2.9.5 from deleting an add-in esriaddinx file. Check it out on your set-up.
... View more
02-07-2023
08:21 PM
|
0
|
0
|
754
|
POST
|
I am trying to scope out Production Mapping with ArcGIS Pro. We are currently using ArcMap Production Mapping to do only one task: produce color separated PDF files with production PDF. These are used by our commercial printing company for our final maps. Is there an equivalent command/process in ArcGIS Pro version of Production Mapping? Or can the color management features with spot color control in ArcGIS Pro produce such color separated PDF files? Thanks
... View more
12-21-2021
09:22 PM
|
0
|
1
|
635
|
POST
|
Pro 2.8, Enterprise 10.9. I am using web layers from portal. I am trying to use "Select Only Valid Objects" option. It pauses and runs but does not return any results. I have the editor option "Enforce Attribute Validation" set on. I have an attribute validation rule set on my layer. This rule works as I can use the Error Inspector to find existing features that fail this rule. How does "Select Only Valid Objects" work? What is an invalid object? Any ideas why it is not selecting features that fail validation rule. Here is the link to the documentation: https://pro.arcgis.com/en/pro-app/latest/help/editing/edit-feature-attributes.htm#ESRI_SECTION1_8F13A8C397F349C9BF97D3DF2353E69F
... View more
11-21-2021
05:27 PM
|
0
|
0
|
233
|
POST
|
This looks like known behavior: See: https://pro.arcgis.com/en/pro-app/latest/help/data/topologies/dirty-areas-created-as-a-result-of-the-reconcile-process.htm the step by step examples in the related page are very helpful: https://pro.arcgis.com/en/pro-app/latest/help/data/topologies/error-features-and-versioned-feature-classes.htm I was able to partially code out the situation by checking for dirty areas after making any changes and validating on default, and checking again ... messy and never super reliable. That was with ArcMap
... View more
09-28-2021
06:47 PM
|
1
|
0
|
1070
|
Title | Kudos | Posted |
---|---|---|
1 | 09-28-2021 06:47 PM | |
1 | 02-06-2024 05:06 PM | |
1 | 07-14-2021 09:10 PM | |
3 | 06-02-2019 11:52 PM |
Online Status |
Offline
|
Date Last Visited |
a month ago
|