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

Unselect first line and refresh field value on dialog box ?

(0) ShareShare
ReportReport
Posted on by 207
Hi all,

Do someone know how to refresh muliselectlookup field on dialog box ?
 
For now i always have my first row selected and last selection when i reopen it.

Regards.
  • Awaxx Profile Picture
    207 on at
    Unselect first line and refresh field value on dialog box ?
    There is a new issue on same field.

    If i made a mistake in my selection and wanna modify it, i have the same problem i described before.
    Only first row is selected and my current selection isnt selected.
  • Awaxx Profile Picture
    207 on at
    Unselect first line and refresh field value on dialog box ?
    Thats working fine with that adding

    Thank you Girish
  • Verified answer
    GirishS Profile Picture
    27,823 Moderator on at
    Unselect first line and refresh field value on dialog box ?
    Can you try setting the empty string value to dialogField in the dialog method. Like below
    dialogFieldCampus.value(‘ ‘)
     
    Thanks,
    Girish S.
  • Awaxx Profile Picture
    207 on at
    Unselect first line and refresh field value on dialog box ?
    No the values separated by the comma are the selections i made le last time i opened it.

     
  • GirishS Profile Picture
    27,823 Moderator on at
    Unselect first line and refresh field value on dialog box ?
    From my understanding there is no other way to refresh the multiselect lookup when using run base class.
    Are you saying every time when you opened the dialog form first and last values are selected on the text box field with the comma seperated values?
     
    Thanks,
    Girish S.
  • Awaxx Profile Picture
    207 on at
    Unselect first line and refresh field value on dialog box ?
    I used a list to get values.
     
            List            list = new List(Types::String);
            ListEnumerator      enumerator;
            LedgerJournalTrans ledgJournTrans;
            list = Global::strSplit(this.campus,";");
            enumerator = list.getEnumerator();
  • GirishS Profile Picture
    27,823 Moderator on at
    Unselect first line and refresh field value on dialog box ?
    Also, you need to use container variable to get the selected values from the multiselect lookup. Please refer to the below article. Getting the value from the dialog Field won't work with multi select lookup.
    Seems this is a run base class - So no need to clear the cache value - It will clear all values automatically every time you are opening.
     
    Thanks,
    Girish S.
  • Awaxx Profile Picture
    207 on at
    Unselect first line and refresh field value on dialog box ?
    the standard class is CustVendCreatePaymJournal

  • GirishS Profile Picture
    27,823 Moderator on at
    Unselect first line and refresh field value on dialog box ?
    If it's not an SSRS report. Can you tell me which standard class you are using to build the dialog form. I mean either RunBase class or SysOperationFramework.
     
    Also, if possible, can you explain the issue with the screenshot of the dialog form with the lookup.
     
    Thanks,
    Girish S.
  • Awaxx Profile Picture
    207 on at
    Unselect first line and refresh field value on dialog box ?
    No its not a SSRS thats 

    [ExtensionOf(classStr(CustVendCreatePaymJournal_Vend))]
    final class CustVendCreatePaymJournal_Vend_APSGL_Extension

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

#2
Martin Dráb Profile Picture

Martin Dráb 231,939 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans