---
title: "getWebLinkById"
canonical: "https://support.appfire.com/space/PSJ/15487205/getWebLinkById"
format: markdown
---
> Macro (aura-html)


|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | getWebLinkById(webLinkId) | **Package** |  |
| **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Retrieves information about a web link.

Retrieves information about a web link.

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| webLinkId | String | Yes | Id of a web link. |

## Return Type

**String []**

Array containing information about a web link, in the following order:

| Index in array | Information |
| --- | --- |
| 0 | Link Title |
| 1 | URL |
| 2 | Summary |
| 3 | Relationship |
| 4 | Icon URL |
| 5 | Icon Title |
| 6 | Status Icon Title |
| 7 | Status Icon Link |
| 8 | Status Icon URL |

## Example

```
number&nbsp;[] ids = getWebLinksForIssue(key);

for(number wlid in ids){
	string&nbsp;[] props = getWebLinkById(wlid);
	if(props[0] == theOtherKey) {
		deleteWebLinkById(wlid);
	}
}
```

## See also

> Macro (contentbylabel)