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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Forums / Finance forum / How do you create a re...
Finance forum

How do you create a resource object in code?

(0) ShareShare
ReportReport
Posted on by 1,677
Hi everyone
Is there a way to create a resource object (like an AOT resource object) in code?
I found the ResourceNode class which allows you to deal with an existing AOT resource liek this (community.dynamics.com/.../253411), but is there code that allows you to create a resource in code, and then use it?
I've tried things like:
ResourceNode resNode = new ResourceNode('Resource');
resNode.filename(filename);
but this doesn't work.
I'm also trying to create a resource in the AOT, and then change its content in code.
I'm not sure it's possible, but just want to check...
Thanks
  • Verified answer
    André Arnaud de Calavon Profile Picture
    307,271 Super User 2026 Season 2 on at

    Hi Brandon,

    The development environment has been separated from the user experience. You can read resource meta data, but there is no support to create a resource node in Microsoft Dynamics 365 for Finance and Operations.

  • Jie G Profile Picture
    Microsoft Employee on at

    Hi BrandonSA,

    Are you trying to create a resource object from a label file?

    If so, you can try to add a new item in the project, select "Labels And Resources" -> Resource -> "select a resource file"

    resource.png

  • BrandonSA Profile Picture
    1,677 on at

    Thanks Andre

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Finance

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans