Recent Posts
List of Podcasts related to Business Central
I enjoy listening to podcasts while walking the dog or doing stuff in the garden.
Here’s a list of podcasts related to Business Central that I listen to from time to time.
Techman talks Dynamics A Shot of Business Central and A Beer Business Central Manufacturing Show The Innovia Conversation Steve reads hes blog This is not strictly BC podcast but talks also about BC and I like it anyway Know any more podcast’s that Im not aware of yet?
read more
Reading XML into Business Central with Base64 strings (pictures)
I recently had assignment where I had XML file with ID’s and Base64 images and I had to import it against Business Central Records.
I thought it will take like an hour and I be done with it but it was more complicated then I thought.
So I thought I might share my solution if anybody needs to do the same.
The solution uses XmlPort and imports base64 as bigtext. Then its converted to blob and streamed into the employee.
read more
How to add automatic CC for emails sent out from Business Central via SMTP
Here’s a small snippet on how add automatic CC for all outgoing emails from Business Central via SMTP.
This methods also works when you want to change To or Bcc or even email subject or body.
This code example below checks if user has email setup and if it has then uses that email to add as CC for all outgoing emails.
[EventSubscriber(ObjectType::Codeunit, Codeunit::"Mail Management", 'OnBeforeSentViaSMTP', '', false, false)] local procedure AddCCToEmail(var SMTPMail: Codeunit "SMTP Mail") var UserSetup: Record "User Setup"; SendToCcList: List of [Text]; begin if UserSetup.
read more