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

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.

Related

How to use additional dimension : direct sessions to the google studio

In google analytics I can add additional dimension which is named: Direct Sessions which gives two values : yes and no. The problem is that when im making reports in google studio i dont have this kind of dimension.
Maybe there is possible to add this dimension manually?
T.
If you have created a custom dimension in GA it is available in Google Data Studio (I assume that is what you mean by "Google Studio").
Currently the Google Analytics connector only provides access to data
available in custom reports. It does not provide access to
multi-channel funnels or real-time data. However, custom dimensions
and metrics are available in Data Studio.
You can select it like any other dimension (use the search feature and look for the name you gave to your dimension in the GA property settings).
Source

Custom report by Google Reporting API

I have an web (PHP) application that collects some internal usage statistics (like memory usage, transfer speed, compression ratio/speed, etc).
By using the collected data I want to create a report (a chart, a bar graph, etc) that shows this data.
Usually we have (at least) two options:
write the report with the aid of some PHP reporting engine
use an external web service where (i) I can define a report specification up-front and (ii) feed the web service with the data collected from user and retrieve (an object/image) the report representation of that data.
I'm wondering if I can use the Google Reporting API as in the case 2) above.
Everything I read about Google Reporting API looks like the Reporting API is used in connection with data collected by Google (or pushed to Google), i.e. Google Analytics.
Google has a powerful reporting engine. If I could use it somehow to create custom reports using custom data it will be a big help for my project.
#Edit: may Google Charts be the answer? I will read their specification and I'll come later with my own answer.
The question was wrong: I didn't meant "report" but "chart". So instead looking toward Google Reporting I should look toward Google Chart. Thus the answer seems now trivial: Google Chart.
Google Chart is rather a client library (eg. JavaScript) than a server library (eg. PHP).
You can plot a chart in less than 5 minutes. All you need is to link the Google's API .js file in your .html source code, create a DataTable (where you should specify the columns and their respective data), set some options for your chart (like the title, the type, the parent DIV element that will encapsulate the final child chart object). Last but not least you have to call the draw method that will plot the chart. That's all folks!

Get Embed html code for bing map based on dynamic address

How to get the Bing maps embed html code based on dynamic address. In my page i have a city and state based on the i need to show the embed map in a page.
In order to do this, you will have several options including embedded maps, using interactive controls or even static imagery service.
Embedded Maps:
Based on your feedback, the simplest way to achieve what you want to do is for you to use the embedded maps, you will find options on the MSDN:
http://msdn.microsoft.com/en-us/library/ee692180.aspx
You can also think at using the Bing Maps website and configure the behavior of the portal using extra parameters:
http://msdn.microsoft.com/en-us/library/dn217138.aspx
Static imagery map
If you just want to display a static map (image) with a pushpin at the specific location, see the REST Imagery service here:
http://msdn.microsoft.com/en-us/library/ff701724.aspx
Sample url: http://dev.virtualearth.net/REST/V1/Imagery/Map/Road/Bellevue%20Washington?mapLayer=TrafficFlow&key=BingMapsKey
Interactive map using AJAX v7
You can find everything you need to implement your own interactive map using JavaScript on your page:
http://msdn.microsoft.com/en-us/library/gg427610.aspx

How to create propertyPage having crossbar plus video-decoder in directshow

I'm new to directshow to show capturing device video. I need to have video decoder (NTSC/PAL) and CrossBar tabs on a single propertPage dialog (see image).
I'm able to show propertyPage separately but I want both in one dialog, as in the image.
In my attempts I was able to get tabs on a page but not getting any inputPin and outputPins in the crossbar tab. I could not get them all to work together. If I manage to get crossbar to work, then the rest of the tabs crash on click???
Please guide me on how to have multiple propertyPages tabs on the same dialog. I'm working in vs2010. Code sample in C++ or .net will be appreciated. Thanks a lot !!!
This is a screenshot of standard property page, such as popped up with OleCreatePropertyFrame API for specific filter. It is using standard APIs to read and write settings for given COM object (DirectShow filter).
To put the settings onto one page, you can create your own property page, or other UI which talks programmatically to the filter and calls the respective methods via IAMCrossbar and IAMTVTuner interfaces.
You won't be able to replace existing property pages for existing (not yours) filter, for use with OleCreatePropertyFrame API, but other conbinations are doable:
custom property page for your filter, with/without OleCreatePropertyFrame API
custom property page for existing filter, without OleCreatePropertyFrame API
custom UI for existing filter
UPD. Another thing is that some standard pages might be filter specific, and other might be pin specific. Standard API shows pages for one object only, that is either filter or pin. In order to combine pages within one sheet, with standard API, you need to enumerate property pages on all objects, merge into single array, then create a fake COM object which forwards IUnknown::QueryInterface calls to specific COM objects (or just iterate through through array until you find first one implementing requested interface) and then use OleCreatePropertyFrame API against this proxy COM object. This can gather pages under one sheet/dialog.

Dynamics CRM Managed Solution Add Customer Set Parameters

I'm creating a solution which will be released as a managed solution for Dynamics CRM Online.
However, the customer will need to put information in when installing the managed solution to allow interaction with outside services.
For example, when you install the LinkedIn solution, you need to add your log in information to allow the CRM to access your LinkedIn account.
How do I add these parameters to the a solution, and then allow the customer to update them if they change?
Cheers
Edit:
To add to my query and following the answer below.
To make sure the process is correct in my head.
Option 1.
I will create a custom entity for storing key/value, or username/password combination.
I would then create a customisation page for the solution using html web resource, which when submitted, javascript would create a single record to hold those values.
I then need to link every record that needs the values stored in the custom record - I'm not sure how this would be done without editing a workflow after the storage record has been created, to link each normal record to the storage one.
Option 2.
Create an xml web resource that stores the values. Create the html/javascript resources to update this using the configuration page.
I can then use a javascript function to obtain that data when the custom entity is created, perhaps to populate hidden fields for storage and use behind the scenes.
I can't find any tutorials on getting started with using xml in this way - can you point me in the right direction?
I typically create a "Configuration" entity that has Name/Value attributes. This is also useful when you have Dev/Test/Prod environments that require different configs (e.g. URLs, credentials, etc).
Another approach is to using Plug-in configurations or Web Resources to store that type of information. The Plug-in configuration is pretty straightforward if you can have the customer use the Plug-in Registration tool to modify the value.

Resources