Skip to main content

Notifications

Announcements

No record found.

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

Transition to Unified Interface

Posted on by 1,120

https://community.dynamics.com/crm/f/microsoft-dynamics-crm-forum/379937/transition-to-unified-interface/1010342#1010342

We recently transitioned to the Unified Interface.

I see this warning message "This is a legacy app and might have features or customizations that aren’t supported in Unified Interface. For best results, create a model-driven app for Unified Interface."

Even though I see this message , all my customization are in tact, What else am I missing? Here is my version details

pastedimage1581354826298v1.png

Thank YoU!

  • Ann2015 Profile Picture
    Ann2015 1,120 on at
    RE: Transition to Unified Interface

    yes I did not need the method. I have commented it out and everything is working now. Thanks.

  • Suggested answer
    Henry J. Profile Picture
    Henry J. 5,237 on at
    RE: Transition to Unified Interface

    Hi Ann,

    I don't understand why your using this method Xrm.Page.data.entity.attributes.get('firstname').setValue(""); if the field is not even present on your form.

    What are you trying to accomplish?

    If you encounter more script issues with your transition to Unified Interface, I advise that you open a Support Request, here: https://admin.powerplatform.microsoft.com/support

    Henry

  • Ann2015 Profile Picture
    Ann2015 1,120 on at
    RE: Transition to Unified Interface

    First name field is not on the form. Is this the issue?

    I tried to comment out that line "Xrm.Page.data.entity.attributes.get('firstname').setValue(""); " from the script but still getting the same error.

    Thanks

  • Suggested answer
    Henry J. Profile Picture
    Henry J. 5,237 on at
    RE: Transition to Unified Interface

    This looks like an error with your custom JavaScript.

    A quick remark: Xrm.Page is deprecated, so you should use executionContext.getFormContext instead
    https://docs.microsoft.com/en-us/power-platform/important-changes-coming#some-client-apis-are-deprecated

    Example:

    var formContext = executionContext.getFormContext();
    var telephoneAttr = formContext.data.entity.attributes.getByName('telephone1');

    In any case, setValue(null) or setValue("") should work to empty a text field.

    Have you added the First Name field on your form, or just the "Full Name" field?
    In that case the issue might be with addressing the proper attribute.

    Henry

  • Ann2015 Profile Picture
    Ann2015 1,120 on at
    RE: Transition to Unified Interface

    Thank you . I am able to see all the entities. Now I am getting an error "Cannot read property 'setValue' of null"

    This is the line where the error is occurring "Xrm.Page.data.entity.attributes.get('firstname').setValue("");". Is the syntax wrong I even tried Xrm.Page.data.entity.attributes.get('firstname').setValue("null");   

    pastedimage1581524983096v3.png

  • Suggested answer
    Henry J. Profile Picture
    Henry J. 5,237 on at
    RE: Transition to Unified Interface

    Hi,

    Apps are different concept than solutions. Apps can be part of one or multiple solutions, and these solutions are used to deploy customizations from one environment to another.
    To simplify, think of solutions as technical containers of customizations and think of apps as role-based containers of User Experience.

    From the screenshot you are showing, it looks like you only have one entity in your sitemap.
    You can in fact add any entity from your environment to the sitemap of your app (regardless of if they are part of the solution your app is part of).

    Once you've organized your app navigation, don't forget to Save to Publish, so that your customizations gets reflected after a browser page refresh (F5):

    pastedimage1581462776344v1.png

    It might actually be easier if you started by Microsoft provided first-party apps (such as Sales Hub or Customer Service Hub, depending on your business requirements and license plans).

    You can get them from Microsoft AppSource, for example for the Sales apps:

    Dynamics 365 Sales, Enterprise Edition App 
    Dynamics 365 Sales, Professional

    You can also add new solutions to your environment through the Dynamics 365 Administration Center: https://port.crm.dynamics.com/G/Instances/InstancePicker.aspx?redirect=False (make sure you replace the crm* with the right number as in your environment URL, if appropriate. For example for the Europe region, it's crm4).

    From that page, you can go to an environment and add solutions:

    pastedimage1581463447072v2.png

    pastedimage1581463508763v3.png

  • Ann2015 Profile Picture
    Ann2015 1,120 on at
    RE: Transition to Unified Interface

    I created a new App using my existing solution and I do not see all the different sections and I see only "accounts" (see below). I do have multiple solutions, is it possible to add all the solutions to the same app ?

    If so how can I do it?

    pastedimage1581452775652v1.png

    Thanks!

  • Ann2015 Profile Picture
    Ann2015 1,120 on at
    RE: Transition to Unified Interface

    Thank you!

  • Henry J. Profile Picture
    Henry J. 5,237 on at
    RE: Transition to Unified Interface

    The first one is blog, so unofficial content but that could be valid. The second one is provided by Microsoft.

    On top of that content, I strongly encourage that you have a look at the Unified Interface Playbooks that Microsoft has published here: https://docs.microsoft.com/en-us/powerapps/maker/model-driven-apps/unified-interface-playbook

    Chapter 3: Transition is all about approaching the transition and defining your app strategy.

    Henry

  • Ann2015 Profile Picture
    Ann2015 1,120 on at

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!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans