Just a note to self in case I bump into this one again.
I created a custom pipeline component and when adding it to the pipeline designer then clicking save you get the following error:
Failed to retrieve basic properties of the Pipeline
Component: xxxxxxx
After a bit of digging I worked out the problem was my code interacting with IPropertyBag in the implementation of the Load and Save methods of the interface.
My problem was that the string I was using for the key of the property bag had spaced in it. See the below example
The below example doesn't work:
protected
void WritePropertyBag(IPropertyBag pb, string propertyName, object propertyValue)
{
if (propertyValue != null)
PropertyBagHelper.Write(pb, " Property Name ", propertyValue);
}
The below example works:
protected
void WritePropertyBag(IPropertyBag pb, string propertyName, object propertyValue)
{
if (propertyValue != null)
PropertyBagHelper.Write(pb, "PropertyName", propertyValue);
}