@esri/solution-common 6.6.1-next.28 → 6.6.1-next.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -463,7 +463,10 @@ function setNamesAndTitles(templates) {
|
|
|
463
463
|
baseName = baseName.replace(/_[0-9A-F]{32}/gi, "");
|
|
464
464
|
// The name length limit is 98
|
|
465
465
|
// Limit the baseName to 50 characters before the _<guid>
|
|
466
|
-
|
|
466
|
+
// If the baseName includes '{{params' it is likely being used in a template replacement, so do not truncate.
|
|
467
|
+
const name = baseName.includes("{{params")
|
|
468
|
+
? baseName + "_" + guid
|
|
469
|
+
: baseName.substring(0, 50) + "_" + guid;
|
|
467
470
|
// If the name + GUID already exists then append "_occurrenceCount"
|
|
468
471
|
t.item.name = names.indexOf(name) === -1 ? name : `${name}_${names.filter((n) => n === name).length}`;
|
|
469
472
|
names.push(name);
|
|
@@ -445,7 +445,10 @@ export function setNamesAndTitles(templates) {
|
|
|
445
445
|
baseName = baseName.replace(/_[0-9A-F]{32}/gi, "");
|
|
446
446
|
// The name length limit is 98
|
|
447
447
|
// Limit the baseName to 50 characters before the _<guid>
|
|
448
|
-
|
|
448
|
+
// If the baseName includes '{{params' it is likely being used in a template replacement, so do not truncate.
|
|
449
|
+
const name = baseName.includes("{{params")
|
|
450
|
+
? baseName + "_" + guid
|
|
451
|
+
: baseName.substring(0, 50) + "_" + guid;
|
|
449
452
|
// If the name + GUID already exists then append "_occurrenceCount"
|
|
450
453
|
t.item.name = names.indexOf(name) === -1 ? name : `${name}_${names.filter((n) => n === name).length}`;
|
|
451
454
|
names.push(name);
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
Built 05/
|
|
1
|
+
Built 05/06/2026 20:42:53.39
|
|
2
2
|
develop
|
|
3
|
-
commit
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
commit d32712c9b5e2ae7757351891c629a4fa973bbaa7
|
|
4
|
+
Merge: 5e98e6482 4e671ce62
|
|
5
|
+
Author: John Hauck <jhauck@esri.com>
|
|
6
|
+
Date: Wed May 6 13:32:16 2026 -0600
|
|
6
7
|
|
|
7
|
-
|
|
8
|
+
Merge pull request #1584 from Esri/prev8048-handle-feature-service-name
|
|
9
|
+
|
|
10
|
+
Handle feature service name substitution
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@esri/solution-common",
|
|
3
|
-
"version": "6.6.1-next.
|
|
3
|
+
"version": "6.6.1-next.29",
|
|
4
4
|
"description": "Provides general helper functions for @esri/solution.js.",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -96,5 +96,5 @@
|
|
|
96
96
|
"esri",
|
|
97
97
|
"ES6"
|
|
98
98
|
],
|
|
99
|
-
"gitHead": "
|
|
99
|
+
"gitHead": "d32712c9b5e2ae7757351891c629a4fa973bbaa7"
|
|
100
100
|
}
|