360 degrees view for Account/Contact in Microsoft Dynamics CRM 2016 - dynamics-crm

I'm working on Ms Dynamics CRM 2016 and I'm looking for a tool or a way to have a 360° view on the Account/Contact forms. I want to insert ergonomic parts and graphics to the forms like the photo shows.
Thanks for help.

Google Maps can be embedded in IFRAMEs, with a URL in the form of
https://www.google.com/maps/embed/v1/place?key=YOUR_API_KEY&q=Eiffel+Tower,Paris+France
The following URL parameter is required:
q: defines the place to highlight on the map. It accepts a location as either a place name, address, or place ID. The string should be URL-escaped, so an address such as "City Hall, New York, NY" should be converted to City+Hall,New+York,NY. (The Google Maps Embed API supports both + and %20 when escaping spaces.) Place IDs should be prefixed with place_id:.

Check Single View Builder for Dynamics CRM: https://www.youtube.com/watch?v=aAO8EGw-f_4

Related

Creating hyperlink for Microsoft Teams call dynamically

I wish to provide a series of Hyperlinks to my colleague where by on clicking the Teams Hyperlink, the Microsoft-Teams opens and directly calls the respective call-recipient. I have the ID/Phone number of my colleague and the list of the Phone-numbers of the all the call-recipients.
Let me take a small detour and explain it giving an example of Google:
With the Latitude/Longitude of the Origin and Destination known, the dynamic Google Hyperlinks can be created and on clicking those links one can directly open the Navigation application of Google between those points. It follows the following format:
https://www.google.com/maps/dir/Latitude_Origin,Longitude_Origin/Latitude_Destination,Longitude_Destination
Let's say the Origin is Frankfurt and Destination is Berlin and their respective Latitude/Longitude are as follows:
Frankfurt (Lat/Lon): (50.11544,8.69762)
Berlin (Lat/Lon): (52.47790,13.33385)
By adding Latitude/Longitude in the format mentioned above, the Hyperlink to navigate between Frankfurt and Berlin can be created: https://www.google.com/maps/dir/50.11544,8.69762/52.4779,13.33385
In the same way I wish to do this for Microsoft-Teams, whereby I could create a dynamic Hyperlink. I know the ID/Phone-number of my colleague and I have the list of the phone numbers of all call recepients. The HyperLink for a Teams call looks like this:
Just as one can create a navigation link in Google dynamically, how can I create such a link for Microsoft-Teams? What's the format of the Microsoft-Teams Hyperlink
https://teams.microsoft.com/l/meetup-join/...Something_like_ID_of_Caller..../...Recipient_phone_number......
Ultimately, I need to provide these Hyperlinks inside Tableau visualization Software, so that on clicking these Hyperlinks one can directly make a call to the recipient, instead of opening Microsoft-Teams and manually typing the phone number.
Does anyone have an idea how to address this problem?
If Stackoverflow is not the right forum for these type of questions, then any suggestions on where I can post such a question? Thanks!
You can generate deep link to call in MS Teams using below format:
Make an audio call: https://teams.microsoft.com/l/call/0/0?users=<user1>,<user2>
Make an audio and video call: https://teams.microsoft.com/l/call/0/0?users=<user1>,<user2>&withVideo=true
Make an audio and video call to a combination of VoIP and PSTN users: https://teams.microsoft.com/l/call/0/0?users=<user1>,4:<phonenumber>

How can I see a Dynamics365 table?

I created a PowerApp by connecting to Dynamics365 and choosing the 'Currencies" table. In the tutorial video I watched, the narrator was able to see his app's table in Dynamics365 and was able to add and edit the records in that table, which would then show up on the PowerApp and vice versa.
When I bring up Dynamics365, I only see my PowerApps, I do not see a "Currencies" table. How can I see the Currencies table in Dynamics365? I have an Office365 Developer tenancy.
I am using a canvas app.
I attached images of my PowerApp, my Dynamics365 page, and the screenshot of the video I was watching that shows the presentor's Dynamics365 page which looks very different from mine and has the table with the data in it. He is using the Sales Leads table which I was not able to find in my list of Dynamics365 tables, that's why I used the Currencies table.
[My power apps edit screen][1] [1]: https://i.stack.imgur.com/QTNYe.png
[My Dynamics365 home page ][1] [1]: https://i.stack.imgur.com/WEtxi.png
[Dynamics365 table from video][1] [1]: https://i.stack.imgur.com/WvtKn.png
In that video tutorial - see the browser address bar, it says https://xxxxx.crm.dynamics.com which is Dynamics 365 CRM, you can go there by clicking the Dynamics 365 - custom tile in your https://home.dynamics.com
You are connecting to that Dynamics 365 instance in your canvas app as one of the Datasource connector. I can find it like below.
One more thing, that video shows classic UI whereas you may land in UCI (Model driven PowerApp UI). Read this tip to avoid surprises & confusions.
can you provide some more details on what type of app you're building (Canvas or Model) and where you don't see the currencies table? Would be great if you could send a screenshot of where you're expecting to see it but don't.
I did a really quick test in my environment, and was able to create a canvas app connected to the currencies entity :

Disable indoor view of buildings in Google Street View Image API

I'm using Google Street View Image API (not the Javascript API) to construct a URL which returns a street view image. The problem is, that sometimes it returns an image of the inside of the building, rather than the image of the building at the provided address. I know this can be disabled using the Javascript API, but can it be disabled via a URL parameter in the Image API?
You should add &source=outdoor as an url parameter
You can make a call to the Geocoding API in order to get the lat/lang coordinates to an address.
https://maps.googleapis.com/maps/api/streetview?size=400x400&address=1600+Amphitheatre+Parkway,+Mountain+View,+CA&fov=90&heading=235&pitch=10&key=YOUR_API_KEY
Then the you use the results.geometry.location from the response to get the coordinates you need to create the Street View Image URL
The Geocoder will always give you a location outside at the entrance, other APIs like Directions API may give you the same indoor problem.
You can call the Google Street View Image Metadata API to get the copyright info of the image. If this is not equal to "© Google, Inc.", it's a real streetview image.
I know that it's not the best solution, but it works.

How to add map to a custom entity in MSCRM 2015 and how to plot multiple locations on it?

How to add map to a custom entity in MSCRM 2015 and how to plot multiple locations on it ?
It would be helpful to know more details about your situation, what you're trying to accomplish, what mapping tool you're trying to use. Without that the best I can do is offer some basic suggestions...
Making the assumption that you're going to use the Bing maps ajax control, you can put a map on a custom entity's form using a html web resource in combination with some javascript to manage the map control. Here is the Bing maps interactive SDK where you can play around with some different features of the map control to plot points, etc. And here is the Bing Maps MSDN area where you can get into the details on how to use the control.
To put some points on the map, assuming the data you want to use is related to the entity record/form currently open, you can use the javascript provided as part of the CRM SDK to retrieve data directly off the form or current record, or do some ajax calls to the CRM OData endpoint to retrieve the necessary data and finally plot that data on the map.

Raw SQL for sharing a crm document

In MSCRM I'd like to automate sharing documents out to users. I tried using SQL Server Profiler to trace but I can't find the raw sql. Anyone know how to do this? Thanks!
How you do this depends largely on where you're storing the documents (on a file server, within CRM, on SharePoint etc) and also how you want to "share" the document (email a link to a file server location, email an attached document, provide access to doc via CRM UI).
If Sharepoint is part of the equation there's various add-ons / webparts available that integrate document management with CRM. If your document is within CRM you could look at creating a workflow that either emailed a link, or provided access rights within CRM or something similar. You approach would also depend on if you're sharing with CRM users, CRM contacts, or some other type of user.
If you've built a custom form or application then you should be using the API as driis mentions. Whatever the scenario there shouldn't be a need to find the "raw" sql to achieve this.
At the bottom of the definitions of "Filtered***" view there is a bit of sql like
select POA.ObjectId from PrincipalObjectAccess POA
join SystemUserPrincipals sup on POA.PrincipalId = sup.PrincipalId
where sup.SystemUserId = u.SystemUserId and
POA.ObjectTypeCode = 10039 AND
((POA.AccessRightsMask | POA.InheritedAccessRightsMask) & 1)=1
Adding new rows to PrincipalObjectAccess should do the trick. However, it's a hack, it requires administrative privileges and is highly unrecommended on general principles...

Resources