web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

HOW TO USE LIST OF [TEXT] AS A PARAMETER IN CreateMessage METHOD IN BC 150

(0) ShareShare
ReportReport
Posted on by

/api/data/v9.1/msdyn_richtextfiles(AF24DB3E-D115-485F-9E17-B5409F653041)/msdyn_imageblob/$value?size=full

Hi,

I want to send mail after the inventory of item reaches minimum level.

I don't have any issue with that except for the two above CreateMessage Methods  highlighted above.

How should I use Recipient of Datatype "List of [Text]" in the second version of CreateMessage Method? I need to use Recipient of "List of [Text]" since the first CreateMessage Overload gives me the following error message:

"Method 'CreateMessage' is marked for removal. The method is obsolete. Call the other CreateMessage instead".

I want to use the second CreateMessage Method using Recipient of Datatype "List of [Text]".

Any help please?

Thanks in advance.

I have the same question (0)
  • Suggested answer
    THE Italian Profile Picture
    on at

    Duplicate of community.dynamics.com/.../1046075

    Please, mark this as answered.

  • Suggested answer
    Chameera Kavinda Profile Picture
    510 on at

    Hi,

    You can define the variable as the below image

    3051.PNG

    Then you can fill the list like this.

    5327.PNG

    then you can call the method

    2313.PNG

    Thank you.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,151

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,443 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,092 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans