Skip to content

Conversation

@kingwil
Copy link
Contributor

@kingwil kingwil commented Dec 30, 2025

Change(s):
This change modifies the behavior of the createCCPConnector.ps1 script to add support for a new property inside the poller definition. If the user adds the property UseRandomGuid=false , the packaging script will not append a random GUID to the data connector name (dataConneectorId).

This change allows the user to override the existing behavior which is to append a random GUID using guidValue in the mainTemplate.json.

It is suitable for solutions that already use a unique identifier as the dataconnector ID (name) and encounter issues with having the random GUID appended by the default behavior.

Reason for Change(s):

  • Limitations with the existing packaging tool behavior caused by addition of a random GUID to the connector name.

Version Updated:

  • N/A

Testing Completed:

  • Yes, validated the property results in the desired changes in behavior while retaining existing behavior for existing solutions.

@kingwil kingwil requested a review from a team as a code owner December 30, 2025 16:22
@v-shukore v-shukore added the Solution Solution specialty review needed label Dec 31, 2025
@kingwil
Copy link
Contributor Author

kingwil commented Jan 9, 2026

Testing info:

  1. Current behaviour (and when you do not specify the UseRandomGuid property) appends a guid in the connector name:
image
  1. We add a new property in poller config UseRandomGuid = false
image
  1. After running createSolutionv3.ps1 again, we see that the guidValue parameter is no longer added in maintemplate.json
image

And the guid is not appended on the connector name:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Solution Solution specialty review needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants