Announcements
No record found.
How can we write a javascript code to show or hide a field in Dynamics 365 Unified Interface?
Hi,
The method to show hide the field remains same in classic & unified interface-
carldesouza.com/.../
The only thing is that XRM is deprecated so you need to use form context instead of Xrm.Page.
docs.microsoft.com/.../clientapi-form-context
=====================
function hideName(executionContext)
{
var formContext = executionContext.getFormContext(); // get formContext
// use formContext instead of Xrm.Page
formContext.getAttribute("firstname").setVisible(false);
}
Hope this helps.
I am new to Dynamics 365. Could you please tell me how I can create a new entity in Dynamics 365's Unified Interface? And how to add web resources to it?
Hi Sunayana,
In unified interface click on settings in the top gear icon and then go to advanced settings. This will redirect you in the classic interface settings options .
Now in the navigation pane of classic interface to go to settings --> Customize the System /Solutions (If you have solutions) --> This will open Default Solutions / Solutions where you can create new entity.
Below video may help you more -
www.youtube.com/watch
Follow below article to add JS in the forms and then follow JS code above shared by Ravi.
neilparkhurst.com/.../
www.linkedin.com/.../
Thnakyou Goutham Das.
Is there any way to perform this without shifting to classic interface?
At the moment you have to go with classic interface for customization.
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.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
ManoVerse 103 Super User 2026 Season 1
11manish 83
Muhammad Shahzad Sh... 69 Most Valuable Professional