Skip to main content

Notifications

Dynamics 365 Community / Forums / Finance forum / How to get access to f...
Finance forum
Unanswered

How to get access to form controls which doesn't have datasource?

Posted on by 28
Hi ,
 
When I import the data and run the batch job free text invoice gets created ,Under billing code in the drop down if I select fixed price then custom fields button gets enabled. If I click on that button a dialog box gets opened as shown. Now my requirement is that I need to fetch the imported data into dialog form but its not showing the data source ,If I search with the control names in backend its showing nothing .How can I approach it?
 
Thanks & Regards,
Lasya
 
  • Martin Dráb Profile Picture
    Martin Dráb 225,000 Super User on at
    How to get access to form controls which doesn't have datasource?
    The form is used as a RunBase dialog. Look into dialog() method of CustCustomFieldInputDialog class to see code adding the controls and setting their values.
  • Bharani Preetham Peraka Profile Picture
    Bharani Preetham Pe... 3,524 Super User on at
    How to get access to form controls which doesn't have datasource?
    So you need to understand what is happening when this dialog box is opened. There will be some standard fields which get some data while opening. So you need to check the method, lets say initvalue or init or if they are runtime control then while opening form init method, you can write code to pass values to controls.
  • CU02050844-1 Profile Picture
    CU02050844-1 28 on at
    How to get access to form controls which doesn't have datasource?
    Hi Martin Drab,
     
    Thanks for the response.The form name is CustCustomFieldInputForm 
     
  • Martin Dráb Profile Picture
    Martin Dráb 225,000 Super User on at
    How to get access to form controls which doesn't have datasource?
    To start your analysis, find the name of the form. Then look at how it's implemented. If you need our help, share the form name with us. Making it less time-consuming for other to help you will increase your chance to get an answer.
     
    (Moved from Dynamics AX forum.)

Helpful resources

Quick Links

Community Spotlight of the Month

Kudos to Mohamed Amine Mahmoudi!

Blog subscriptions now enabled!

Follow your favorite blogs

TechTalk: How Dataverse and Microsoft Fabric powers ...

Explore the latest advancements in data export and integration within ...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 283,682 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,000 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,146

Featured topics

Product updates

Dynamics 365 release plans