web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

remove white spaces in Quick view form

(1) ShareShare
ReportReport
Posted on by 2
Hi we added ProviderStatus as quick form view in main form, but it shows white spaces which need to remove 
 
I try different approaches but its not work, 
 

function formLoad(executionContext) {
            var quickViewControl = formContext.ui.quickForms.get("Provider_Status");
        quickViewControl.setVisible(true);   // this works 
         if (quickViewControl && quickViewControl.getControl(0)) {
        if (quickViewControl.isLoaded()) {
             var allElements = document.querySelectorAll('[data-id]');
                         let mainContainer = document.querySelector('[data-id="Provider_Status"]');
            let quickFormContainer = mainContainer.querySelector('[data-id="Provider_Status-QuickFormContainer"]');
        }
    }
}
 
We try to add
1. delay , recheck 
2. re execute function in every 500 milliseconds,
3. Use MutationObserver to watch for DOM changes
4. quickViewControl.addOnLoad(function() {   - this function not execute 
 
In DOM structure verify all quick view form element loaded, data-id name also verified 
 
still its not worked 
 
If anyone have solution for tihs, Please help 
 
 
I have the same question (0)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 69 Most Valuable Professional

#2
ManoVerse Profile Picture

ManoVerse 66 Super User 2026 Season 1

#3
11manish Profile Picture

11manish 45

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans