Loading
Uniconta
Search
Generic filters
Free trial signup
  • Visit a Country Site
    • Dansk
    • Deutsch
    • Eesti
    • Íslenska
    • Lietuvis
    • Nederlands
    • Norsk
    • English
  • Search
  • Uniconta
    • What is Uniconta ?
    • Modules
    • Ledger
    • Customer
    • Sales Order
    • Vendor
    • Purchase
    • Inventory
    • Logistics
    • Project
    • Light Manufacturing
    • CRM
    • Fixed assets
    • Dashboard
    • Company
    • Adaptability
  • Download
    • Uniconta for Windows
    • Uniconta for Mac
    • Download for Developers
    • Free trial signup
  • Resellers
    • Find a reseller
    • Become a reseller
    • Partner Portal Login
    • Partner Portal sign up
  • Developers
    • Become an integration partner
    • Documentation
    • Samples
    • Downloads
  • Accountants
    • Become a Univisor
  • News Overview
    • Blog
    • News
    • Uniconta Update
    • Customer cases
  • About us
    • About us
      • Management
      • Contact
      • IT Security ISAE 3402
      • System status
    • Terms & Conditions
      • License Agreement
      • Data Processing Agreement (DPA)
      • Privacy policy
      • Cookie policy
      • Sub-processors

Developers Unipedia

  • API
    • API
    • User defined fields
    • User defined tables
    • Saving a Session
    • Posting an Invoice
    • Post Invoice and get PDF
    • Localization
    • Attach physical voucher to entities
    • Server-Login User
    • How to find C# Property from Uniconta Label
    • Minimize network traffic and optimize speed
  • Plugins
    • Plugins
    • Debug Uniconta Plugins
    • Refreshing UI with plugins
    • How to use Uniconta Plugin
    • Develop a user plugin
    • Event Handling
    • Global Script
    • How to capture menu events
    • How to open a form in Uniconta from Plugin
    • Open new content in a IContentPluginBase plugin
    • Adding plugin in a menu
    • How to add user parameter in plugin menu
    • How to create plugin with Devexpress Library
    • Synchronize Entity Support in form page
    • Develop a PageEventBase Plugin
    • Logging Exceptions on local machine
    • Create Custom Uniconta Pages From Github Code
  • OData
    • CRUD operations in OData
    • ODATA REST API – Testing with Postman

Develop a user plugin

645 1,037 May 24th, 2017 January 7th, 2021
Print Friendly, PDF & Email

Introduction

User Plugins allow easy modification, customization and enhancement of Uniconta. It lets you easily add new functionalities without changing the core application code.

Plugin Interface

Plugin Interface is a part of Uniconta’s Windows API. It can be found under Uniconta.WindowsAPI > API > IPluginBase.cs

Create a new plugin by implementing this interface.

//Summary
//Interface IpluginBase to be implemented for creating plugin dll
//Summary
public interface IPluginBase {
  //summary
  // The Name method to get the name
  //summary
  string Name {
    get;
  }

  //summary
  // The GetDescription method to get the error description
  //summary
  //Returns string
  string GetErrorDescription();

  ////summary
  //// The Execute method to execute on the basis of parameter passed
  ////summary
  ////Params UnicontaBaseEntity master :- To pass the master table
  ////Params UnicontaBaseEntity currentRow :- To pass the current row
  ////Params IEnumerable source :- To pass List of UnicontaBaseEntity
  ////Params String Command :- pass the command
  ////Params String args :- pass the argument
  ////Returns ErrorCodes
  ErrorCodes Execute(UnicontaBaseEntity master, UnicontaBaseEntity currentRow, IEnumerable source, string command, string args);

  //summary
  // The SetMaster method for setting the master for the entity
  //summary
  //Params List<UnicontaBaseEntity> masters :- pass the master
  void SetMaster(List & lt; UnicontaBaseEntity & gt; masters);

  //summary
  // The SetAPI method to set the api for query database
  //summary
  //Params BaseAPI api :- pass the api
  void SetAPI(BaseAPI api);

  //summary
  // The OnExecute Event to perform some event
  //summary
  //returns event
  event EventHandler OnExecute;

  //summary
  // The Initialize Event to initialize values
  //summary
  void Intialize();

  ////summary
  // Get the names of dependent assemblies used by plugin
  ////summary
  string[] GetDependentAssembliesName();

}

 

Sample Plugin

You can download our sample plugin for Uniconta from here

Creating a Plugin

Plugin Name / Prompt

Define a appropriate name for your plugin that will suit on what exactly your plugin will do.

Control

Specify the Control Name (Page Name) that your plugin will be displayed on.

Class

You can make your own class to extend the functionality of your plugin

Command & Argument

You can specify two parameters (Command and it’s argument) that will be executed when your plugin is running.

Saving your Plugin

Building your plugin project will generate a dll. It can be added on a default Uniconta Plugin directory C:\Uniconta\PluginPath or on any custom path defined by user. To change the plugin path in registry, please follow the instructions from here

Event Handling

Please go to this page to find a detailed description on how to handle an event.

Categories: Developers Unipedia, Plugins

Get in touch with us

Uniconta

  • Uniconta
  • Modules
  • Downloads
  • Free trial signup
  • Subscription Terms
  • System Status

PARTNER

  • Become a Reseller
  • Become App Partner
  • For Developers
  • For Accountants (Univisor)
  • Uniconta Partner Portal

INFO

  • News
  • Updates
  • Customer cases
  • Video
  • IT Security
  • About us
  • Management

Support

  • Unipedia
  • API information
  • Contacts
  • Visit a Country Site
    • Dansk
    • Deutsch
    • Eesti
    • Íslenska
    • Lietuvis
    • Nederlands
    • Norsk
    • English
Uniconta
© Copyright 2019 | All rights reserved | info@uniconta.com | Terms & Conditions
Facebook Twitter LinkedIn Youtube