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

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Custom menu item returns "Folder does not exists"

(0) ShareShare
ReportReport
Posted on by

i create an action menuitem and add it in Fixed Asset form in Documents caption... when i press ok i get error that
1. Folder does not exists

2.An error occuried 

*This post is locked for comments

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    299,149 Super User 2025 Season 2 on at
    RE: get errors

    Hi AXDEV_1,

    Can you share a screenshot with the error? Is it the error coming during development or in run-time? What is the action menu-item about?

  • Community Member Profile Picture
    on at
    RE: get errors

    action menu item has the properties

    1. Object type Class

    2. Object RassetReport

    3. EnumTypeParameter RAssetReportType

    4. EnumParameter  Parameter

    my menu action open a dialog that has value model ,document number and document date and 2 buttons Ok and Cancel...this dialog is written in dialog method in my Class RassetReportMyClass that i created...my class has templateNAme method that returns the resourcesStr(Myresource) and has wordDocumentFill method

  • Community Member Profile Picture
    on at
    RE: get errors

    after i press ok button from dialog it gives me these errors

    68153.Capture.PNG

  • Martin Dráb Profile Picture
    236,297 Most Valuable Professional on at
    RE: Custom menu item returns "Folder does not exists"

    If you get an error, a good idea is to debug it. Start with double-clicking the error message; it will likely show you the line of code throwing the error. It will be a huge step towards solving the problem. Also don't forget that AX is shipped with a debugger, so you can easily put a breakpoint to code and then step through the code line by line.

    By the way, I've changed the title your thread, because "get errors" didn't really described your question. Please use a more descriptive title next time. I've also changed the category of your question from "Other" to "Development / Customization / SDK".

  • Community Member Profile Picture
    on at
    RE: Custom menu item returns "Folder does not exists"

    can anyone tell me all the steps for creating dot template in ax using classes with method worddocumentmake,worddocumentfilll, Resources  object etc.. maybe i missed something?

  • Martin Dráb Profile Picture
    236,297 Most Valuable Professional on at
    RE: Custom menu item returns "Folder does not exists"

    AXDEV_1, your last reply doesn't seem to be related to the previous discussion of this thread. To keep the forum organized to logical blocks, please create a new thread for your new topic and don't forget to give it an appropriate title and tags.

  • Community Member Profile Picture
    on at
    RE: Custom menu item returns "Folder does not exists"

    yes i know but its somehow connected,not directly...but is connected...i mean that maybe i missed something to do that caused this problem that appeared those errors..

  • Martin Dráb Profile Picture
    236,297 Most Valuable Professional on at
    RE: Custom menu item returns "Folder does not exists"

    You will have to provide much more information about your question before anybody can answer it.

    If your new topic is indirectly connected to this thread, you can link two threads with hyperlinks.

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Community Member Profile Picture

Community Member 4

#2
Guy Terry Profile Picture

Guy Terry 2 Moderator

#2
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans