Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

How to create multiselect lookup in AX 2012

Posted on by 950

Hi There,

I have a requirement where i need to show multiselect lookup on field and captured selected values.

Can anybody tell me how can i achive this? is there any control available in AX2012?

Thanks.

Regards,

rahul

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to create multiselect lookup in AX 2012

    try this, both for ax 2012 and 365

    github.com/.../MultiSelectLookupForFormDSField.zip

  • Suggested answer
    JII SAADUDDIN Profile Picture
    JII SAADUDDIN 1,832 on at
    RE: How to create multiselect lookup in AX 2012

    Or take a look this related topics tutorial

    www.dynamics101.com/using-multi-select-lookup-control-microsoft-dynamics-ax-2012

  • Suggested answer
    JII SAADUDDIN Profile Picture
    JII SAADUDDIN 1,832 on at
    RE: How to create multiselect lookup in AX 2012

    Yes you can achieve that.

    - Open AOT

    - Queries / DataSources / Add Field e.g.: "onelookup"

    - Designs / Add Fields, make "Yes" auto declaration

    Example Below code:

    #1 Form:

    public class FormRun extends objectRun

    {

    sysLookupMultiSelectCtrl     multiselect;

    }

    #2 Init forms

    public void init()

    {

    super();

    multiselect = sysLookupMultiselectCtrl::Construct(element,One,querystr(onellokup));

    }

    # close() of form

    public void close()

    {

    super();

    convies(multiselect.get());

    }

  • Suggested answer
    Ramanan.M Profile Picture
    Ramanan.M 70 on at
  • Suggested answer
    Faqruddin Profile Picture
    Faqruddin 1,869 on at
  • Nidhi semwal Profile Picture
    Nidhi semwal 25 on at
    RE: How to create multiselect lookup in AX 2012

    I have same requirement.

    how to do multi select option in grid control.

  • Suggested answer
    Muhammad Yasir Profile Picture
    Muhammad Yasir 1,023 on at
    Re: How to create multiselect lookup in AX 2012

    Hi Rahul,

    Follow this link, this will help you.

    yasirnedian.blogspot.com/.../how-to-select-multiple-selected-values.html

    Regards,

    Yasir

  • Re: How to create multiselect lookup in AX 2012

    I have requirement to create lookup on grid field and display/save multiple selected values in grid.

    Normal lookup doesn't work for multiselect in grid.

  • Re: How to create multiselect lookup in AX 2012

    Thanks Sasha.

  • Suggested answer
    Sasha Nazarov Profile Picture
    Sasha Nazarov 901 on at
    Re: How to create multiselect lookup in AX 2012

    Hi Rahul,

    Take a look at Tutorial_LookupMultiSelectDialog class.

    Regards,

    Sasha

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans