Open Model Apps Url Using Unique Name

2021-06-23_11-14-09

When generating links for records, lists or reports in a Dataverse environment it is important that they open the specific application they relate to so users have the best experience. To see more details about generating links for Dataverse click here.

2021-06-23_10-59-18
This image shows the message bar displayed within Dataverse when you open a link not directed to a specific application.

Previously in order to open a specific application using a link you had to create the it with the app suffix url or append the appid parameters to the url. In order to get either of those dynamically you need to query the Model-driven Apps (appmodule) entity and return the url attribute for the suffix or the appmoduleid attribute for the app id.

Using App Suffix

https://<Your Org>.crm.dynamics.com/apps/<Your App Suffix>/main.aspx?pagetype=entitylist&etn=contact

or

Using App Id

https://<Your Org>.crm.dynamics.com/main.aspx?appid=82853804-d2b3-4536-ba75-f49ccca681ea&pagetype=entitylist&etn=contact

Recently when creating a new App in the maker portal I saw the creation screen now includes a Unified Interface URL which populates when you set the name of the app. The format of the url looks like this.

https://<Your Org>.crm.dynamics.com/Apps/uniquename/<Your App Unique Name>/main.aspx?pagetype=entitylist&etn=contact

Because the unique name does not change between environment you can now eliminate any calls you previously did to the Model-driven App entity. You may still need to get the host url for the environment if using Power Apps or Power Automate.

To get the url in Power Automate you can make a call to any Dataverse entity and then parse out the url from the @odata.id value of any record you return.

uriHost(outputs('Get_CDS_Record')?['body/value'][0]?['@odata.id'])

The get the url in Power Apps you have some options. You can call a Power Automate flow which will call out to a CDS record and return the host url using the same method I described earlier or you can utilize the CDS Environment URL PCF component from Dan Cox.

Comments

  1. The art of playing and enjoying a mobile game takes us to another place in time where all of the stress of daily living sits on a bench of complacency and waits until the game is over. AFK Arena Codes

    ReplyDelete
  2. It seems that Nintendo have had the Mario series around since the dawn of time. You can almost picture a cave man with a GameBoy saying "Play super Mario game". The series has had an amazing rate of success over the last thirty or so years. It was 1981 when Mario first made his appearance as the Jumpman in Donkey Kong. twitch viral

    ReplyDelete
  3. The reign of the Xbox is almost over. As of late the PS3 has been looking better and better. Looks like 2008 will be the year of the PlayStation. PlayStation 3 has many big name titles coming out this year and if the all games from the list are all actually released this year, all we can say is WOW. Note: The following list in no way represents the entire list of exclusive titles for each console. However, it gives us a pretty good idea of the games rumored to be released this year. https://www.buyyoutubesubscribers.in/

    ReplyDelete
  4. Deck-building games is a fast-growing genre that is gaining more and more fans around the world. You start out with a lame deck consisting of a few basic cards and then all options are open. It's up to you to find the best combos of cards, add them to your deck and gradually build a "machine" that works better than other players'. It all started with Dominion, then came Thunderstone, Ascention, Nightfall... and now Legendary! But Legendary is much more than a simple deck-building game. Read on to find what's different about it. buy twitch followers

    ReplyDelete
  5. Thanks for sharing this information. This is really useful. Keep doing more.
    Hire Mobile App Development Company

    ReplyDelete
  6. I liked your work and, as a result, the manner you presented this content about Full stack web development services for small business.It is a valuable paper for us. Thank you for sharing this blog with us.

    ReplyDelete
  7. Great job for publishing such a nice article. Your article isn’t only useful but it is additionally really informative. Thank you because you have been willing to share information with us.Mobile App Development Company Hong Kong

    ReplyDelete
  8. buy twitch followers Girls love playing online games as much as boys do. One site, Games for Girls, has everything a younger girl could want to play. Everything from Barbie to Make Up is included in this site. No matter what your girl's interests are, she can find a game here on this site. These games are in high quality and are very expertly done. Your little girl can spend hours playing on this site. Finally, there is a site for girls that cover the whole spectrum of video games online.

    ReplyDelete
  9. buy twitch followers Immersing yourself in a world of intriguing logic games is just one bonus that comes along with the wide variety of free online games websites that are scattered throughout the online community. Logic games are some of the most captivating types of games for people of all ages to play. In this realm of online gaming, people can think critically and challenge themselves in new and interesting ways.

    ReplyDelete
  10. https://www.visualaidscentre.com/service/eyes-specialist-delhi/ There are thousands and thousands of flash games on the internet. Pin pointing the absolute top 10 is not just difficult it's impossible. No one has played them all. So this personal list of top 10 flash games is just that, a personal list of my favourite flash games from the selection I have played. Not only have I not played some that you may have played, but our tastes my differ. So take this list as just me recommended playing list. Here they are in no particular order.

    ReplyDelete
  11. Thanks for your post. It's very helpful post for us. I would like to thanks for sharing this article here. full stack development agency

    ReplyDelete
  12. https://www.buyyoutubesubscribers.in/2021/12/20/how-many-views-on-youtube-to-make-money/ Slow YouTube videos are generally going to be caused by one of two problems - either that your PC has some sort of issue preventing the video from loading, or the speed of your Internet will be preventing the smooth operation of this site. The problem with YouTube is that all the videos on this website will require a huge number of files & settings to allow them to run, meaning that if you are seeing any sort of problem with it, you need to know how to repair any of the issues that it will have. Here is...

    ReplyDelete
  13. https://dynamichealthstaff.com/nursing-jobs-in-qatar SEO has come a long way since the rise of major search engines like Google and Yahoo. It is a fast moving industry without any real standard practices and quality guidelines. Because the so-called wanna-be SEO Experts and Gurus are almost everywhere to find, it is hard for business owners to make the right choice when appointing an SEO firm with a proven track record.

    ReplyDelete
  14. https://www.visualaidscentre.com/lasik-eye-surgery-in-delhi/ Over the past few years it is safe to say that online video has literally exploded. The growth of video has led to business worldwide to see the potential of a new video marketing strategy. The best video traffic is experienced from YouTube traffic; there is no doubt about that.

    ReplyDelete
  15. In this case you will begin it is important, it again produces a web site a strong significant internet site: Satta king

    ReplyDelete
  16. I like your post. It is good to see you verbalize from the heart and clarity on this important subject can be easily observed... unique business names

    ReplyDelete
  17. Thank you for sharing such a nice post about Buy new Gmail accounts . I love it so much. Check

    ReplyDelete
  18. I visit your blog regularly and recommend it to all of those who wanted to enhance their knowledge with ease. The style of writing is excellent and also the content is top-notch. Thanks for that shrewdness you provide the readers! short business names

    ReplyDelete
  19. If it's not too much trouble share more like that. company name suggestions

    ReplyDelete
  20. Optima is the ultimate cryptocurrency trading script and it has the same business logic and an alternative of Binance, Coinbase. Optima helps you launch your cryptocurrency exchange business within 3 days.

    Our highly experienced team provides a smoothly working solution that helps you to modify and extend the functionalities, trading rules, and the UI/UX based on your requirements.

    Cryptocurrency Exchange Software

    ReplyDelete
  21. 금천구 출장마사지 예약비 없는 1OO%후불제 출장샵입니다. 마인드좋은 2O대 한국인 출장안마 매니저가 집 모텔 오피스텔로 직접 방문합니다.

    금천구출장안마

    ReplyDelete
  22. 미스김 출장안마 출장마사지 서울.경기도 전지역 예약금 선입금 없는 후불제 출장샵 커뮤니티 입니다. 100% 현장결제 시스템이며 High퀄리티의 한국인 출장홈케어.

    출장안마
    출장마사지



    ReplyDelete
  23. There are thousands of different people who say they are the best web host.https://onohosting.com/

    ReplyDelete

Post a Comment

Popular posts from this blog

Add User As Local Administrator On Domain Controller

Custom Grid/Subgrid Using Office-UI-Fabric DetailsList

Horizontally Scroll A Large Power Apps Gallery