AL icon indicating copy to clipboard operation
AL copied to clipboard

DataCaptionFields property not working on Document Page

Open daansaveyn opened this issue 6 years ago • 4 comments

Explanation:

The DataCaptionFields property doesn't work when used on a page of type "Document". When the property is move to the table it's working fine.

Expected behavior:

This should also work when specified only on the page.

Screenshots:

DataCaptionFields specified on page level: image

Result: image

DataCaptionFields specified on table level: image

Result: image

Versions:

  • AL Language: 2.1.86206
  • Business Central: W1 14.0 (27727)

daansaveyn avatar Mar 19 '19 13:03 daansaveyn

Hi daansaveyn,

You can use DataCaptionExpression property in page. It worked on page.

e.g DataCaptionExpression = ShowCaption();

procedure ShowCaption() : text begin EXIT("No."); end;

Tonygithub17 avatar Mar 20 '19 02:03 Tonygithub17

Facing similar issues in BCoP 14 with fields having a DataCaptionClass. They render in the RTC, but not in the webclient on cardPart pages used in the FactboxArea.

image

fvet avatar Jul 19 '19 10:07 fvet

@daansaveyn

Is this still an issue with the latest vsix?

kalberes avatar Nov 30 '21 12:11 kalberes

This is still an issue.

Page type card. DataCaptionFields is set and ignored. DataCaptionExpression with the same fields works.

mjmatthiesen avatar Mar 21 '22 22:03 mjmatthiesen