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

Community site session details

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

Can I get data from quick view control

(0) ShareShare
ReportReport
Posted on by 645

I need to hide a field on my form according to a quick view field (data from quick view form), is there an option to get the data from a quick field control with js code?  or must I use query for this?

I have the same question (0)
  • Verified answer
    Naveen Ganeshe Profile Picture
    3,397 User Group Leader on at
    RE: Can I get data from quick view control

    Hello there!

    The answer is Yes for JS code. Please follow the below links for your solution:

    arpitmscrmhunt.blogspot.com/.../access-quick-view-form-values-using.html

    mahadeomatre.blogspot.com/.../access-quick-view-form-values-in.html

  • Suggested answer
    meelamri Profile Picture
    13,216 User Group Leader on at
    RE: Can I get data from quick view control

    function onLoadForm (executionContext){
        var formContext = executionContext.getFormContext(); 
        var tabParentAccountOverview = formContext.ui.tabs.get("Parent account infos"); 
        tabParentAccountOverview.addTabStateChange(accessToQuickView); 
    
    }
    
    function accessToQuickView(executionContext){
        var formContext = executionContext.getFormContext(); 
        var parentAccountQuickView= formContext.ui.quickForms.get("parentaccountQuickView"); 
        if(parentAccountQuickView.isLoaded()){
            var phoneNumber = parentAccountQuickView.getControl("telephone1").getAttribute().getValue();
            console.log(phoneNumber); 
        }
    
    }

    For Ms Dynamics V9:

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 125

#2
Tom_Gioielli Profile Picture

Tom_Gioielli 121 Super User 2025 Season 2

#3
Erin Lubben Profile Picture

Erin Lubben 73

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans