@esri/solution-common 6.6.1-next.27 → 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
- const name = baseName.substring(0, 50) + "_" + guid;
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
- const name = baseName.substring(0, 50) + "_" + guid;
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/04/2026 20:42:53.96
1
+ Built 05/06/2026 20:42:53.39
2
2
  develop
3
- commit d052e048e0065de50b999f5fafc06c5b3dcc7b5d
4
- Author: Ryan Cosby <ryan9313@esri.com>
5
- Date: Sun May 3 20:49:24 2026 -0700
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
- v6.6.1-next.26
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.27",
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": "d052e048e0065de50b999f5fafc06c5b3dcc7b5d"
99
+ "gitHead": "d32712c9b5e2ae7757351891c629a4fa973bbaa7"
100
100
  }