|
POST
|
No, I don't believe I would have any issues doing so. I kinda considered downloading the API as an option to keep my 3.x app running (I know ESRI isn't pulling the CDN plug for awhile but still). The biggest challenge seems to be finding the actual 3.x download. I keep getting in a circular loop while looking for it. Ugh. I'm too old and too close to retirement to learn NPM. 😆
... View more
08-06-2024
02:53 PM
|
0
|
1
|
5151
|
|
POST
|
Thanks, Joel. While I have read the announcements about each new 4.x version, these migration issue aspects have definitely not been on my horizon. And yes, as you commented, I am using the ESRI CDN rather than self hosting the API. In my dojoConfig, I have tried providing a full URL path for my custom modules but it keeps appending that to the end of the core ESRI baseURL. This shouldn't be so difficult but, if I have to append them all into an 8,000 line JS file, I'll do it. 😩 [By the way, I don't actually use Declare in my code base. I didn't know about that getting dropped and it was pure bad luck that I randomly copy/pasted that from the Dojo help pages. Doh!]
... View more
08-05-2024
03:38 PM
|
0
|
3
|
5194
|
|
POST
|
Thanks for chiming in. Yikes. I don't like this version of Chose Your Own adventure. My original post might have led to some confusion so let me clarify- my "modules" aren't Dojo/Digit dependent per se- I'm just using the technique to break up all my code into smaller blocks based on functionality. For example, one module might have all the pop up content generating functions, another module generates a custom report. I may use an odd dojo item (dojo.number.format) but mostly they reference to JS API items like queryTask or Geometry. It just seems like no matter what is actually inside the module, it will choke. I've tried pared down versions and the end result is the same. Here's an ESRI JS API only version with a blank function: String.prototype.toProperCase = function () {
return this.replace(/\w\S*/g, function(txt){return txt.charAt(0).toUpperCase() + txt.substr(1).toLowerCase();});
};
define ([
"esri/geometry/Extent",
"esri/layers/FeatureLayer",
"esri/SpatialReference",
"esri/tasks/BufferParameters",
"esri/tasks/FeatureSet",
"esri/tasks/GeometryService",
"esri/tasks/query",
"esri/tasks/QueryTask"
], function (
Extent, FeatureLayer, SpatialReference, BufferParameters, FeatureSet, GeometryService, Query, QueryTask
) {
return declare(null,{
create: function () {
}
});
}); Here's a simple module from Dojo's website: define([
"dojo/_base/declare",
"dojo/dom",
"app/dateFormatter"
], function(declare, dom, dateFormatter){
return declare(null, {
showDate: function(id, date){
dom.byId(id).innerHTML = dateFormatter.format(date);
}
});
}); Both will error out with the same message. For the heck of it, here are the consoles from my 4.x attempt on the left and the existing 3.x app which works fine. The only difference in dojoConfig I see is that the 4.x dojoConfig specifies baseUrl whereas the 3.x dojoConfig does not. Again, I'm only using this approach because that's how I did it with 3.x If there's a different (and suggested) way of dividing up / compartmentalizing your code with 4.x, I'm all ears.
... View more
08-05-2024
11:57 AM
|
0
|
1
|
5214
|
|
POST
|
I had hoped that I could just fade into the sunset with my 3.x JS API application and not have to migrate it to 4.x but the slow & delayed pace of Experience Builder functional parity makes me feel like I'll have to migrate it. The app I have is what I would call "plain" vanilla and just uses the JS API and Dojo components available when using the API. In other words, I'm not doing any React, Typescript etc. When I developed it, I used the example in the 3.x API documentation where I created custom modules to group together my app's functionality and then load/reference them as it is outlined here under Step 4 (Load a custom module) in the Documentation. Is this method/practice still valid with the 4.x API or should I be doing this some other way? My app breaks when it hits the Require statement in my main JS file and attempts to reference the custom module. The error thrown provides zero detail as to the issue so I'm mystified as to why it's failing at that point. Steve
... View more
08-05-2024
08:52 AM
|
0
|
9
|
5244
|
|
POST
|
Thank you, that did it. Sometimes it gets confusing when you're learning and throw together several different code snippits in order to piece together an app. I'm a little leery about hard coding the height. When I didn't specify the height, it added the scrollbar but it would push other accordion items off the page because the accordion container had overflow hidden. Any thoughts on getting all this to play nice within the screen real estate? I have 6 accordion items and most of these will have content that needs scrolling. Coming from the 3.x world and Dojo, I like how that accordion panel behaves and just pushes any unopened accordion items to the bottom and utilizes the available vertical screen space allotted for the overall accordion widget.
... View more
08-01-2024
11:16 AM
|
0
|
0
|
2628
|
|
POST
|
For starters, you can highlight the area in the Imagery Map Feedback app to let ESRI know it should consider updating that area. Your deadline will likely come up before ESRI actually does anything. As Eugene mentions, you can see if any County or State agencies have any ortho resources that you could leverage to cover this. Short of these, you could consider purchasing an image through Sky-Fi. If they have an existing image in their collection, the turnaround on that is usually 24 hours. They do have an area minimum for ordering and it varies depending on image resolution but it's not that bad. I swear there was an announcement at the ESRI UC about integrating Sky-Fi's holdings into AGOL (likely as Premium content?) but I can't recall the specifics or find them with a quick search.
... View more
08-01-2024
10:57 AM
|
1
|
0
|
2151
|
|
POST
|
The content inside my accordion items are too long so they get cut off. How do I add scrollbars? In general, the CSS controlling that would be "overflow-y" but I haven't been able to figure out the correct CSS item to target inside Calcite to get this to work. Thanks! Steve
... View more
08-01-2024
10:38 AM
|
0
|
2
|
2652
|
|
POST
|
Could be this issue. There is a patch to install. https://support.esri.com/en-us/knowledge-base/impact-of-google-chrome-and-microsoft-edge-127-updates--000032813
... View more
07-30-2024
02:07 PM
|
2
|
1
|
10735
|
|
POST
|
You haven't mentioned if this is Enterprise or AGOL EB. While I haven't done this yet in EB, I suspect the answer is the same as if you were using the JS API (which I have done). In that case, you have to create print templates in ArcGIS Pro and publish them as layout templates. See the Enterprise Help Information on this (link here). Like I said, I have done this with the JS API to make D & E sized maps.
... View more
07-30-2024
11:44 AM
|
0
|
1
|
1165
|
|
POST
|
This is so confusing.. The backstory is that I have a 3.x JS API application that I need to migrate to 4.x but it uses some Dojo elements (Accordion pane, buttons, etc) so I believe I will now need to use the Calcite UI elements instead. Which requires a (free) developer account to use. I don't want to set up a standalone developer account for this as this is a work related project rather than a personal pursuit so how can I establish a developer account that's tied to my organization's Portal and authenticates through it? I'm not an admin for our Portal so what do I communicate to them about how to create/set this up? I do not have access to our organization's My ESRI site. Thanks- Steve
... View more
07-30-2024
08:27 AM
|
0
|
1
|
804
|
|
POST
|
There is the Lock Labels option which freezes the label at their location and size...
... View more
07-11-2024
11:35 AM
|
1
|
1
|
2863
|
|
POST
|
You jumped in prematurely. You needed to go down one more level to this REST endpoint: https://services6.arcgis.com/Qptn479QktK11k72/ArcGIS/rest/services/Draft_Local_Plan_Allocations_22042020/FeatureServer/2/query Once there, enter: 1=1 for the where clause * for the out fields and lastly change the format to JSON. Click "Query (Get)" and it should return the layer as JSON which then you copy/paste into a text file and then import in Pro using the JSON to Features tool
... View more
07-09-2024
03:52 PM
|
1
|
0
|
824
|
|
POST
|
ESRI had announced a pending change to user types awhile back (link here) and I feel like with this AGOL update, it's finally rearing its head and biting people..
... View more
06-27-2024
03:38 PM
|
1
|
0
|
2376
|
|
POST
|
Trying to figure out what I'm missing because the SDK documentation isn't quite explaining it. I'm trying to consolidate commands in my add-in to reduce the window pane dancing so I have an "edit" group where I've incorporated many of the standard edit tools. In the DAML it's set up like such: <group id="Editing_Tools" caption="Editing Tools" appearsOnAddInTab="true" keytip="ET">
<button refID="esri_mapping_selectToolPalette" size="large"/>
<button refID="esri_mapping_clearSelectionButton" size="large"/>
<button refID="esri_editing_ShowAttributes" size="large"/>
<buttonPalette refID="Editing_Tool_Commands" size="large"/>
<button refID="esri_editing_SaveEditsBtn" size="large"/>
<button refID="esri_editing_DiscardEditsBtn" size="large"/>
<button refID="esri_geoprocessing_toolsButton" size="large"/>
</group> In the middle, you can see I'm using a buttonPalette to group together can save some screen real estate. The buttonPalette has been set up like this: <palettes>
<buttonPalette id="Editing_Tool_Commands" caption="Edit Operations" dropDown="true" menuStyle="true" showItemCaption="false" keytip="BP">
<button refID="esri_editing_EditVerticesMove"/>
<button refID="esri_editing_EditVerticesRotate"/>
<button refID="esri_editing_EditVerticesScale"/>
<button refID="esri_editing_EditVerticesModifyFeature" separator="true"/>
<button refID="esri_editing_ReplaceGeometry"/>
<button refID="esri_editing_ExtendTrimFeatures"/>
<button refID="esri_editing_LineIntersection"/>
<button refID="esri_editing_SplitCommand" separator="true"/>
<button refID="esri_editing_ClipCommand"/>
<button refID="esri_editing_ExplodeFeatures"/>
<button refID="esri_editing_MergeFeatures" separator="true"/>
<button refID="esri_editing_BufferFeatures"/>
<button refID="esri_editing_CopyParallel"/>
</buttonPalette>
</palettes> I've specified the separator="true" option on a few entries so that the dropdown would show a divider between groups of edit tools. Unfortunately, when I get into Pro, the menu looks like this: None of the separators show up, so I'm wondering what I have set up incorrectly. The SDK discusses the concept of split buttons but it's unclear if those work with buttonPalettes. I get the impression from VS that it is not part of buttonPalettes. It *seems* like it is supported if you look at some of the default tools like the Explore Tool so I'm just confused how it actually gets implemented. Thanks! Steve
... View more
06-27-2024
01:41 PM
|
0
|
2
|
1503
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 03-12-2026 01:43 PM | |
| 1 | 03-12-2026 08:41 AM | |
| 2 | 03-10-2026 10:10 AM | |
| 1 | 02-18-2026 09:20 AM | |
| 3 | 01-22-2026 02:03 PM |