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.

Web Security for Sitefinity Administrators

The free standalone Web Security lesson teaches administrators how to protect your websites and Sitefinity instance from external threats. Learn to 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