Just a quick tip – if you ever get an error message like this while attempting to deploy your SharePoint solution:
Error occurred in deployment step ‘Activate Features’: Invalid field name. {a41610db-0111-461c-8280-da6d0e28709d}
One thing to check is that you’ve actually specified the Name property for your Field References – I had
[sourcecode language="xml"]
<FieldRef ID="{A41610DB-0111-461C-8280-DA6D0E28709D}" DisplayName="Is Current Delegation" ShowInNewForm="FALSE" ShowInEditForm="FALSE"/>
[/sourcecode]
whereas I should have had:
[sourcecode language="xml"]
<FieldRef ID="{A41610DB-0111-461C-8280-DA6D0E28709D}" Name="IsCurrentDelegation" DisplayName="Is Current Delegation" ShowInNewForm="FALSE" ShowInEditForm="FALSE"/>
[/sourcecode]
Oh my god, thanks Henry!
I am always getting errors when I’m trying to deploy a sharepoint solution.
I’m hoping this one will be ‘The Final Solution.’
DANKE.
Hello
This error arises when you forget to add “Name” property to the FieldRef In the content type definition file. Make sure that Field Reference looks like the following:
Thanks
I’m pretty sure that’s what I wrote in the post above.
Nice one Henry, and maybe Mohamed Hachem? lol
Thanks Henry!
You rock dude..
Thanks Henry!