# uip rpa indicate-element

> `uip rpa indicate-element` invokes Studio's on-screen element indicator and stores the result as an element entry in the project's Object Repository, attached to a previously indicated screen or parent element. Use it to grow the Object Repository tree once the parent screen is in place via [`uip rpa indicate-application`](./uip-rpa-indicate-application.md).

`uip rpa indicate-element` invokes Studio's on-screen element indicator and stores the result as an element entry in the project's Object Repository, attached to a previously indicated screen or parent element. Use it to grow the Object Repository tree once the parent screen is in place via [`uip rpa indicate-application`](./uip-rpa-indicate-application.md).

Studio drives the indicator UI, so the verb requires a Windows runner.

## Synopsis

```
uip rpa indicate-element [--name <string>] [--parent-id <string>] [--parent-name <string>] [--description <string>] [--activity-class-name <string>]
```

## Options

| Flag | Description |
|---|---|
| `--name <string>` | Name for the element as it will appear in the Object Repository. |
| `--parent-id <string>` | Reference ID of the parent screen or element. Takes priority over `--parent-name`. |
| `--parent-name <string>` | Name of the parent screen or element. Used when `--parent-id` is not provided. |
| `--description <string>` | Optional description for the element. |
| `--activity-class-name <string>` | Activity class name associated with the element. |

For the complete option list on your installed tool version, run:

```bash
uip rpa indicate-element --help
```

## Examples

```bash
# Add a "SubmitButton" element to the "LoginScreen" screen
uip rpa indicate-element \
  --name SubmitButton \
  --parent-name LoginScreen \
  --activity-class-name UiPath.UIAutomationNext.Activities.NClick

# Add a child element using an explicit parent ID
uip rpa indicate-element \
  --name UsernameField \
  --parent-id 7c8a4d2e-1f3b-4c8d-9b1f-9f6dd2c4f6d2 \
  --description "Username input on the login screen"
```

## Related

- [`uip rpa indicate-application`](./uip-rpa-indicate-application.md) — indicate the parent screen first, before its child elements.

## See also

- [RPA tool overview](./uip-rpa.md)
- [Global options](./global-options.md)
- [Exit codes](./exit-codes.md)
