Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum

Dynamics 365 - Always open in new Window

Posted on by 40

Hi 

I have a customer that wants records to open in a new tab/window in one click. I've shown them the pop-out feature and the right-click 'Open in New Window' feature but it's too many clicks. This is D365 Online v9 with a traditional Web Interface (not Unified Interface).

I understand this can be done in JScript with Xrm.Utility.openEntityForm or the new v9 Xrm.Navigation.openForm. How do I attach JScript to a home page entity view so when the row is clicked (or a field value in a row is clicked) the JScript fires with the correct record GUID?

  • oz909 Profile Picture
    oz909 40 on at
    RE: Dynamics 365 - Always open in new Window

    Hi everyone

    I have a solution to this which involves creating a field called 'Open' as the first column in the view and using Workflow to build the unique URL with newWindow=true like this:

    testupgrade.crm6.dynamics.com/main.aspx;extraqs=&histKey=589060662&id=%7b95296ED7-4AA0-E811-A96C-000D3AE0BC37%7d&newWindow=true&pagetype=entityrecord#572720297

    Below is how it looks:

    3632.Capture.JPG

    It's working but I would like to change the display text of the URL to just be Open. I tried a few things but can't get it to work. Is this possible maybe with a Plugin in the RetrieveMultiple message? Any other ideas?

  • oz909 Profile Picture
    oz909 40 on at
    RE: Dynamics 365 - Always open in new Window

    Microsoft's UI direction isn't for everyone. The customer I work with are juggling lots of Cases at once and lots of tabs. They are a traditional office and will not be going mobile in the foreseeable future.

    I'm happy to consider unsupported solutions. I like the Icon and Ribbon Button solutions which you have linked. Could I add an icon to the view then somehow insert a call to a Ribbon script to launch the record in one click?

  • Suggested answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: Dynamics 365 - Always open in new Window

    Hi ,

    Unfortunately there is no supported way you can attach JavaScript in home entity page to achieve your requirement.

    Yes you may  know that you can only attach JavaScript to add icon in the entity view only.

    community.dynamics.com/.../adding-icons-and-tooltips-to-grid-column-in-dynamics-365

    Alternatively you can get the selected record using Ribbon button click.

    ribbonworkbench.uservoice.com/.../129783-pass-the-currently-selected-grid-row-s-to-a-custo

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans