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

Community site session details

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

Item attachment section (notes) - Load data into Power BI

(0) ShareShare
ReportReport
Posted on by 40

Hi,

I'm trying to load data from the attachment section of an Item (notes, marked in red below) into Power BI but I can't find that page in webservices to get the data from.


I saw on another post that there's a table called "Record Link" but I can't find that table in Webservices. Is it because I don't have the access to it or it's really not available to be read via odata?

pastedimage1661454148193v1.png

Thanks,

Mariana

I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    95,307 Super User 2025 Season 2 on at
    RE: Item attachment section (notes) - Load data into Power BI

    Hi, Standard Web Services and APIs do not correspond to all tables in the system. If you need to, you can create new pages and publish them to Web Services, or create APIs pages directly. I personally recommend APIs pages because its performance is much better than OData.

    Hope this helps.

    Thanks.

    ZHU

  • Suggested answer
    JAngle Profile Picture
    131 on at
    RE: Item attachment section (notes) - Load data into Power BI

    This is a good guide on how to get the data. As Yun as said an api page is required/best future plan. The code in the post could be adapted to retrieve the details in an api page

    https://thinkaboutit.be/2019/03/how-do-i-use-record-notes-in-an-al-page-or-report/

  • Suggested answer
    Steven Renders Profile Picture
    5,672 Moderator on at
    RE: Item attachment section (notes) - Load data into Power BI

    APIs are 'faster' then web services in theory, but behind the scenes both are odata ;-)

    Queries are in many cases better then pages because queries can aggregate data (group-by & sum).

    Images/Notes in Record links are stored encoded, so even if you create an API/webservice it might not work in Power BI.

  • Suggested answer
    JAngle Profile Picture
    131 on at
    RE: Item attachment section (notes) - Load data into Power BI

    You get results using the code Steven provided in his blog. However, it is doubling up on the results so that part needs a review at least:

    pastedimage1661526940361v1.png

    In my case the doubling up is down to some bad data. In any case it is probably best to have an additional filter in place on the recordlink table like so:

    RecordLink.SetRange("Record ID", MyRec.RecordId());
    RecordLink.SetRange(Type, RecordLink.Type::Note);
    //New filter to isolate notes only from the current company context
    RecordLink.SetRange(Company,CompanyName);

  • mmarques Profile Picture
    40 on at
    RE: Item attachment section (notes) - Load data into Power BI

    Thank you Josh! Great that you got it to work... I'm sorry but I'm a bit lost even after Steven's article. Did you connect to Power BI via webservices?

  • Suggested answer
    JAngle Profile Picture
    131 on at
    RE: Item attachment section (notes) - Load data into Power BI

    I created an api page and connected to that. I’d get support from someone technical so you can do similar.

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,377

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 2,696 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,512 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans