Adding Create Actions [Advanced]
  • Updated on 09 Dec 2013
  • 1 minute to read
  • Print
  • Dark
    Light

Adding Create Actions [Advanced]

  • Print
  • Dark
    Light

There are 2 mechanisms for adding 'add actions' to a folder.

1. Adding this interface to a 'service' that is created.
If you want to grant users the ability to create these entities in any folder, create actions:

 using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DecisionsFramework.ServiceLayer.Services.Folder;
using DecisionsFramework.ServiceLayer.Utilities;

namespace ClassLibrary_AddingCreateActions
{
    public interface IBaseEntityActivationService
    {
        /// <summary>
        /// 
        /// </summary>/// <param name="folder">/// <param name="usercontext">/// <returns></returns>IBaseEntityActivationService[] GetCreateMethods(Folder folder, AbstractUserContext usercontext);
    }
}

2. Creating entity action factory registered to 'folder'

Was this article helpful?