Skip to main content

Notifications

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

deletion of quotel-ine is not triggering Form onload event in UCI, it was working in webclient

(0) ShareShare
ReportReport
Posted on by 13

Hello guys,

We have a javascript function to count grid rceords. which is triggering only on load of form.

Which was working fine in classic web client.

We are upgrading to new UCI.

When we are deleting Quoteline, it is not firing Form-load event ...so ...javascript is not working.

pl. suggest...how to trigger javascript on deletion of product in UCI.

  • Suggested answer
    Henry J. Profile Picture
    Henry J. 5,237 on at
    RE: deletion of quotel-ine is not triggering Form onload event in UCI, it was working in webclient

    Thank you Dhara,

    If the subgrid onload event (and not the form onload) isn't firing after deleting a record from that grid, then I suggest to open a Support Request:
    https://admin.powerplatform.microsoft.com/support

    Henry

  • Dhara dharsandia Profile Picture
    Dhara dharsandia 13 on at
    RE: deletion of quotel-ine is not triggering Form onload event in UCI, it was working in webclient

    yes henry.

    we already have addOnLoad function in javascript....but we want to add that javascript on deletion of product from grid.

    Currently JavaScript is triggering on load of form....when we are deleting product..it is not triggering.

  • Suggested answer
    Henry J. Profile Picture
    Henry J. 5,237 on at
    RE: deletion of quotel-ine is not triggering Form onload event in UCI, it was working in webclient

    Hello Dhara,

    Are you expecting the quote form to reload completely when you delete a quoteline from the quote?
    I'm not sure that would be the right approach in the Unified Interface.
    Instead, I advise that you have a look at the addOnLoad client API to add event handlers to the Subgrid OnLoad event.

    Henry

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,979 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,848 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans