Module upgrade to 4.1
Hi There,
I'm trying to upgrade my modules to 4.1, but the lack of documentation is making it worse than pulling teeth. I'm following the post http://www.sitefinity.com/blogs/slavoingilizov/posts/11-04-07/changes_in_mapping_persistent_classes_in_custom_modules_with_sitefinity_4_1.aspx but the code is not easy to follow. Which assembly references do I need to add. In which namspace does OpenAccessFluentMappingBase and ContentBaseMetadataSource. Very frustrating having to work wit this level of documentation, and then Telerik has the nerve to state in another forum post that the 4.1 SDK is not nessary as they already did the above mentioned post to help us.
I'm in the same boat, Jean. Hoping for some samples, some extended examples, something beyond that blog post and the videos. I'm just sitting around refreshing the blog posts hoping for some Telerik responses.
- William
@William, The guys at Sitefinity seems to assume we were all part of building Sitefinity, so hence we should know the namespaces by heart, and also just know how to use their code. Seems that we will have to wait for the SDK to be released, however with their release track record I won't hold my breath for next week.
Hi Jean and William,
I understand your pain. We anticipated that these changes in OpenAccess would eventually lead to issues like yours and this is why I published the blog post you mentioned, some time before the release, so that guys like you could know beforehand this was coming. Unfortunately even this is not enough and we know it.
Historically we've released SDK and samples in it together with the product, but this failed for other reasons. We didn't allow ourselves enough time to go through all samples and change them to work with the newly released version of Sitefinity. This is why we decided to release the SDK a while after Sitefinity itself and we are doing our best to deliver it to you next week. We are learning from all the feedback you guys send all the time, and we are thankful for it. The SDK is still a baby product, but we have put your need for samples and guidance as our top priority and I can assure you in the next months we'll clear our all problems and continue to support you and provide new development resources.
To answer your specific questions (I also answered one of them in the comments after the mentioned blog post):
These are the assembly references you need in your module:
Greetings,
Slavo
the Telerik team
Slavo,
Apologies for the double posting (I posted this as a comment on your blog post), but I know people follow along these forum threads and thought it might be useful. I was told in a support ticket to modify my project file with:
<
PropertyGroup
>
<
OpenAccessPath
>C:\tfs\SitefinityProject\Sitefinity 4.0\OfficialSDK\Content\Common\Dependencies\</
OpenAccessPath
>
</
PropertyGroup
>
<
Import
Condition
=
"Exists('$(OpenAccessPath)\OpenAccess.targets')"
Project
=
"$(OpenAccessPath)\OpenAccess.targets"
/>
Hello William,
Yes, you have to specify this path for every project using OpenAccess. Now that we released the SDK, if you create the module using the Visual Studio wizard, this will be done automatically for you.
Kind regards,