Create a news item with the Native API
Use the code example below to create a news item and to set its Title and Content with the Native API.
In the example below, you perform the following:
- Define the language culture of the news item.
- Get an instance of the NewsManager class.
- Set the properties of the news item object.
- Set the state to the news item to published.
- Save the changes with the news manager.
Create a news item with the Native API