Templateimporter installation
Has anybody been able to install the Templateimporter in v. 4.4 ?
I have now spent 2 days on this, and I'm about to give this up.
Atle
Hi Atle,
Hello,
Can you describe the problem that you're experiencing during installation? The required steps are the same as for the previous versions of Sitefinity. Take a look at this forum post for detailed information. In short, all you need to do is to add the Template importer project to your solution (you can find it navigating to SDK->Content->Common ->SharedProjects -> TemplateImporter), add a reference from your Sitefinity project to the Template importer project and then register the Template importer in the backend as shown in the screenshot.
Greetings,
Jen Peleva
the Telerik team
I finally got it working! Don't know how many attempts..
My final solution was to compile the Templateimporter project separately, copy the Templateimporter.dll to the bin folder of my project and register the dll. (I did this several times before without getting it to work, but yesterday it did. Why I dont know).
Then under ApplicationModules this combination workes:
Name: TemplateImporter
Item Title: TemplateImporter
ModuleSettingsDescription: TemplateImporter
Global resource class ID: TemplateImporter.Localization.TemplateImporterResources
Type: TemplateImporter.TemplateImporterModule
StartupType: OnApplicationStart
Atle
Hello Atle,
I'm glad that you've managed to install the template Importer successfully. Here's a quick summary of the installation steps:
1. Open your Sitefinity project in Visual Studio
2. Add existing project -> TemplateImporter.csproj
3. Add reference to your Sitefinity project from the TemplateImporter project (which is practically what you did by copying the templateImporter.dll to your Bin)
4. Build the solution.
5. Register the Template Importer in the Backend. (Administration - > System -> ApplicationModules)
All the best,
Jen Peleva
the Telerik team
Hello Jen, can you please explain step 3. I do not know you to "add reference ...." Regards, Robert
I did it this way:
1. Open the TemplateImporter project from SDK and build. This creates the Templateimporter.dll. Close project.
2. Open your project and add reference to the newly created TemplateImporter.dll
3. Build your project.
4. Register the TemplateImporter in the backend
Hello,
@Atle, what you did is also correct, but the Template importer project is already available if you got to: SDK -> Content -> Common -> SharedProjects -> TemplateImporter.
@Robert, by referencing I mean when you have your Sitefinity project opened in Visual Studio and the template importer project included to the solution, right-click on Reference -> Add reference -> Projects and choose the Template Importer. This way you allow Sitefinity to use the TemplateImporter.dll.
Note that after you register the template Importer in the backend you need to restart your application (re-save your web.config) in order to see the changes.
All the best,
Jen Peleva
the Telerik team
Hi Robert,
The reason why we haven't implemented the Template Importer as well as other useful features that come with the SDK is that we're trying to maintain a certain size of the package, which is important when it comes to deployment. However, I will report your suggestion and the implementation of the Template importer will be put into consideration.
Regards,
Jen Peleva
the Telerik team