Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

How to upload image for released product by AIF

Posted on by 170

I'm creating an integration, using AIF and C#. I can create the products and released products, but I don't know how to add the image. Could you help me?

*This post is locked for comments

  • Martin Dráb Profile Picture
    Martin Dráb 230,198 Most Valuable Professional on at
    RE: How to upload image for released product by AIF

    I assume you're talking about document services.

    I don't remember if there is anything in the standard application, but it's definitely doable. For instance, your document service can have a string field, where you put the image encoded with Base64. Then you can decode the string in X++ and set the actual image field on the table.

    Also, I see DocumentHandlingService in the list in standard document service. You can check out how they do it there.

    An alternative is using a document service, where you can use an array of bytes.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans