You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tool and Version
EarlyBoundGenerator V 2.2024.5.16
Describe the bug
When generating Actions with the V2 tool there is an error at the msdynmkt_PersonalizationDynamicTextAiRequest request when compiling the generated code.
[System.Runtime.Serialization.DataContractAttribute(Namespace="http://schemas.microsoft.com/xrm/2011/new/")]
[Microsoft.Xrm.Sdk.Client.RequestProxyAttribute("msdynmkt_PersonalizationDynamicTextAi")]
public partial class msdynmkt_PersonalizationDynamicTextAiRequest : Microsoft.Xrm.Sdk.OrganizationRequest
{
public string msdynmkt_PersonalizationDynamicTextAiRequest__Member
{
get
{
if (this.Parameters.Contains("msdynmkt_PersonalizationDynamicTextAiRequest"))
{
return ((string)(this.Parameters["msdynmkt_PersonalizationDynamicTextAiRequest"]));
}
else
{
return default(string);
}
}
set
{
this.Parameters["msdynmkt_PersonalizationDynamicTextAiRequest"] = value;
}
}
public msdynmkt_PersonalizationDynamicTextAiRequest()
{
this.RequestName = "msdynmkt_PersonalizationDynamicTextAi";
this.msdynmkt_PersonalizationDynamicTextAiRequest = default(string);
}
}
The error is in the last line: this.msdynmkt_PersonalizationDynamicTextAiRequest = default(string);:
'msdynmkt_PersonalizationDynamicTextAiRequest' does not contain a definition for 'msdynmkt_PersonalizationDynamicTextAiRequest' and no accessible extension method 'msdynmkt_PersonalizationDynamicTextAiRequest' accepting a first argument of type 'msdynmkt_PersonalizationDynamicTextAiRequest' could be found (are you missing a using directive or an assembly reference?)
The error can be fixed like this: this.msdynmkt_PersonalizationDynamicTextAiRequest__Member = default(string);
To Reproduce
Steps to reproduce the behavior:
Set up a marketing / customer insights journeys Dynamics instance. (no configuration needed)
Generate the actions.
Compile it.
Expected behavior
No errors.
Additional context
I didn't get the error in V 1. I guess the action was never generated.
The text was updated successfully, but these errors were encountered:
@daryllabar I will provide you the metadata file next week. If there's anything to test with just the PAC Model Build, please tell me. If you think there's a bug, I can create a MS support ticket.
You can run the PAC Model builder directly for that particular message type to see how it handles the duplicate member issue. The EBG appends the __Member because that is all that is needed to resolve issues with Entity classes. Haven't had to debug it for Messages before. My guess is that it will generate it without the __Member, and create a different error. This is related to this issue here: microsoft/PowerPlatform-DataverseModelBuilder#6
Tool and Version
EarlyBoundGenerator V 2.2024.5.16
Describe the bug
When generating Actions with the V2 tool there is an error at the
msdynmkt_PersonalizationDynamicTextAiRequest
request when compiling the generated code.The error is in the last line:
this.msdynmkt_PersonalizationDynamicTextAiRequest = default(string);
:The error can be fixed like this:
this.msdynmkt_PersonalizationDynamicTextAiRequest__Member = default(string);
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No errors.
Additional context
I didn't get the error in V 1. I guess the action was never generated.
The text was updated successfully, but these errors were encountered: