Skip to main content

Notifications

Announcements

No record found.

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.

  • 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

  • Martin Dráb Profile Picture
    231,923 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)

    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
    231,923 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)

    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

  • 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.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,202 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,923 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans