alguidelines/content/docs/NAVPatterns/3-cal-coding-guidelines/ux/actions-images/index.md
2022-02-24 14:45:35 +01:00

24 lines
392 B
Markdown

+++
title = "Actions - Images"
weight = 200
tags = ["C/AL"]
categories = ["Best Practice"]
+++
All actions must have an image assigned to them.
Bad code
```al
{ 7 ;1 ;Action ;
CaptionML=ENU=Customer - &Balance;
RunObject=Report 121 }
```
Good code
```al
{ 7 ;1 ;Action ;
CaptionML=ENU=Customer - &Balance;
RunObject=Report 121 }
Image=Report }
```