Skip to content

SkylineCommunications/Example-Event-Management-Backend

Repository files navigation

Event Management Backend Installer

Overview

The Event Management Backend Installer is an essential companion to the Skyline.DataMiner.Learning.EventManagement NuGet package. This installer automatically sets up all required DataMiner Object Model (DOM) definitions, enabling you to start managing events immediately.

This installer was created for Skyline Empower demonstrations and serves as a best-practice example for setting up SDM-based solutions in DataMiner.

What Does It Do?

The installer creates and configures:

  • DOM Module Definition: exampleventmgmt module with proper namespace and settings
  • Section Definitions: Structured schema for event data storage
  • Field Descriptors: Strongly-typed fields for all event properties (Name, Status, Type, Dates, Languages, etc.)
  • Status System: Pre-configured workflow states (Scheduled, In Progress, Completed, Cancelled)

All DOM structures are automatically aligned with the Event model from the backend NuGet package, ensuring seamless integration.

Why Do You Need This?

Before you can use the Example Event Management Backend API in your DataMiner scripts, the underlying DOM structure must exist on your DataMiner System. This installer:

Automates Setup: No manual DOM configuration required
Ensures Consistency: DOM structure matches the API models exactly
Saves Time: Deploy in seconds instead of hours of manual work
Prevents Errors: Eliminates human error in DOM definition creation
Enables Updates: Safely updates DOM structure when the backend evolves

How to Use

Prerequisites

  • DataMiner version 10.5.9 or higher
  • DOM available and accessible on your DataMiner System

Example After Installation

using Skyline.DataMiner.Learning.EventManagement.ApiHelpers;
using Skyline.DataMiner.Learning.EventManagement.Models;

// Initialize the API helper with your DataMiner connection
var eventApi = new EventApiHelper(engine.GetUserConnection());

// Create a new event
var newEvent = new Event
{
    Identifier = Guid.NewGuid().ToString(),
    Name = "Skyline Empower 2025",
    Type = EventType.Advanced,
    Status = EventStatus.Requested,
    StartDate = DateTime.Now.AddMonths(1),
    EndDate = DateTime.Now.AddMonths(1).AddDays(3)
};

// Store the event
eventApi.Events.Create(newEvent);

// Retrieve all events
var allEvents = eventApi.Events.Read(new TRUEFilterElement<Event>());

// Update an event
newEvent.Status = EventStatus.Processing;
eventApi.Events.Update(newEvent);

About DataMiner

DataMiner is a transformational platform that provides vendor-independent control and monitoring of devices and services. Out of the box and by design, it addresses key challenges such as security, complexity, multi-cloud, and much more. It has a pronounced open architecture and powerful capabilities enabling users to evolve easily and continuously.

The foundation of DataMiner is its powerful and versatile data acquisition and control layer. With DataMiner, there are no restrictions to what data users can access. Data sources may reside on premises, in the cloud, or in a hybrid setup.

A unique catalog of 7000+ connectors already exists. In addition, you can leverage DataMiner Development Packages to build your own connectors (also known as "protocols" or "drivers").

Note See also: About DataMiner.

About Skyline Communications

At Skyline Communications, we deal in world-class solutions that are deployed by leading companies around the globe. Check out our proven track record and see how we make our customers' lives easier by empowering them to take their operations to the next level.

About

Example backend abstraction for event management demonstrating best practices for SDM-based solutions.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages