|
POST
|
Thanks @AnjulPandey , You got me going in the right direction for what I needed. I want to be able to use the Launchpad Theme but with only one widget open at any time. Made a few modifications based upon the info you provided and have it crudely working. Need to do a lot of clean up. themes\LaunchpadTheme\widgets\AnchorBarController\config.json - added the following code: {
"singleWidgetPanel": true
} themes\LaunchpadTheme\widgets\AnchorBarController\widget.js - added lines 6-10 (near 650 in source of the _onDockableNodeClick method) panelId = dockableItem.config.id + '_panel';
if(dockableItem.isOpen){
dockableItem.setPanelIndex(this._calPanelIndex());
panelConfig = dockableItem.getConfigForPanel();
if(this.config.singleWidgetPanel){
this.openedIds.forEach(function (widgetId){
this.panelManager.closePanel(widgetId + "_panel");
}, this);
}
this.panelManager.showPanel(panelConfig).then(lang.hitch(this, function(panel){
console.log("position: ", panelConfig.panel.position)
panel.setPosition(panelConfig.panel.position);
aspect.after(panel, 'onClose', lang.hitch(this, function(){
dockableItem.setOpened(false);
this._removeFromOpenedIds(dockableItem.config.id);
if(dockableItem.iconItemNode){
dockableItem.iconItemNode.focus();
}
}));
})); themes\LaunchpadTheme\widgets\AnchorBarController\BaseIconItem.js - set position.index = 0 on line 5. Will clean this up later to use the config settings. getConfigForPanel: function(){
var panelConfig = lang.clone(this.config);
panelConfig.backgroundColor = this.getColor();
panelConfig.panel.position = this._initPosition();
panelConfig.panel.position.index = 0; //this.panelIndex;
return panelConfig;
}, As noted previously I am not a developer and have no experience with Dojo and only a little with JavaScript. Open to input and revision suggestions.
... View more
01-23-2022
04:49 PM
|
1
|
0
|
3869
|
|
POST
|
I am experimenting the the WAB Launchpad theme and would like to open/close various widgets programmatically. I have attempted to fire the onclick event in the following code but cannot seam to access the needed node. I am not a web developer and only have a little experience with JavaScript and none using dojo. Also, I can understand how to access the widget information when using "this" in the widget code itself, but how do you access "this" for the widget from outside the widget. I have experimented with the dom but the onclick event is not accessible via my crude attempts. <div class="jimu-anchorbar-iconitem jimu-float-leading" id="uniqName_11_0" widgetid="uniqName_11_0" settingid="widgets_Legend_Widget_18" style="margin-left: 7px;">
<div role="button" class="icon-item icon-item-background0 dockable" data-dojo-attach-point="iconItemNode" data-dojo-attach-event="onclick:_onNodeClick,onkeydown:_onNodeKeydown" tabindex="3801" aria-label="Legend" style="width: 40px; height: 40px;">
<img class="icon" src="/webappbuilder/apps/14/widgets/Legend/images/icon.png?wab_dv=2.23" data-dojo-attach-point="imgNode" alt="Legend" style="width: 20px; height: 20px;">
</div>
<div class="status" data-dojo-attach-point="iconItemStatus">
</div>
</div> The HTML code excerpt is from one of the widgets on the AnchorBarControler
... View more
01-21-2022
04:23 PM
|
0
|
2
|
3895
|
|
POST
|
It was a scope issue pertaining to how the new map is loaded. Robert's code worked fine, as usual, once moved to a point that had appropriate scope.
... View more
01-21-2022
08:16 AM
|
0
|
0
|
1473
|
|
POST
|
Thanks Robert, The inspection of the subtitle shows basically the same as yours. <h2 class="jimu-subtitle jimu-float-leading jimu-leading-margin5" data-dojo-attach-point="subtitleNode" id="jimuUniqName_fff752ca_2251_9d00_5896_abf840b08962_2" style="line-height: 50px; display: block;">with ArcGIS Web AppBuilder</h2> Running the following code returns: appSubTitleNode: undefined var appSubTitleNode = query('.jimu-subtitle.jimu-float-leading')[0];
console.log("appSubTitleNode: ", appSubTitleNode) This is being called from our MapLoad Widget after the new map has been successfully loaded.
... View more
01-21-2022
07:23 AM
|
0
|
1
|
1475
|
|
POST
|
We have a widget that loads a different map from AGOL to the a custom Web AppBuilder app based upon a customized foldable theme. The widget works great; however, we would like to change the subtitle of the app based upon the loaded map. I am having trouble figuring out how to access the header widget from the map loader widget. I tried to use @RobertScheitlin__GISP approach in Change Subtitle Text from a Widget but the query cannot resolve “.jimu-subtitle.jimu-float-leading”from the map loader widget. I can update this.appConfig.subtitle to the new value but cannot get the header widget to pickup the new value. Any direction and input would be appreciated.
... View more
01-20-2022
02:37 PM
|
0
|
3
|
1488
|
|
POST
|
Thanks for the reply. I just wanted to make sure I was not missing something obvious.
... View more
01-10-2022
05:05 AM
|
0
|
0
|
3888
|
|
POST
|
ex.args only contains a single element which is the full error description. Path names removed and replaced with "<value>". ERROR 000466: <value> does not match the schema of target <value> Failed to execute (Append). As noted previously, I can parse this string to get the error number, but I can remember older versions of Python having an errno value. Ultimately, I want to delete the feature class when this error occurs and create a new version with the modified schema.
... View more
01-09-2022
03:56 PM
|
1
|
0
|
3925
|
|
POST
|
I am have a question pertaining to handling specific errors in arcpy 3.7. I want to capture the specific ERROR 000466: <value> does not match the schema of target <value>. The following code narrows it down to the arcpy.ExecuteError, but I cannot find a graceful method to further identify the error as ERROR 000466. The sys.exc_info()[1] returns the entire error value but I would just like the error number without having to parse the string. try:
my code here...
except arcpy.ExecuteError:
e = sys.exc_info()[1]
print(e)
except:
handle of other errors
... View more
01-09-2022
01:13 PM
|
0
|
4
|
3963
|
|
POST
|
Unfortunately, I do not know of any supporting documentation for transformations. I typically start by positively confirming the coordinate system of the source data and using a known reference to confirm the proper transformation. Experiment using a logical progression the system would have undergone until you find a transformation combination that works. The process can be a challenge, especially from an older system to a newer system. On a side note, the transformations listed in ArcGIS are typically in the order of most likely to least likely. Provided you have set your map to the desired coordinate system. Sorry, I did not have any data available on my home system to demo correctly. To confirm you have ArcGIS Coordinate Systems Data installed you can look in the installed programs. It will be listed as noted in the screenshot below. This is a separate install from ArcGIS Pro and 10.9 is the most recent for both Desktop and Pro.
... View more
11-18-2021
04:02 PM
|
0
|
0
|
1247
|
|
POST
|
Kyle, I am not familiar with OR state plane systems nor am I a surveyor, but from a lot of beating my head on the desk, I think I can explain why including WGS works. You are attempting to directly transform between NAD83 (HARN) and NAD83(2011) which are both NAD83 datums; however, NAD83(2011) is on a different epoch (2010.00). An epoch is the national adjustment of passive control applied at a point in time. By applying the NAD83 HARN to WGS84 + WGS84 (ITRF00) to NAD83 2011 transformation you are also including the epoch transformation. For someone like me, in Northeastern USA, the change is not that significant, but in the Pacific Northwest this would be substantially larger. Out of curiosity, have you applied the most recent ArcGIS Coordinate System Data to your ArcGIS Desktop or Pro installation. This is available from your my.esri.com page under downloads, data and content, and will provide the most comprehensive set of transformations with the newest data. Just think what we have to look forward to with NGS and NIST to Retire U.S. Survey Foot in December 2022 and New Datums: Replacing NAVD 88 and NAD 83 the end of 2023 with four new terrestrial reference frames and a geopotential datum. Originally scheduled for 2022 but delayed because of the pandemic.
... View more
11-18-2021
11:55 AM
|
0
|
2
|
4524
|
|
POST
|
My Apologies for the delay. When ESRI moved from GeoNET to ESRI Community platforms, notifications were disabled on old posts. We were experiencing a constant 2.2' shift in our northern survey area to a 1.5' shift in the southern portion. All shifts were to the NW in our data. As you noted, a multi-step transformation often resolves this issue, especially from older datums. Many of the older datums do not directly transform to the newer and a intermediary step or steps need to be implemented. You can also manually apply a series of transformations if the precompiled, multistep transformation do not accurately meet your needs.
... View more
11-17-2021
09:19 AM
|
0
|
0
|
4530
|
|
POST
|
Thanks for the reply. ESRI support indicated the same although recommended not using the FQDN for security reasons. To work around publishing services via VPN connections we are creating a VM the user can access remotely using a RDC connection.
... View more
11-02-2021
12:12 PM
|
1
|
0
|
2871
|
|
POST
|
We are using a couple of Stand-alone ArcGIS Servers to host numerous Map/Feature services. With more users working from home we recently ran into an unusual situation when authoring new data to the ArcGIS Servers while connected via a virtual private network (VPN). Our VPN users are required to use the Fully Qualified Domain Name (FQDN) of the GIS SQL and ArcGIS servers when connecting. This has not been an issue connecting to the Enterprise Geodatabase or ArcGIS Servers until today. Everything is working in ArcGIS Pro they are able to add/edit features from the EGDB, create a new map, etc. Today we had a user, for the first time, attempt to publish a new feature service while connected via a VPN. However, when they attempted to publish the new feature they received a audit message that all the features are not registered with the server and data and data will be copied to the server, which we do not allow. After a little research it was found the enterprise database was registered with the ArcGIS Servers using only the server name and not the FQDN, therefore, VPN users attempting to publish data using the FQDN are receiving the error message and unable to publish. We added a second registered data store using a SDE connection string with the FQDN and the user is now able to publish. These point to the same enterprise geo-database. Edited screen shots below. Server Name Only Server with FQDN Added Both to Data Store Registration This leads to several questions: 1) Is this expected behavior or a bug? 2) With the FQDN connection added to the Data Store Registration, will it work for both server name only and FQDN users? I currently cannot remove the server name only registration for further testing as all currently published features are using this path. EDIT: I was able to test this on a development system and the server name used in the connection file must match. If the FQDN of the server was used for the database connection is ArcGIS Pro the same needs to be used in Registering the Data Store. Likewise, if only the server name is used in ArcGIS Pro connection only the server name should be utilized for the Registering the Data Store. They cannot be mixed. I did put a ticket in with ESRI for clarification on this issue and if adding two reference to the same geodatabase would result in any other problems. 3) Should all users be using FQDN connections to help alleviate this issue? We are running ArcGIS Server 10.9.0 build 26417 and ArcGIS Pro 2.8.3
... View more
10-28-2021
07:50 AM
|
0
|
2
|
2936
|
|
POST
|
Turns out both of these issues were related to security changes implemented by our IT department. The issue with Attribute Assistant was caused by our antivirus/malware software blocking any script using the VB Script Interpreter. We found this when users noted some labels were not rendering in ArcGIS Desktop that were generated with VB Script and thousands of warnings were logged by the antivirus/malware software. One for every label render attempt. Changing to Python everything worked for the labels but VB Script would not run at all in ArcGIS Desktop. The issue with downloading the current version Attribute Assistant from ESRI was also a security change by IT. Our firewall is blocking the ZIP file because it is reportedly classified as a PE ZIP file. IT downloaded the file externally and copied the file to our network shares for use.
... View more
10-13-2021
06:13 AM
|
0
|
0
|
1243
|
|
POST
|
Beginning this morning our users received an error message on starting ArcMap 10.8.1 The message below shows while the splash screen is still active and before the app loads. No changes have been made to our systems or the Attribute Assistant Addin. It is version 2019.2.14. Any Ideas as to why this is occurring and how to resolve the error. If we remove the Attribute Assistant, no error is displayed. Attribute Assistant and ArcMap appear to be working normally even after the error is displayed Second, I went to ESRI do download the current version of Attribute Assistant at http://appsforms.esri.com/products/download/index.cfm?fuseaction=download.main&downloadid=1874. However, the Zip file will not download and an error message is displayed indicating a Network error occurred during download. I have tried this on multiple systems, browsers and networks with the same result.
... View more
10-06-2021
12:32 PM
|
0
|
1
|
1265
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | Thursday | |
| 1 | 09-16-2019 05:49 PM | |
| 1 | 06-11-2025 03:32 PM | |
| 1 | 12-26-2023 09:15 AM | |
| 1 | 12-29-2023 10:06 AM |
| Online Status |
Offline
|
| Date Last Visited |
Thursday
|