---
title: "SDK: Adding Create Actions (Advanced)"
slug: "adding-create-actions-advanced"
description: "This document outlines the two methods users can use to add the Add Actions action to a folder; adding the shown interface to a service that is created, and creating an entity action factory that is registered to a folder."
updated: 2026-04-27T20:46:52Z
published: 2026-04-28T14:13:01Z
canonical: "documentation.decisions.com/adding-create-actions-advanced"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SDK: Adding Create Actions (Advanced)

New Actions can be created. Below are two examples.

Adding this interface to a 'service' that is created.

```csharp
public class MyEntityService : BaseEntityService<MyEntity>
{
   public override BaseActionType[] GetCreateMethods(Folder folder, AbstractUserContext userContext)
   {
       List<BaseActionType> actions = new List<BaseActionType>();
      
       return actions.ToArray();
   }
}
```

Creating entity action factory registered to 'folder'.

```csharp
public class MyEntityService : BaseEntityService<MyEntity>
{
   public virtual void Initialize()
   {
       EntityActionFactoriesHolder.GetInstance().RegisterObjectForType(typeof(Folder), new MyFolderActionFactory());
   }
}

public class MyFolderActionFactory : IEntityActionFactory
{
   public BaseActionType[] GetActions(AbstractUserContext userContext, EntityActionType[] actionTypes, IPlatformEntity target, string entityId)
   {
       List<BaseActionType> list = new List<BaseActionType>();
      
       return list.ToArray();
   }
}
```
