POST
|
Two years later and this is still an issue. It is mind blowing that ESRI has not only failed to implement some form of Application level settings, but also broke app.config in the process.
... View more
08-30-2022
03:27 PM
|
1
|
0
|
305
|
POST
|
Hey Michael, This is exactly what I ended up doing based on that link to a post you made back in 2019. Cheers!
... View more
10-20-2020
09:36 AM
|
0
|
0
|
868
|
POST
|
This approach seems to be the only option: https://community.esri.com/message/824870-geotiff-file-background-transparency
... View more
10-20-2020
08:22 AM
|
0
|
0
|
868
|
POST
|
Is there anyway to set an alpha channel for a rasterlayer renderer?
... View more
10-20-2020
07:50 AM
|
0
|
4
|
929
|
POST
|
But how do we use the PopupManager to access PopupMedia and PopupExpressions?
... View more
03-23-2020
11:19 AM
|
0
|
0
|
533
|
POST
|
Thanks for the reply. I have tried it without the brackets. From what I can tell, there is no way to access popup expressions or popup media from the popup manager. I guess we could go into the popupmanager get the popup, then fetch the field value and perform the expression manually, but this seems ridiculous. Sure would be nice if esri or someone who understands the relationship to chime in.
... View more
03-23-2020
10:50 AM
|
0
|
0
|
605
|
POST
|
7 months have passed and still no answer.... welcome to wix part 2
... View more
03-19-2020
10:00 AM
|
0
|
0
|
605
|
POST
|
I'm attempting to create an overview map of my main map, which is populated with FeatureLayers from a Geopackage. According to the documentation to use a single FeatureLayer on multiple maps the layer should be cloned, and the clone used on the secondary Map. When using Geopackage layers this doesn't appear to work. The cloned layer is returned in a "NotLoaded" LoadStatus. GeoPackage geoPackage = await GeoPackage.OpenAsync(geoPackagePath); FeatureTable geoPackageTable = geoPackage.GeoPackageFeatureTables.FirstOrDefault(); if (geoPackageTable == null) { return; } FeatureLayer newLayer = new FeatureLayer(geoPackageTable); await newLayer.LoadAsync(); FeatureLayer cloneLayer = (FeatureLayer)newLayer.Clone(); SourceMap.OperationalLayers.Add(newLayer); CloneMap.OperationalLayers.Add(cloneLayer); Thus null values are returned for many of the FeatureLayer properties, such as the Renderer or FullExtent. This also means that the Layer itself is not visible on the map. To load the layer we would call LoadAsync(), but doing so on the cloned layer, creates the following error: Is this a bug, or is there something I am missing about cloning Geopackage FeatureLayers?
... View more
09-17-2019
03:43 PM
|
0
|
3
|
790
|
POST
|
Can anyone explain how to use the PopupExpressions of a PopupDefinition/Popup in relation to the PopupManager? Let's say I have a simple PopupDefinition defined as below: { "allowDelete":false, "allowEdit":false, "allowEditGeometry":false, "description":"", "expressions":[{ "name":"expr1". "title": "Expression Test", "expression": "$feature.NAME", "returnType":"string" }], "fields":[{ "fieldName":"NAME", "format":null, "isEditable":false, "isVisible":true, "label":"Name Label", "stringFieldOption":"singleLine", "tooltip":"" }], "media":[], "relatedFeaturesDefinition":null, "showAttachments":true, "showEditSummary":false, "title":"{NAME}" } I can set this PopupDefinition to a FeatureLayer, query for Popups and get a result that shows both the Fields and Expressions are available. Passing the Popup to a PopupManager gives me access to the 'DisplayedFields' which I then use to bind to my view. Unfortunately, I don't understand how you access the expressions. I had thought that perhaps they could be referenced as PopupFields by adding additional Field values to the PopupDefinition such as the following: { "fieldName":"{expr1}", "format":null, "isEditable":false, "isVisible":true, "label":"Expression Label", "stringFieldOption":"singleLine", "tooltip":"" } This however does not appear to work. How does one access PopupExpression results from a PopupManager?
... View more
09-11-2019
05:58 PM
|
0
|
3
|
784
|
POST
|
I would agree the documentation has always been lackluster, but the forums have always made up for it. My biggest complaint is that with every release ESRI scraps the existing forums and introduces a new version. Over the years tons of great information was shared on the forums in their various incarnations: the original green arcobjects forum, edn (the red one), etc. It was a pain, but they at least they were still online and searchable if you knew where to look. When those were taken down, years of knowledge acquired from trial and error was lost. This latest incarnation is time consuming to browse, highly fractured, and difficult to view from a macro perspective.
... View more
04-12-2017
10:02 AM
|
0
|
0
|
1215
|
POST
|
Haefele, Glad to hear the sample gave you a good starting point. I also ran into the issue on windows 8, thanks for the update.. At this point i've given up on ESRI. I mean, I posted the original thread in 2010. On top of that they seem to change the dev forums every damn release now. It's starting to feel like the "old" esri forum days, where it was all reverse engineering...... neil comeback and save us all 🙂 lol The example was a good starting point but did'nt work for me under windows 8 (Visual Studio 2012, WiX Toolset v3.7) . I had problems with privileges for running ERSRIRegAsm.exe ("ESRIRegAsm is evil"). The solution was to change "Execute='immediate'" to "Execute='deferred'. It seems that only deferred custom actions can run elevated using the system context. My Code:
...
<CustomAction Id='ExecEsriRegister'
Directory='INSTALLLOCATION'
Execute='deferred'
Impersonate='no'
ExeCommand='"[CommonFilesFolder]ArcGIS\bin\ESRIRegAsm.exe" /p:Desktop /s "[INSTALLLOCATION]Test.dll"'
Return='ignore'/>
<CustomAction Id='ExecEsriUnregister'
Directory='INSTALLLOCATION'
Execute='deferred'
Impersonate='no'
ExeCommand='"[CommonFilesFolder]ArcGIS\bin\ESRIRegAsm.exe" /p:Desktop /s /u "[INSTALLLOCATION]Test.dll"'
Return='ignore' />
<InstallExecuteSequence>
<Custom Action='ExecEsriRegister' After='InstallFiles'>NOT Installed</Custom>
<Custom Action='ExecEsriUnregister' Before='RemoveFiles'>Installed AND (REMOVE = "ALL")</Custom>
</InstallExecuteSequence>
...
I am still waiting for ESRI to provide us with some useful example code.
... View more
10-26-2013
10:21 PM
|
0
|
0
|
926
|
POST
|
See the following link, I updated the original thread not long ago. http://forums.arcgis.com/threads/5678-wix-and-esri-component-registration-gt-best-practice-lt
... View more
02-21-2013
01:15 PM
|
0
|
0
|
265
|
Title | Kudos | Posted |
---|---|---|
1 | 08-30-2022 03:27 PM | |
1 | 06-02-2010 03:03 PM |
Online Status |
Offline
|
Date Last Visited |
01-30-2024
12:31 PM
|