> For the complete documentation index, see [llms.txt](https://docs.microting.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.microting.com/plugins/editing-a-plugin-windows.md).

# Editing a plugin - Legacy Windows

### Step 1:

Make the edits you want to do.

### Step 2:

When you have finished your editing. Do this:

```
%HOMEPATH%

cd Documents\workspace\microting

git clone https://github.com/microting/eform-angular-machinearea-plugin.git
```

### Step 3:

```
%HOMEPATH%

cd Documents\workspace\microting

Xcopy /X /O /H /K /E /I eform-angular-machinearea-plugin\eform-client\src\app\plugins\modules eform-angular-frontend\eform-client\src\app\plugins\modules
```

### Step 4:

```
%HOMEPATH%

cd Documents\workspace\microting

mkdir eform-angular-frontend\eFormAPI\Plugins
```

### Step 5:

```
%HOMEPATH%

Xcopy /X /O /H /K /E /I Documents\workspace\microting\eform-angular-machinearea-plugin\eFormAPI\Plugins Documents\workspace\microting\eform-angular-frontend\eFormAPI\Plugins
```

### Step 6:

Open eFormAPI.sln in your preferred IDE

![](https://firebasestorage.googleapis.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoZ83r0JmcK11jiNKAD%2Fuploads%2Fg5uaOUJzObQgelP4d4vS%2Ffile.png?alt=media)

### Step 7:

Unload all project in folder "Installation"

![](https://firebasestorage.googleapis.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoZ83r0JmcK11jiNKAD%2Fuploads%2Fa2MSCZOi3IjbNan5QViB%2Ffile.png?alt=media)

### Step 8:

![](https://firebasestorage.googleapis.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoZ83r0JmcK11jiNKAD%2Fuploads%2FF0AYEv6GZg3dHO2vuIHg%2Ffile.png?alt=media)

![](https://firebasestorage.googleapis.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoZ83r0JmcK11jiNKAD%2Fuploads%2FgAFSn3A85XlrqcDyigX3%2Ffile.png?alt=media)

#### OBS! After adding existing project. Remember to REBUILD SOLUTION!!!

### Step 9:

Open eform-angular-frontend -> eform-client in your preferred Typescript IDE.

![](https://firebasestorage.googleapis.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoZ83r0JmcK11jiNKAD%2Fuploads%2FltaXNq2VfSSeIDvKWekU%2Ffile.png?alt=media)

### Step 10:

Copy this in plugins.routing.ts

{

path: 'machine-area-pn',

canActivate: \[AuthGuard],

loadChildren: './modules/machine-area-pn/machine-area-pn.module#MachineAreaPnModule'

}

![](https://firebasestorage.googleapis.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoZ83r0JmcK11jiNKAD%2Fuploads%2FMSSA2qnyEYOrOAIqUdA2%2Ffile.png?alt=media)

### Step 11:

OBS! Remember to run eFormAPI.sln before running the command npm start on eform-client!

After running command go to localhost <http://localhost:4200/>&#x20;

```
%HOMEPATH%

cd Documents\workspace\microting\eform-angular-frontend\eform-client

npm start
```

### Step 12:

Go to advanced -> plugins and edit Machine Area Plugin and toggle on "Enabled"

Refresh page.

Enjoy!
