Skip to content

Import Solution with support for deployment settings #211

Answered by MattB-msft
DanielSaager asked this question in Q&A
Discussion options

You must be logged in to vote

@DanielSaager
Connection management in deployment automation today is a very fragile system at the moment. This is an area of active investment, and we should see better support in the future.

That said, if the connection ids and the connector ids preexist, you can send the relationship of connection id to connection reference as part of the solution install now.

To do that, you need to create an instance of a connectionreference like such:

EntityCollection solutionComponetSettings= new EntityCollection();
Entity connRecord = new Entity("connectionreference");
connRecord.Attributes.Add("connectionreferencedisplayname", payloadItm.ConnectionRefDisplayName);
connRecord.Attributes.Add("conne…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@DanielSaager
Comment options

Answer selected by DanielSaager
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #210 on December 01, 2021 18:01.