# XMAPortal : How to edit an existing trial

If you want to edit the metadata for one single trial we recommend method A below. If you have multiple number of trials that you would like to edit the metadata for, then we recommend method B *(Notice only users who are Study PI(s), LabAdmin and Study Leader for a study have access to method B)*

**Method A : Edit one single trial metadata**

Editing of trial metadata is requested through a jQuery pop-up menu that shows up when you hover with your mouse over the tables.

Please click on the picture below to see an animation that shows how to edit the metadata for an existing trial. *Do Shift+reload page to start the animation from the beginning.*

![](/files/-M-QIYUOQM-fcgPhBZXs)

**Method B : Edit multiple trials' metadata (*****Notice only users who are Study PI(s), LabAdmin and Study Leader for a study have access to this task)***<br>

Since Jan 10, 2017 we also offer a method to edit multiple trial metadata. Please click on the picture below to see an animation that shows how to edit multiple trial metadata. *Do Shift+reload page to start the animation from the beginning.*

![](/files/-M-QIYUKzHr9g2qHIxTQ)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://gitbook.brown.edu/xromm/xromm-xmaportal-user-manual/xromm-how-to-edit-an-existing-trial.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
