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 :
Finance | Project Operations, Human Resources, ...
Suggested answer

How to make an parameter that is editable by the end user (TextBox taking input)

(0) ShareShare
ReportReport
Posted on by

pastedimage1600277903568v1.png

I need to make a parameter in ax that takes input from the end user and does not show any dropdown or preset value. Instead of it takes input from user., I am using  UI builder class to make customized parameters in SSRS Report. How can I make this parameter.

I have the same question (0)
  • Suggested answer
    Gunjan Bhattachayya Profile Picture
    35,421 on at
    RE: How to make an parameter that is editable by the end user (TextBox taking input)

    Hi Sadia,

    Did you already create the parameter in the contract class?

    I am not sure where you are stuck, so I will share this post you can follow to create custom parameters.

  • Community Member Profile Picture
    on at
    RE: How to make an parameter that is editable by the end user (TextBox taking input)

    Thanks Gunjan Bhattacharyya for responding!

    The link you shared is working for me but but i am having one confusion, I needed the parameter same as Company parameter is working in the post you shared. But i do not need its lookup since i do not need to show the dropdown in it. I only want to take free text values from the end user, thats why i did not define its lookup but it is showing me object reference error when I click ok after setting parameters on front end.

    pastedimage1600318035401v1.png

  • Martin Dráb Profile Picture
    236,289 Most Valuable Professional on at
    RE: How to make an parameter that is editable by the end user (TextBox taking input)

    It sounds like that you're trying to call methods on on a variable containing null. Your next step should be finding which line of code is throwing the exception.

    I'm also not sure why you're showing a lookup method if you said you didn't define any lookup.

    By the way, I changed the category of your thread from Financial Management to Development / Customization / SDK.

  • Community Member Profile Picture
    on at
    RE: How to make an parameter that is editable by the end user (TextBox taking input)

    Hi Martin Dráb,
    This is my contract class containing Parm method for AnnualTurnOverLimit, I need to show this parameter in free text form on front end that will take user input.

    pastedimage1600320786542v2.png

    And this is my Builder class where i have added this code in Build and postBuild method

    pastedimage1600320875648v3.png

    pastedimage1600320955923v4.png

  • Martin Dráb Profile Picture
    236,289 Most Valuable Professional on at
    RE: How to make an parameter that is editable by the end user (TextBox taking input)

    I'm sorry, but I don't see any details about the error you complained about ("it is showing me object reference error when I click ok"). If you want our help with it, please share the exact error message (I guessed what it is, but it's good to be certain) and the line of code throwing the error.

    If the lookup method you shared isn't related to the problem, I'll ignore it. If it's relevant, it would be good if you explained how.

  • Community Member Profile Picture
    on at
    RE: How to make an parameter that is editable by the end user (TextBox taking input)

    Martin Dráb Thanks, error is resolved and its working fine now!

    pastedimage1600327329329v1.png

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 2,188

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 868 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 593 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans