Developer Function: Script: $p.selectedIds
## Overview
This is an explanation of the method to get an array of IDs of the target records checked on the "「List Screen」".
## Compatible Versions
1. Pleasanter 1.2.14.0 or later
1. Pleasanter .NET Framework version 0.50.277 or later
## Syntax
##### JavaScript
```
$p.selectedIds();
```
## Usage Example
1. In the Script tab of the table management screen, set the output destination to "「List」" and set the following.
##### JavaScript
```
$p.events.before_send_OpenExportSelectorDialogCommand = function (args) {
console.log($p.selectedIds());
}
```
2. Check any record on the list screen.
3. Press the Export button.
##### Result
An array of IDs of the target records checked on the list screen is obtained.
```text
[
11111,
33333,
55555
]
```
## Related Information
<div id="ManualList">
<article class="s-blog_list_unit"><h2>
<h2>The specified information was not found.</h2>
<p><a href="/ja/manual">Return to top</a></p>
</article>
</div><input id="SearchTextHidden" type="hidden" value="" />