
Hi
I want to register a sdkmessageprocessingstep for update message of account but i get the error like "System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]: The dependent component Attribute (Id= kphbar_barcodeimage) does not exist. Failure trying to associate it with SdkMessageProcessingStep (Id=5902d295-d3aa-e811-940c-0050569e7805) as a dependency. Missing dependency lookup type = AttributeNameLookup. (Fault Detail is equal to Microsoft.Xrm.Sdk.OrganizationServiceFault)., Correlation Id: 5c857c30-b5c6-4f08-9adc-c60afaf97d14, Initiating User: cf37e726-1a9f-e111-93f7-0050569e7805" when i set the FilteringAttributes.
my code is like this:
...
var updatePluginStep = new SdkMessageProcessingStep()
{
Name = "Test Name",
Mode = new OptionSetValue(0),
Rank = 1,
Stage = new OptionSetValue(20),
SupportedDeployment = new OptionSetValue(0),
InvocationSource = new OptionSetValue(0),
PluginTypeId = updatePluginType.ToEntityReference(),
SdkMessageId = updateSdkMessage.ToEntityReference(),
SdkMessageFilterId = pluginStepFilterId.ToEntityReference(),
Description = "Test",
FilteringAttributes = "statecode, statuscode"
};
...
*This post is locked for comments
I have the same question (0)