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 NAV (Archived)

NAV set input parameter on screen for dll or codeunit

(1) ShareShare
ReportReport
Posted on by

Dear friends,

I am new in NAV and currently reference a custom C# dll in my project. As the c# projects requires some input parameters like date, text and so on, how can nav pop up a parameter window for user manually input their value?

Luckily, I found one of the most popular result from Saurav

https://community.dynamics.com/nav/b/sauravdhyanimicrosoftdynamicsnav/archive/2014/09/11/discontinued-component-nav-2013-amp-later-input-box-the-input-method-is-obsolete

But it contains only one parameter and seems for string only. In my case, I would like add multiple parameters and define the data type by myself, just like AX.

Any information is welcome. Thanks in advance.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at
    You can create a ProcessingOnly report that, on its Request Page, it asks for your parameters input. Then, in OnPostReport event you can call your DLL passing the parameters previously inserted.
  • Suggested answer
    RockwithNav Profile Picture
    8,637 Super User 2025 Season 2 on at

    So whats the challenge over here, you can make any UI in NAV with the required inputs and then pass the inputs as parameters to your dll method.

    Can you tell me the challenge or show me what you tried till now?

    If any how it would be Contro addin then it make sense to be challenging as what you said but it wont be a challenge for a simple dll.

  • Verified answer
    Community Member Profile Picture
    on at

    I found a solution from standard page (684 date-time dialog)  and table (472 Job Queue Entry).

    I just need to build a variable based page and then pass the page variable from screen input to the dll reference.

    Thanks for previous answer.

  • Suggested answer
    RockwithNav Profile Picture
    8,637 Super User 2025 Season 2 on at

    Thats the same thing above that I was explaining you out. Anyways all the best :)

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 NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans