Get Image of the item.

devdronedevdrone Member Posts: 14
I want to get the image data of the picture in the item card's OnAfterGetRecord()

I tried
IF TenantMedia.GET(Item.Picture.ITEM(1)) THEN
But this is not executing.

Ive also tried
TenantMedia.GET(Item.Picture.MEDIAID)
Integer := Item.Picture.ITEM(1);

I want to get the TenantMedia data of the particular product on the page service call.

Answers

  • sorenhinrupsorenhinrup Member Posts: 136
    The imagefield is a BLOB field so it will need to be calcfield first
Sign In or Register to comment.