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

How to see other company data in dialog field

(0) ShareShare
ReportReport
Posted on by

Hello,

I added a dialog field like below, concern is that it does not show the proj id of the legal entity i want to see. 

Please suggest for the following.

a>What amendments to make to below code to show proj id of all the companies.

b>If a is not possible then what amendments should be made so that it shows the proj id of company user selects in the dialog.

dialogGroup = dialog.addGroup("Company");
dialogfield = dialog.addField(extendedTypeStr(LegalEntity));

dialogGroup = dialog.addGroup("Projid")
dialogfield = dialog.addField(extendedTypeStr(ProjId)); // How to ensure that projid drop down in dialog either shows proj id for all companies or company selected by user 

I have the same question (0)
  • Suggested answer
    Sergei Minozhenko Profile Picture
    23,093 on at

    Hi Mav,

    In your case lookup will show values from the current user company.

    If you want to make lookup depended on value from company selected in another field, you would need to create custom lookup

    Example how to do it for RunBase classes mfmujahidmim.wordpress.com/.../

  • Mav Profile Picture
    on at

    @Sergei Minozhenko

    Thanks for sharing that , i dont think it is viable to override the  standard method for 1 requirement plus i m using Job & not form,  hence wanted to check  If  there a way i can disable the lookup for Proj id

  • Sergei Minozhenko Profile Picture
    23,093 on at

    Hi Mav,

    Do you want to remove lookup completely for ProjId dialog field?

  • Mav Profile Picture
    on at

    @Sergei Minozhenko Yes

  • Verified answer
    Sergei Minozhenko Profile Picture
    23,093 on at

    Hi Mav,

    There is method lookupButton on DialogField, you can set it to 1 to hide lookup button.

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

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 420 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 241 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans