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 

  • Verified answer
    Sergei Minozhenko Profile Picture
    23,091 on at
    RE: How to see other company data in dialog field

    Hi Mav,

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

  • Mav Profile Picture
    on at
    RE: How to see other company data in dialog field

    @Sergei Minozhenko Yes

  • Sergei Minozhenko Profile Picture
    23,091 on at
    RE: How to see other company data in dialog field

    Hi Mav,

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

  • Mav Profile Picture
    on at
    RE: How to see other company data in dialog field

    @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

  • Suggested answer
    Sergei Minozhenko Profile Picture
    23,091 on at
    RE: How to see other company data in dialog field

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

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,245 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,927 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans