Personalized Community is here!
Quickly customize your community to find the content you seek.
Check out the latest Business Central updates!Learn about the key capabilities and features of Dynamics 365 Business Central and experience some of the new features.
Overview | Guided Tour | Free Trial
2022 Release Wave 2Check out the latest updates and new features of Dynamics 365 released from October 2022 through March 2023
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Community | FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
I want to copy the MediaSet content blob into an Blob on another table.
I researched about finding where the Blob is stored for the MediaSet and found that it's stored in 2000000184 and 2000000185 tables. When I got the MediaSet Guid using MEDIAID function, it didn't match the guids in either of the table. Thus, when I checked in table 2000000183 it matched to Is field and I got the Media Index. How do I use media index to fetch the Blob and copy in my record.
Below sample on getting item picture from media rec :
IF Item.Picture.COUNT = 0 THEN
FOR index := 1 TO Item.Picture.COUNT DO
IF MediaRec.Content.HASVALUE THEN BEGIN
MemoryStream := MemoryStream.MemoryStream();
Bytes := MemoryStream.GetBuffer();
Business Applications communities