Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

How to change the View in Entity main form from javascript

Posted on by Microsoft Employee

Hi All,
I am trying to change the view on main form based on some criteria, but i am unable to do that. 
title1.png

In above image i want to select either customer or active account on the basis of some condition using java Script. How to do that ? 

*This post is locked for comments

  • Verified answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: How to change the View in Entity main form from javascript

    Hi Arun,

    This is common requirement  but currently there is no supported way to change view using script in dynamics CRM.

    You can post your ideas here -experience.dynamics.com/ideas

    Might be Microsoft will release with this exciting functionality in future.

  • Verified answer
    Arun Vinoth Profile Picture
    Arun Vinoth 11,613 on at
    RE: How to change the View in Entity main form from javascript

    Unfortunately there is no supported way of achieving that view selector by customization or js.

    May be you can write some unsupported DOM manipulation in js from ribbon display rule.

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans