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

I am facing an issue with NavApp.GetResource()

(6) ShareShare
ReportReport
Posted on by 132
I created src folder and then created Images folder init.
 
src
-Images
 
to get the access to the resources, I gave 
 
I didnt get any error for resourcefolders and 
 
called the GetResource when I open the project setup
 
 
I am successfully able to get the resource in my demo tenant and created container. but when it comes to the QA server, it is getting failed.
Image
 
How can we make this right, can anyone please suggest the answer. is there any permission required or is there any mistake in my development.
 
I have the same question (0)
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    20,975 Super User 2025 Season 2 on at
    Not able to see your image. could you share the failed message? 
     
     
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    20,975 Super User 2025 Season 2 on at
  • Verified answer
    Dyavari Sandeep Yadav Profile Picture
    132 on at
    thanks for quick response @Khushbu Rajvi
     
    So, after few minutes of research, so I am getting this error on version:  25.0.23364.24969, but there is slightly difference between my container version 25.0.23364.33083,
  • Suggested answer
    Kamal Khakhkhar Profile Picture
    1,394 on at
    Hii there,
    As per requirement please update your extension version to new. Or else try as per blog of @yun zhu .
     
    Attached link for reference.
     
     
     
    Try as per like this as per in this he mentioned the same error like this .. it can help to solve it .
     
    If you found answer please mark it answered.
     
     
    Thank You.
    Kamal Khakhkhar 
  • Suggested answer
    Ramesh Kumar Profile Picture
    7,529 Super User 2025 Season 2 on at
    I think just double check  you've declared your image resource properly in the app.json or used the correct syntax in your code. For AL: The images must be set as Resource BuildAction in Visual Studio Code (happens automatically if under src/). You can access resources using GetResourceStream or by referencing them in controls like Image = 'Images/logo.png'.
     
    Thanks
    Ramesh
     
    If this was helpful, please check the "Does this answer your question?" box and mark it as verified.
  • Vahid Ghafarpour Profile Picture
    12,202 Super User 2025 Season 2 on at
    If any of the responses helped resolve your issue, please take a moment to mark the best answer. This helps others in the community quickly find solutions to similar problems.

    To do this, simply click the "Does this answer your question?" button on the most helpful response and like the helpful posts. If your issue is still unresolved, feel free to provide more details so the community can assist further!

    Thanks for being an active part of the Dynamics 365 Community! 😊
  • Verified answer
    YUN ZHU Profile Picture
    95,803 Super User 2025 Season 2 on at
    The last time I encountered this problem, it was with the AL version, not the new one. Please upgrade to the latest released version and try again.
     
    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

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 1,775

#2
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 745 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 538 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans