Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Answered

Init / Modify WindowControl Type Image ListePageInteractionClass

Posted on by 145

Hi All,

I want to insert/modify using Initialized and selectionChanged methods of my ListPageInteractionClass. The problem is that I could not found the ImageList method in the method list of control !!

Would you please help me how could I code this.

pastedimage1573554946152v1.png

Thanks in advance,

Cordially,

  • Houda Chkoundali Profile Picture
    Houda Chkoundali 145 on at
    RE: Init / Modify WindowControl Type Image ListePageInteractionClass

    Thank you Martin. This helps me :)

  • Verified answer
    Martin Dráb Profile Picture
    Martin Dráb 230,214 Most Valuable Professional on at
    RE: Init / Modify WindowControl Type Image ListePageInteractionClass

    The return type of FormRun.control() is FormControl and FormControl class doesn't have imageList() method.

    You need to cast the object to the right type. Such as:

    FormWindowControl windowCtrl = fds.formRun().control(...);
    windowCtrl.imageList(...);

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,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans