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

Announcements

News and Announcements icon
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 152
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
    22,938 Super User 2026 Season 1 on at
    Not able to see your image. could you share the failed message? 
     
     
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    22,938 Super User 2026 Season 1 on at
  • Verified answer
    Dyavari Sandeep Yadav Profile Picture
    152 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
    3,454 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,566 Super User 2026 Season 1 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,266 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
    102,023 Super User 2026 Season 1 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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,691 Super User 2026 Season 1

#2
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 1,095 Super User 2026 Season 1

#3
YUN ZHU Profile Picture

YUN ZHU 1,069 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans