CRM 2016

Custom Mapping from Quote Product to Order Product

Posted by dynamicsnick on October 17, 2016
CRM 2016 / Comments Off on Custom Mapping from Quote Product to Order Product

So CRM 2016 even the latest release still has some issues with this system mapping and it is easy to move custom attribute fields from one to the other once you know where to look. Usually these mappings are controlled on the relationship, but you will not see this one to get it takes a little trickery to CRM’s Relationships Mappings master.

First you have to find the ID of this relationship which is to find using a simple OData Query.


In the first part you are just asking the Odata service to return to you the ID for the system mapping you need. Once you have filled out your crm information and ran it in a browser (use chrome it’s easier) it will return a result of EntityMapId.



You can now append this id returned to the end of the following system mapping link.


Once you have the link together and paste it in the browser you will get the relationship mapping editor for the options selected.


Now you can create the mappings to support your custom entities in CRM.

Tags: ,

Intellisense in Visual Studio for Microsoft Dynamics CRM 2016

Posted by dynamicsnick on May 18, 2016
CRM 2016, Javascript / Comments Off on Intellisense in Visual Studio for Microsoft Dynamics CRM 2016

If you do much development in CRM and use visual studio for your JS development and deployments you will find yourself missing the native intellisense feature that is so handy to have when using the IDE. However there is a useful solution for those that have also had this issue.

It is an additional .js file that can be added at the beginning of your code that can help with this in Visual Studio. The js library itself is created from the team that created the MSXRMToolkit and can be downloaded at the following location here.

All you need to do is add the file in your visual studio JS file deploy it as a resource and then you can reference it in your other .js files to activate intellisense in your code by dragging it in VS to your js file.

Optionally you can just add the following reference on each of your JS files that you would like to see intellisense in.

/// <reference path=”MSXRMTOOLS.Xrm.Page.2016.js” />

Now you should be able to activate the intellisense options in VS by simply typing in XRM. as shown in the image below.

CRM JS Visual Studio Intellisense Example



Tags: , ,

CRM 2016 Web Resource Development in VS 2015

Posted by dynamicsnick on May 13, 2016
CRM 2016 / Comments Off on CRM 2016 Web Resource Development in VS 2015

So, if you are like me I choose to have development of my CRM code in a single user interface. Visual Studio is my weapon of choice and with some simple configuration it can be used to also allow you to target your web resources as well to update code. I do not choose to revision through TFS, but use svn instead and this works for me.

This way I can do solution development, plugins, web resource development, or custom C#.Net web applications all from the same tool. In this short article I will talk about the configuration of web resources and how I manage them in CRM 2016 deployments. There are a few ways to do this, but this is the way that I find works best for me.

First a trip over to codeplex and make sure that you have downloaded the CRM Developer extensions at the following link

This is an alternative to the options in the CRM Developer toolkit that shipped with CRM 2011 & 2013. If you are doing any development at all you should also make sure you have downloaded the CRM SDK as well located here.

You will need to install the CRM developer extensions into your release of Visual Studio 2015.

You will next need to create a new web resources project in Visual Studio.

File–> New–> Project –> CRM Developer Extensions –> CRM Resource Project


Once the project has been generated you should see the following option in your project named CRM Developer Extensions -> Web Resource Deployer.



The web resource deployer is how you publish or download files from your custom CRM solutions.

In order to connect to your CRM production or development instance you will need to connect to it using the connections panel and choosing to add a new server connection.

configure server

When you add a new connection it will be remembered in CRM with the project. The CRM Developer Extension plugin works with an online (Office 365) or any on premise release CRM 2016.


Once you have connected to CRM using the connectconnect to CRM button, you will be able to choose the solution that you want to download resources from, or the specific web resources you would like to push up and deploy.

The download functionality is very useful when you find yourself into a new CRM project that does not have revision control around resources in CRM, or when users update JS or HTML resources on the fly using the editor in CRM. This allows you to quickly move those custom resources into a new VS project and revision it properly.

Once you have setup your project and created some sample JS files you can choose to upload them into your solution in CRM 2016. You simply check the box of the items that you wish to publish and what solution you wish to publish the resources to and then click on the publish publish button to have these web resources deployed into CRM.

You will have to also note that publishing doesn’t make the web resource active it merely adds or updates the files in your solution. They are not fully published until you choose to publish the solution, then they will be made active.


Tags: , ,

CRM 2016 Update

Posted by dynamicsnick on May 13, 2016
CRM 2016 / Comments Off on CRM 2016 Update

Here is a link to the 2016 – 0.1 update that is now out for those of you developing on CRM2016.

Issues that are resolved in Update 0.1 for Microsoft Dynamics CRM 2016

Update 0.1 resolves the following issues:

  • Creating a new Knowledge Article record doesn’t respect changes made to Auto Numbering configuration.
  • Importing new Knowledge Article translation using Import Data Wizard reports failure within Data Import job.
  • Applying an Email Template shows an error and the Template is not applied when unresolved email address is given in the “TO” field of an Email Entity IC Form.
  • Lookup on “TO” field of the Email Entity IC Form doesn’t show the “…” and cross symbol for recipients with long Full Name.
  • Clicking “Discard Changes” while navigating away from Email Entity IC Form blanks out Owner Field and doesn’t navigate back to Entity Grid.
  • Forwarding an email with attachment from Email Entity IC Form doesn’t show the Attachments.
  • Adding existing Process to a Dynamics CRM 2016 solution fails with error message.
  • OrderOption and SetReportRelated SDK message take collection of integers as parameter fails with internal server error.
  • Switching Browser zoom levels results in improper rendering of multiple pie charts in Interactive Service Hub.
  • In the Interactive Service Hub, the Edit properties (ellipses) button on an Interactive Dashboard Stream is misaligned.
  • In the Interactive Service Hub, the Global Filter doesn’t show the selected values for Lookup Filter.
  • New button is available under Solution Components-}Dashboards even when a User does not have Create Privilege on System Form.
  • In the Interactive Service Hub, the records shown in Dashboard Streams for Entity Dashboard are not in sync with Records shown on Entity Grid.
  • In Interactive Dashboards, the on hover tool tip covers the clickable area of the Column Chart bars, not leaving space to click the bar for filtering.
  • In the Interactive Service Hub, deactivating a record from IC Form doesn’t refresh the Command bar to show the actions available for a deactivated record.
  • In the Interactive Service Hub, clicking the MRU icon doesn’t show recently used Views.
  • Resolving or Reactivating a case from IC Case Form doesn’t refresh the Remaining Terms value in the Entitlement Sub-grid.
  • In the Interactive Service Hub, the Activity Status is not auto locked in the Activities IC Form after creating a new Activity.
  • In the Interactive Service Hub, the “Quick Action To Case” from Timeline throws script error for a custom Activity.
  • Corrected spacing in Timeline when using Unified Service Desk.
  • Removed additional white space in the reference panel for Unified Service Desk.
  • In a Lookup you are unable to select multiple records for Add Existing when using Unified Service Desk.
  • When accessing a record from a View from Unified Service Desk, the Previous and Next buttons are not displaying based on the view.
  • When using Firefox, a Quick Create is not possible for an Entity Record when the record values match a duplicate detection rule condition.
  • When accessing a form containing an Entitlement sub-grid, the error “Restart App error message shown for Entitlements sub-grid when contact or account has no entitlements associated” occurs using Unified Service Desk.
  • When using Unified Service Desk, if a View of a Queue has more than 10 records, the additional records are not present.
  • Sorting is not working properly when sorting alphabetically on a view using the Unified Service Desk.
  • Start Time and End Time are not pre-populated when a new Appointment is created using Unified Service Desk.
  • After removing Read Access for an entity, the user does not encounter an error when navigating to the entity records.
  • After saving a newly created Appointment, the Status Field is not locked.
  • Record Navigation in IC forms is not functioning after selecting previous or next.
  • After selecting a date from the date picker, the date picker remains when using Unified Service Desk.
  • The Interaction Wall will now show a message when no matching records are found.
  • Creating a related activity from IC wall doesn’t map all the data from the parent record to the activity.
  • Multiline fields are aligned differently than other fields.
  • Field Label and Value spacing was corrected.
  • Sub-grid styling is not proper in Lookup More Records dialog in the Owner Field.
  • Replaced .Net Data Contract Json serializer with Newtonsoft JsonSerialzer for complex types.
  • Web resources in a collapsed tab loads when opening a CRM Form.
  • The checkbox does not remain checked after selecting the Change Tracking checkbox in the Position entity, and saving.
  • An error occurs when attempting to delete a potential duplicate from the Duplicate Detection dialog.
  • Unable to convert Activity to Opportunity with Quick Campaign in Regarding field.
  • After creating a new Business Process Flow and saving. When opening the Form a second time, the word “instellen op” is displaying for all languages in the Action Field.
  • The Business Process Flow is not displayed for the Accounts which are created through the SDK process (Dialog).
  • In Chrome or Safari, the Business Process Flow Textbox Steps value does not have proper styling.
  • Prevent grids from refreshing when loading an Opportunity Form with a Product Suggestion fly out when FCB is off.
  • Download CRM for Outlook button does not initiate the download in the Apps for Dynamics CRM page.
  • CRM app for Outlook encounters the error “You can’t view this type of record on your device. Contact your system administrator” in Windows 8.1 Phone.
  • Mailbox getting reset to Not Run after adding the CRM App for Outlook.
  • CRM app for Outlook redirects to an authentication page that is blank in Internet Explorer 11.
  • Included OwningBusinessUnit in the indexes for OwnerId.
  • Indexes were created on entity tables for ModifiedOn to optimize deletions.
  • Office Graphs are now disabled using SharePoint Server Based Integration from CRM Online to SharePoint On Premises.
  • Corrected label wrapping on Pie Charts.
  • Quick create for Appointment activities are not working.
  • No Data is shown in dashboard for Entity “QueueItemDetails” when Filter By is selected as “Entered Queue”.
  • The custom field is not displaying properly in a custom entity, and the tool tip is not displaying completely when using Firefox.
  • The Status Reason does not appear correctly for a new record when using a custom Status Reason, and setting it as default.
  • Recent Cases sub-grid is displaying blank initially until the grid is refreshed.
  • Reference panel disappears when hovering on General and Timeline section of the Contact Form using Chrome.
  • When attempting to open a deleted task, the error “The record is unavailable” occurs, and after selecting Ok, a customized event error occurs.
  • All records for custom queue are not showing up in stream of dashboard when using Unified Service Desk.
  • When using the Microsoft Dynamics CRM app, the Notes content is not shown upon clicking “Edit Note”.
  • Corrected performance issue when selecting the Lookup for Set Regarding using Unified Service Desk.
  • Delete icon is displaying in the middle of the row when the column is resized in the Recent Cases grid when using Unified Service Desk.
  • Lookup More Records “Add” command is failing when attempting to add a relationship for a child Case.
  • In Unified Service Desk, the tooltip is missing for Case Title in Tile View of Tier-1 dashboard.
  • The dashboard is refreshed with stale data on deactivating/activating the Account on Active Account stream in dashboard using Unified Service Desk.
  • The My Active Cases stream count of cases does not change after deleting a Case from the dashboard using Unified Service Desk.
  • When navigating to Queues in Unified Service Desk, a Query Builder Error occurs.
  • Date Time Charts showing X-axis labels for periods that do not fall within the selected date range.
  • When viewing Charts in the Unified Service Desk, there is a visual defect in the Legend Navigator of the Pie Chart with the Up and Down arrows.
  • Resolve by is not rendering properly after expanding all nodes of the dashboard global filter using Unified Service Desk.
  • Routing rule to route to the queue is being applied to cases after selecting Save, or Save and Close.
  • Date and Time filter will now show Field name.
  • Interactive experience related metadata should be moved on the Entity Customization UI page.
  • Performance issues upon selecting next stage of a Business Process using Unified Service Desk.
  • If the location of C360 quick view form is changed on the screen it starts displaying, it will display like a normal quick view form rather than showing a C360 UI.
  • Searching for related articles shows search control on top of label as opposed to below.
  • Unable to clear out the Subject Field in the Business Process Flow and Summary section using clear button(x) in the Subject Field.
  • X axis values not displayed for Line Charts.
  • The horizontal scrollbar is visible, but the vertical scrollbar is hidden on the Tier 2 dashboard using the Edge browser.
  • Convert to Case does nothing when Single Activity is selected from the Activity Grid, and “To case” is selected using the Unified Service Desk.
  • In Unified Service Desk, an error in a Business Process Flow shows up at the bottom of Stage or Step area requiring scrolling.
  • Business Process Flows on Knowledge Management Forms do not span the entire width of the Form.
  • Whitespace on the lookup value does not trigger editing experience.
  • Child Cases sub-grid does not appear correct on a child Case Form.
  • The UI becomes unusable after disconnecting and reconnecting to the network using Unified Service Desk.
  • Under Account or Contact, when selecting any page view, the entire Search control shifts using Unified Service Desk.
  • A tag or column will not appear correctly on Tier 1 or Tier 2 dashboard when top X items rule is applied on the Chart using Unified Service Desk.
  • Convert rules do not work for any Activity other than Email.
  • An error is thrown while scheduling a Service Activity and the Service Name is also getting changed while using Firefox.
  • No action occurs when selecting + in the sub-grid for Quote Product on the Quote Form.
  • When adding a record to the Competitor sub-grid, the error “More than one element was found with tagName = TBODY” occurs.
  • Duration control is not auto-mapping Activity into a case.
  • Unchecking of “All Entities” in the Activity Feed filer for the first time is not working. When an activity tab is clicked twice, all activities in the social pane are becoming invisible and not displaying in the pane, even though “All Entities” checkbox is checked.
  • Unable to edit the recurrence pattern of a CRM recurring appointment, as the “set recurrence” page is not loading.
  • Within the notes section on Marketing Lists, the “attach” and “done” buttons are not visible or viewable.
  • A filter created on a custom activity in the Activity Filter is not being saved.
  • Date Picker is not visible in Quick Create Form.
  • Text in the welcome screen is not localized for Serbian Cyrillic.
  • Upgrade to CRM 2016 failed with “Object reference not set an instance of object”.
  • Time is not being displayed properly in a Type: “Date and Time” field.
  • Cannot import component Entity: The publisher of the solution that is being imported does not match the publisher of the solution that installed this component.
  • WebApi OData V4 Endpoint – RetrieveMultiple of 10000 Activities is timing out.
  • Disaster Recovery URL’s generate errors from Web API.
  • Cannot create related records for self-referential relationship using Deep Insert.
  • FetchXml with an inner join returns null values from a joined entity.
  • For single valued navigation property name, the navigation property is not being returned on $expand (if it is null).
  • Performance improved by optimizing the functions, as we are not caching the SelectExpandNode for saved query and Fetch XML retrieve scenarios.
  • The Upgrade Action for UpdateDateTimeAttributes does not run correctly in CRM 2016 when you upgrade from CRM 2015.
  • Import and Upgrade of CRM 2015 database hangs in pre-req checks of Deployment Manager.
  • Search records Metric Type view column is displaying “True” or “False” when it should display with amount.
  • Invoking search status API URL in browser is returning error “Cannot deserialize the current JSON object”.
  • IsRetrievable property not reflected properly after deployment. Should set the default value to IsRetrievable = 0, but instead it was set to 1.
  • MetadataXmlValidator does not thrown exception if an attribute cannot be retrievable or searchable and is currently marked true in xml.
  • Fixed spacing between paragraphs on the first run experience to be equal and consistent in SharePoint integration.
  • When setting up Server-Based SharePoint integration and selecting the location dropdown, there is only one location to select rather than automatically selecting the location by default.
  • On Opportunity Product, the override price keeps reverting back to the default amount rather than setting to the modified price.
  • The auto created activity for “Quote won” on related opportunity activity wall shows as “Quote won ({0}) – {1}”.
  • Receiving script error when opening email records while using the Dynamics CRM App.
  • New Active Directory Authentication Library is not referenced correctly.
  • Creating a user in a Time Zone that uses day light savings time is not adding the day light savings offset.
  • Signing in with a user with no roles, navigating backwards and then signing in with a valid user, the system hangs on the user education page.
  • The Win10 app fails app validation with the error Restricted namespace found.
  • Unable to find the Draft Records in Draft View when the records are created offline.
  • Android wont connect to servers using GeoTrust SSL certificates.
  • The “Add New Activity” and “Add Existing Activity” buttons are not displayed for Calendar view.
  • Relationship Tile area disappears upon refreshing a form on any record.
  • The “+” symbol beside a simple list on a record disappears once a user kills and reopens the app.
  • The “and” text does not appear localized in Families and Products page under Product Catalog.
  • Opportunity close activity shows up as an activity but no details are visible.
  • Unified Service Desk 2.0: Invoking a DoSearch Action Call to perform a search is resulting in $Return Replacement Parameter not being updated.
  • Slow performing query on Case research control in Incident Form as the number of resolved cases increases. Added index on incident0″.ModifiedOn desc to improve performance.
  • Outlook Ribbon Locks and Hangs, and the ribbon isn’t updated when a folder switch navigation fails.
  • Text is truncated in the dialog of Add Contacts to CRM in outlook.
  • Unified Service Desk daily automation is failing in main branch, as the Microsoft.Xrm.Tooling.CrmConnector.Powershell.dll is upgraded to Dynamics CRM 2016 version but the XRM SDK dlls still referring to Dynamics CRM 2015 Update 1 version.
  • Service Calendar error when changing the view to “team members”.
  • Export to Excel button in Marketing List, Associated grid of Campaign, and Campaign Activity is throwing an error.
  • Issue with document location when mapped with existing document location prefix.
  • Dynamics CRM 2016 Upgrade failed with error message: “Value cannot be null. Parameter name: path.”
  • A Query Build Error occurs when using a filter based on Cross Entity Attribute Charts on the Dynamics CRM App.
  • Added Time Zone for North Korea.
  • Exporting the default solution will include unmodified sub components.
  • Filtered view hierarchical security should be defined at customization time.
  • An error occurs when attempting to export an Unmanaged Solution.
  • Scroll bar is displayed for empty Social Pane.
  • Text is shown in a single line for the Description field in Close as won, or lost dialog.
  • Violation of PRIMARY KEY constraint error on temp table ‘dbo.#SyncEntryIds’.
  • Feedback attribute creation fails if survey has more than 40 questions.
  • The value in response conversion in survey response to feedback section is not retaining to any value except surveys and sub-surveys.
  • Error on saving Forms with Currency fields that are empty.
  • File open error for Excel Template Case Summary.xlsx.
  • Unable to add a condition for a Response Mapping under a survey.
  • WorkflowWaitsubscription blocking due to select count(*).
  • When long text is given in Description field in Close as won/lost dialog, the text is shown in a single line in non-English organizations.
  • Actions are not reflected in the Dynamics CRM App as per the created Business Rules in web client.
  • Opening a non-primary Record from Entity Grid throws Record Not Available Error.
  • Grid actions are not loading in Documents grid.
  • A script error occurs due to an unsaved Note on a Form.
  • Unable to close Date / Time selector in Entity Form and Field remains in edit mode.
  • Field permissions are not applied in the Dynamics CRM app for the Phone Field.
  • After performing a publish on a custom Entity (not publish all), Dataset Custom Control configurations are lost for other custom entities after metadata sync.
  • Image webresources included in by default collapsed tab are not displayed when tab is expanded.
  • Record Navigation is not shown when the Queue item is opened by double clicking.
  • OnReadyState event not fired as expected for iframe control.
  • View name is not displayed for a simple list on a dashboard which is configured as a Calendar control.
  • Unable to attach a file in Notes when using the Dynamics CRM app on Windows Phone 10.
  • Able to add more charts than specified in layout for single/multi stream dashboard.
  • Labels are missing for Dataset Custom Controls in Dashboards.
  • SolutionCache Corruption causes login to fail at YammerEnabledActivityFeeds Solution installed.
  • When opening a URL the capitalization in a URL is converted to lower case.
  • Default solution import fails on missing SecurityRole ID.
  • “Created on Date” is now a string that can be more easily differentiated from “Created On”.
  • Outlook Client Performance Issue over Latent Networks with Expect100Continue.
  • Adding an existing process to a Solution created in Dynamics CRM 2016 fails with error.
  • Add Required Components for a Solution does not add required Child Reports.
  • Fixed an issue where auto-create doesn’t work for Office Groups at all, if the group wasn’t created in Office.
  • Fixed an issue where queued items are not showing up Service -} queues grid.
  • Update fails with error “Violation of UNIQUE KEY constraint ‘UQ_LocalizedLabelCheck’. Cannot insert duplicate key in object ‘MetadataSchema.LocalizedLabel’. The duplicate key value is (2ec08938-4992-4404-8190-6ce561573735, description, 1041, Jan 1 1900 12”.
  • Fixed an issue where any Plugin or Workflow activity that includes the lien System.Diagnostics.Trace.WriteLine is throwing a Security Exception.
  • Fixed an issue in Internet Explorer where a security certificate alert pops up during app load.
  • Fixed an issue where process fly out is not displaying exactly under a particular stage of business process flow in cases.
  • Fixed an issue with getting error messages for Social sharing in survey runtime.
  • Fixed an issue where, for Queue items, release action does not change the worked by field, even after pressing grid refresh button.
  • Fixed an issue where pagination is not showing the correct amount of records for each page.
  • Fixed an issue where Xrm.Tooling doesn’t work in Azure Apps.
  • Fixed an issue where the clear filter is not working when four filters are applied on Visual filters for Activity Dashboard.
  • Fixed an issue where, after upgrade, the out of the box Knowledge Manager Role is unmanaged.
  • Fixed an issue with the iPad Pro where Horizontal Scrolling would sometimes not function correctly.
  • Fixed an issue where a solution that contains a reference to the newly introduced TimeLine control cannot be imported into an RTM Server.
  • Fixed an issue where a user was unable to proceed further when using captcha = yes and the response required for the question = yes when the user entered only captcha and clicked on Next.
  • Fixed an issue where the activities view label was misplaced and the search result values were overlapped by the grid header in the Edge browser when a sub grid is inserted in IC form.
  • Fixed text wrap so that it breaks words only at allowed break points and not in between words.
  • Fixed issues where the ToolTip of Translations and prepare client customization tabs are not localized.
  • Fixed an issue where an item without a Label value causes the next item to be rendered with a horizontal displacement (indented) from other items.
  • Corrected the year display in the About page.


Dynamics CRM 2016 Spring Wave Capabilities

Posted by dynamicsnick on March 04, 2016
CRM 2016 / Comments Off on Dynamics CRM 2016 Spring Wave Capabilities

The spring wave release has many new enhancements to field service, portals, guided navigation, and social.

Check out the sway presentation here.

and the official post from Dynamics CRM GM Jujhar Singh here.




Tags: , ,