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...
Answered

Run Query Object in Sandbox

(3) ShareShare
ReportReport
Posted on by 71
Hello everyone
I think this is a beginner's question, appreciate your help!We just moved to BC from NAV 2018. I'm NOT a developer.
In 2018 Dev Env, I could make queries, run them and Ctrl+E to take to Excel
Now I'm learning how to write queries in AL language in Visual Studio
 
I'm using Erik Hougaard's tutorial to test, I'm trying to run the query but the sandbox environment doesn't open, what eventually happens is the Hello world test opens instead
My question: am i missing some permission or access? Or, some other simple step?
 
When Query opens in Sandbox, will I be able to use Edit in Excel?
 
It's only me who uses these queries, and the fields used are changing so i don't need to make them accessible for all users in BC.
Just being able to extract the data from Sandbox will be enough
 
Thank you in advance
LH
Extension does not publish.jpg
I have the same question (0)
  • Suggested answer
    Suresh Kulla Profile Picture
    50,245 Super User 2025 Season 2 on at
    You need to add an action on the page, to run the query, see example in this link at the end where an action is added to Item List page, you need to do similar
     
  • Verified answer
    YUN ZHU Profile Picture
    95,729 Super User 2025 Season 2 on at
    Hi, hope the following helps.
    Dynamics 365 Business Central: How to make a query searchable (Add Query to Tell me)
     
    Dynamics 365 Business Central: QueryCategory property – Smartlist? (Execute Queries from Pages)
     
    Thanks.
    ZHU
  • Gerardo Rentería García Profile Picture
    25,236 Most Valuable Professional on at

    Hi, good day
    I hope this can help you, and give you some hints.

    how to limit the access to the sandbox for an user.

    Best Regards
    Gerardo

  • LH-07011645-0 Profile Picture
    71 on at
    Thank you Gerardo, Suresh and Zhu, very helpful pointers. 
     
    Thanks to your help, and especially Zhu's article, (which on reading I also could not wait to try), I think the problem has been solved
     
    Best
    Louise

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 2,135

#2
YUN ZHU Profile Picture

YUN ZHU 733 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 612

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans