# \_setEditNotesInPortal

Sets the "edit notes in customer portal" field.

### Parameters

#### id

The ID of the File being modified.

#### val

Integer value which decides if the field is enabled:\
0 => disabled\
1 => enabled

### Example

```
FM_api('File_setEditNotesInPortal',[
    'id'=>'427226',
    'value'=>'1'
  ]
);
```

#### On Success

```
{"ok":1}
```

#### On Failure

If the "id" parameter is less than 1 or not given a value:

```
{"error":"missing or invalid parameter: id"}
```
