Create the Conference add-on
-
Review items to be exported. These include the following:
- Conferences, Speakers, and Sessions dynamic modules, built with the Module builder
- Sample dynamic content items.
- Home page – sample page with Filtered Sessions widget.
- Sessions, Conferences, and Speakers pages – pages that open when you click an item on the Home page.
- Filtered Sessions widget – the custom widget that is used to demonstrate how to export custom code.
-
Navigate to Administration » Export.
-
Select the following:
- Conferences dynamic module
- Speakers dynamic module
- Sessions dynamic module
- Pages
-
Name the add-on folder
Conferences -
Click Export.
All selected items are exported to folder~\App_Data\Sitefinity\Export\ConferencesandConferences.nuspecfile is generated automatically including all exported files. -
Modify the
.nuspecfile in the following way:- Include the following:
XML
<!--Include the MVC folder in the NuGet package, under <files> tag, add the following:--> <file src="<your_local_project_path>\Mvc\**\*.*" target="content\Mvc" /> <!--Add a dependency to Telerik.Sitefinity.All, by adding the following inside the <metadata> tag:--> <dependencies> <group targetFramework="net45"> <dependency id="Telerik.Sitefinity.All" version="9.2.6200.0" /> </group> </dependencies> - Inside the
<metadata>tag, update the<authors>,<owners>, and<description>elements.
- Include the following:
-
Generate NuGet package by opening a command prompt and navigating to your project’s
~\App_Data\Sitefinity\Exportfolder and executing the following command:
nuget pack Conferences.nuspecFor more information, see Create the NuGet package
Want to learn more?
Enhance your Sitefinity skills by enrolling in free training sessions. Become Sitefinity certified through Progress Education Community to strengthen your professional credentials.
Get started with Integration Hub | Sitefinity Cloud
This free lesson teaches administrators, marketers, and other business professionals how to use Sitefinity Integration Hub to create automated workflows between Sitefinity and other business systems.
Web Security for Sitefinity Administrators
This free lesson teaches administrators the basics about protecting your Sitefinity instance and your sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.
Foundations of Sitefinity ASP.NET Core Development
The free on-demand video course teaches developers how to use Sitefinity ASP.NET Core and take advantage of its decoupled architecture and modern development model.