Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

msdynmkt_PersonalizationDynamicTextAiRequest does not generate properly #502

Open
randombyte-developer opened this issue May 31, 2024 · 0 comments
Labels

Comments

@randombyte-developer
Copy link

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:

  1. Set up a marketing / customer insights journeys Dynamics instance. (no configuration needed)
  2. Generate the actions.
  3. Compile it.

Expected behavior
No errors.

Additional context
I didn't get the error in V 1. I guess the action was never generated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant