Quick Access

How to create a link to quick access an edit page. May require Option Type E

The native access field makes a selected value link to the row's edit destination. Configure the owning edit option when using E and select every wildcard column.

$editOption = [
    'link'=>getPath('CATALOG','ITEMS','EDIT ITEM','FU','%ITEM_ID%'),
    'icon'=>'<i class="far fa-folder-open"></i>', 'title'=>'Open item'
];
$td_fields = [[
    'type'=>'access', 'col'=>'NAME',
    'format'=>$editOption['link'], 'title'=>'Open item',
    'icon'=>'<i class="far fa-folder-open"></i>',
    'class'=>'', 'attributes'=>''
]];

The hierarchy, NAME and ITEM_ID are placeholders for the owning registered schema. format, icon and title override the edit-option defaults. Use one full field definition per td_fields entry. With legacy shorthand, add access:NAME directly to td_fields; do not push an array of unrelated shorthand fields as one field. Full arrays are preferred. Authorize the destination independently.