Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Unanswered

Web Service API for Page whose source Table is Temporary

Posted on by 175
Hi Techis,

I have published a page in Web Service whose ‘source table of this page is temporary’.

Am I able to retrieve data using GET method and insert data using POST method?

I tried retrieving data using GET method API however the data is not retrieved May be because the data is not stored in Database, and it is stored in Memory?

Can anyone please share some knowledge on this?

Thanks in advance
Raj
  • Rajaneesh H Profile Picture
    Rajaneesh H 175 on at
    Web Service API for Page whose source Table is Temporary
    Thanks Yun Zhu. I will check on the hints you have given.
  • YUN ZHU Profile Picture
    YUN ZHU 69,639 Super User 2024 Season 2 on at
    Web Service API for Page whose source Table is Temporary
    For the processing of temporary tables, you need to do the same processing in the Trigger, such as OnOpenPage trigger, otherwise the data obtained from the Web Service will be empty.
    For example, the following example inserts Query data into a temporary table when the page is opened.
     
    Hope this can give you some hints.
    Thanks.
    ZHU

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

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

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,524 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,493 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans