Create news items

This topic explains how to create a news item.

When creating a news item, you must perform the following steps:

  1. Check whether the news item already exists.
    Before you create the news item, you must check whether an item with the same ID already exists.
  2. Create the news item.
    If the news item does not exist, you create a new news item with the specified ID.
  3. Set the required properties.
    When creating a new news item, we recommend setting at least the following properties:
    • Title
    • Content
    • LastModified
    • DateCreated
    • UrlName
    • You can also set any properties, such as Author or Summary.
  4. Save the news item.
    Save all changes that you have made to the news item.
  5. Publish the news item.
    You publish the news item using the workflow manager.

Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.

Get started with Integration Hub | Sitefinity Cloud | Sitefinity SaaS

This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.

Web Security for Sitefinity Administrators

This free lesson teaches administrators the basics about protecting yor Sitefinity instance and its 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 .NET Core and leverage its decoupled architecture and new way of coding against the platform.

Was this article helpful?

Next article

Query news items