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 :
Microsoft Dynamics AX (Archived)

Hide compiler output form

(0) ShareShare
ReportReport
Posted on by 130

Dear experts,

I built a function to import resource file into AX, after successfully imported, the system will have to compile that new resource. But our customers they don't want to see the compile output form and want to hide it. Is it possible doing that? The system will still compile the resource but do not print out the compile output form?

1854.Untitled.png

*This post is locked for comments

I have the same question (0)
  • Martin Dráb Profile Picture
    237,795 Most Valuable Professional on at

    What exactly do you have somebody doing development in production? It's a really bad practice, because it may have many unwelcome consequences.

  • Long.Thai Profile Picture
    130 on at

    Dear Martin Dráb,

    Thanks for your reply. It was actual my tech leader opinion, he thinks that isn't good if customer can see the compiler output form.

  • Martin Dráb Profile Picture
    237,795 Most Valuable Professional on at

    Again, why does somebody open the developer workspace and do development directly in production? You shouldn't do that! The problem you have is only a consequence of a completely wrong process and it will disappear as soon as you start doing your development and deployment correctly.

    Do all development in a development environment, test changes in a test environment and only then deploy them to production. The best approach is preparing the application in a pre-live environment and then deploying the whole modelstore to production at once.

  • Long.Thai Profile Picture
    130 on at

    This is not production environment, I'm working on DEV environment. I built that function and showed it in the meeting and my demonstration is on AOS menu. The system standard compiles the new resource and I was asked to hide it.

  • Verified answer
    Martin Dráb Profile Picture
    237,795 Most Valuable Professional on at

    So what's the problem? Compiling code in development environments is a normal activity and the form tells you whether you have compilation errors or not.

    Maybe you should tell us what "that function" does. I suspect you want your users to change AOT, which doesn't sound like a good idea? What would you do with such resources? Also, they would be deleted during the next deployment. And so on... If this is what you're trying to do, stop it and change your architecture. Let users to store their files in database, together with other customer data, and don't allow them to meddle with the AOT.

  • Verified answer
    Vilmos Kintera Profile Picture
    46,149 on at

    Your users will not and should not be able to import Resources, since that requires System administrator access in AX, and that is a horrible idea. None of your users should have System administrator rights. Along those lines now you understand why Martin is saying that  the whole concept of importing AOT resources is a horrible idea.

  • Long.Thai Profile Picture
    130 on at

    Dear Martin, Vilmos,

    Thank you for your great advice. I am going to try another approach to upload documents into DB.

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans