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 a BLOB field in a query

(0) ShareShare
ReportReport
Posted on by 321

I'm creating an integration between CRM and BC using the Notes table attached to a resource. There are a number of records associated to a specific resource which are recorded in the RecordLinks table, and the goal is to be able to read the note text via a Web Service to then move that data into CRM.

When I create a query based on the RecordLinks table, it fails on rendering in the page (?query=XXXXX) whenever the BLOB field is included. I'm assuming I need to somehow convert the BLOB contents (which is a very long text string) into something else to be able to publish it to the query, however I'm not sure how to actually do so. The MS documentation hasn't helped, and reaching out to MS support on this suggests asking the community, so I'm not sure if that means it's not possible to do or they just don't have an answer on how to. Hoping somebody here has run into this before.

Short version of the question is, how do I interact with a BLOB field in a query?

Any direction/insight/suggestions is appreciated.

Thanks

Garrett

  • Suggested answer
    JAngle Profile Picture
    JAngle 63 on at
    RE: How to use a BLOB field in a query

    This blog may help you: joshanglesea.wordpress.com/.../

    I had a similar scenario but with the item field. If you convert it to base64 you can pass it as a text variable in a query

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans