POST
|
Hi @DerekLaw , Nothing special, it is your standard DigiCert certificate with valid root and intermediate certs. All 3 have been uploaded to Portal and Server. I can open a case with Esri Canada Tech Support...
... View more
03-04-2025
05:35 AM
|
1
|
2
|
216
|
POST
|
Hi @DerekLaw, I installed 2024.0.1 from scratch and I get the following. I also installed Enterprise from scratch (11.4): Any thoughts?
... View more
02-25-2025
04:49 AM
|
0
|
4
|
707
|
POST
|
Paths with spaces should be double quoted... 'serviceName': '"C:\\Users\\me\\OneDrive - My Company Consulting Ltd. (Inc)\\Documents\\ArcGIS\\Projects\\MyProject1\\myService.sddraft"',
... View more
01-14-2025
09:45 AM
|
0
|
0
|
710
|
BLOG
|
Hi @AndrewSakowicz Any chance you will be able to release the Python version like you did for v2023? I had added the ability to change reporting location and added email functionality... I can also send you my code to incorporate if you prefer.
... View more
01-02-2025
07:29 AM
|
0
|
0
|
1247
|
BLOG
|
Hi @AndrewSakowicz Any chance you will be able to release the Python version like you did for v2023? I had added the ability to change reporting location and added email functionality... I can also send you my code to incorporate if you prefer.
... View more
01-02-2025
07:27 AM
|
0
|
0
|
2149
|
POST
|
Hi, Using esri-calcite-components 2.11.1 and I am wondering if there is a way for eslint to pick up any calcite component deprecations like I have set up with arcgis-core 4.30? I use eslint-plugin-deprecation and it picks up all deprecations except for the calcite components. A current example for me is using: import { CalciteModal } from '@esri/calcite-components-react'; <CalciteModal> </CalciteModal> Only gives a warning as deprecated in the console when the site is running. Thanks.
... View more
08-29-2024
09:32 AM
|
0
|
0
|
369
|
POST
|
After some trial and error I came up with the following. It is not perfect as some of the labels in the widget may not be calcite elements, however, this in combination with some CSS tricks will work. The following is a basic example for the measurement widget. For the layerlist I used the VM and constructed it using Calcite components. I needed to manipulate it more than the widget could offer. import type MeasurementWidget from "@arcgis/core/widgets/Measurement";
const measurement = useRef<MeasurementWidget>();
useEffect(() => {
if (mapView) {
Promise.all([
import('@arcgis/core/widgets/Measurement')
]).then(result => {
const MeasurementWidget = result[0].default;
measurement.current = new MeasurementWidget({
view: mapView,
container: elementIDs.measurement_widgetDivID
});
measurement.current.when().then((_measurement: MeasurementWidget) => {
// The Measurement Widget mutates after state change, therefore we cannot use reactiveUtils.
const widgetDiv = document.getElementById(elementIDs.measurement_widgetDivID);
if (widgetDiv) {
const observer = new MutationObserver((mutationList, observer) => {
const _calciteElements = widgetDiv.querySelectorAll("[scale]");
_calciteElements.forEach((element: any) => {
if (element.scale !== measurementScale) {
element.scale = measurementScale;
}
});
});
observer.observe(widgetDiv, {childList: true, subtree: true});
}
});
});
}
},[mapView])
useEffect(() => {
// Perform final tasks after the t9n and config loads.
if (measurementLocalesT9n && measurementConfig && measurementScale && measurementLocale) {
// Set the component title
const t9n = measurementLocalesT9n && measurementLocalesT9n[measurementLocale as keyof typeof measurementLocalesT9n]? measurementLocalesT9n[measurementLocale as keyof typeof measurementLocalesT9n] as any: null;
measurementActionTitle = t9n? t9n?.title: "";
// Find all calcite elements and change their scale
const widgetDiv = document.getElementById(elementIDs.measurement_widgetDivID);
if (widgetDiv) {
const _calciteElements = widgetDiv.querySelectorAll("[scale]");
_calciteElements.forEach((element: any) => {
element.scale = measurementScale;
});
}
}
}, [measurementLocalesT9n, measurementConfig, measurementScale, measurementLocale]); <CalcitePopover component-id={measurementConfig? measurementConfig.id: ""} id={elementIDs.measurement_popoverID} closable scale={measurementScale} label={measurementLocalesT9n? measurementLocalesT9n[measurementLocale as keyof typeof measurementLocalesT9n]?.title as string: ""} referenceElement={elementIDs.measurement_actionButtonID} placement="bottom-end" className={`measurement_popover__calcitepopover measurement_popover__calcitepopover--${measurementScale}`} heading={measurementLocalesT9n? measurementLocalesT9n[measurementLocale as keyof typeof measurementLocalesT9n]?.title: ""} onCalcitePopoverBeforeOpen={measurementPopover_onopen} onCalcitePopoverBeforeClose={measurementPopover_onclose}>
<div id={elementIDs.measurement_popoverDivID} className="measurement_popover__div">
<CalciteAction text="" icon="measure" scale={measurementScale} onClick={() => {measurement.current? measurement.current.activeTool = "distance": null}}></CalciteAction>
<CalciteAction text="" icon="measure-area" scale={measurementScale} onClick={() => {measurement.current? measurement.current.activeTool = "area": null}}></CalciteAction>
<CalciteAction text="" icon="measure-line" scale={measurementScale} onClick={() => {measurement.current? measurement.current.activeTool = "direct-line": null}}></CalciteAction>
<div id={elementIDs.measurement_widgetDivID}></div>
</div>
</CalcitePopover> .measurement_popover__calcitepopover {
max-width: 600px;
}
.measurement_popover__calcitepopover--s .esri-widget,
.measurement_popover__calcitepopover--s h3.esri-widget__heading {
font-size: 0.9em;
}
.measurement_popover__calcitepopover--m .esri-widget,
.measurement_popover__calcitepopover--m h3.esri-widget__heading {
font-size: 1.1em;
}
.measurement_popover__calcitepopover--l .esri-widget,
.measurement_popover__calcitepopover--l h3.esri-widget__heading {
font-size: 1.3em;
}
... View more
03-28-2024
10:15 AM
|
0
|
0
|
719
|
IDEA
|
Could you add a header slot to the popover and other calcite components that are similar? Currently I use a calcite label with dynamic scale using the header slot so that the header changes size with the rest of the components. This is a very convenient way to perform this task using React. I realize there is a heading level, however, when most other calcite components use a scale system ('s'|'m'|'l'), it is better for me to stick to that standard.
... View more
03-28-2024
07:22 AM
|
0
|
0
|
573
|
POST
|
I have just upgraded to v4.29 and am trying to incorporate the LayerList widget to the rest of my site. All my calcite 2.6.x components are reactive to scale, i.e. I can set the scale in the menu and all components will change. I would like to do the same with the LayerList widget, however, I do not see a way to control the scale attribute. Am I missing something? Should I use the VM instead? Any ideas or suggestions? Thanks, René
... View more
03-05-2024
12:45 PM
|
0
|
1
|
850
|
Title | Kudos | Posted |
---|---|---|
1 | 03-10-2025 05:01 AM | |
1 | 03-04-2025 05:35 AM | |
1 | 09-05-2023 11:32 AM | |
1 | 06-05-2023 10:53 AM | |
1 | 12-05-2023 05:37 AM |
Online Status |
Offline
|
Date Last Visited |
09-02-2025
10:54 AM
|