---
name: "UR::Object::View::Aspect"
section: "3pm"
platform: "linux"
package: "libur-perl"
version: "0.470+ds-3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/UR::Object::View::Aspect"
---

# UR::Object::View::Aspect(3pm)

a specification for one aspect of a view

## NAME

UR::Object::View::Aspect - a specification for one aspect of a view

## SYNOPSIS

```
 my $v = $o->create_view(
   perspective => 'default',
   toolkit => 'xml',
   aspects => [
     'id',
     'name',
     'title',
     {
        name => 'department',
        perspective => 'logo'
     },
     {
        name => 'boss',
        label => 'Supervisor',
        aspects => [
            'name',
            'title',
            {
              name => 'subordinates',
              perspective => 'graph by title'
            }
        ]
     }
   ]
 );
```
