Can't import Date dd/mm/yyyy in crm - dynamics-crm

I have some records that I need to import into the CRM.
The format of dates in CRM is dd/mm/yyyy; and the format in Excel file is dd/mm/yyyy.
after importing, records with dates like 01/01/2016 are imported but those with dates like 31/07/2016 are not and the CRM give me the folowing error:
The source data is not in the required format.
When I import from Excel Online, it work, but from a file it doesn't work and give the error.
Thanks in advance for you help.

Add the correct localization settings for the specific user that is importing.

Related

CRM Portals date issue - date not rendering properly

I am having an issue while retrieving a date field from CRM using Fetchxml and displaying it using web template in CRM Portals.
Date is CRM:
10/10/2018 00:00:00 (TimeZone UTC+10:00)
CRM Portals (Adx studio portals) renders the below:
09/10/2018 02:00:00 PM
Can someone suggest how to handle this?
Regards,
Rizwan Aarif
Check out Behavior and format of the date and time field.
Specifically I think you will want to look at these elements:
Depending on what the field represents, you can choose one of the
following field behaviors for portal forms and grids:
User Local: The field values are displayed in the userā€™s local time
and formatted as per their current portal language/locale.
...
You can also override the default date/time format to be used on
portals by creating the following site settings:
DateTime/DateFormat: The date format used on the portal.
DateTime/TimeFormat: The time format used on the portal.
DateTime/DateTimeFormat: The format for full date and time used on the portal.
By default, the portal uses the standard date/time formats specified
by the website language settings.

Pentaho Issue with Import / Export and File Repository API

I created a dashboard in pentaho CDE with some title and description.
Now when I call the api "pentaho/api/repo/files/[Path]/children?showHidden=false&filter=*.wcdf", I am getting file list with properties.
However, if I change the properties like title / description, and save the dashboard those changes are not getting reflected.
Also when I export these files and import into another folder, the description property is not coming in the api call.
What could be the reason and how to solve this?

CRM Configuration Migration - Date Format

When I use the CRM Configuration Migration tool to import configuration data into a CRM organisation it incorrectly decides that the dates in the data.xml import file are in mm/dd/yyyy format (US format) but they are in dd/mm/yyyy format and therefore it imports dates incorrectly or not at all e.g. a date of 01/02/2015 (1st Feb) in data.xml is imported into CRM as 02/01/2015 (2nd Jan), a date of 13/01/2015 (13th Jan) is not imported into CRM as it is an invalid date in US format.
The system locale, location, and formats are all set to United Kingdom on both the CRM server and the SQL Server. In CRM, in both the system settings and the user settings, formats are set to United Kingdom.
How does CRM Configuration Migration tool decide what format dates in the data.xml import file are in?

The Entity you are trying to import is not the same as the one existing in the database even though it has the same name

when trying to import customizations for a specific entity I get an error saying that I can't reuse system queries for a custom entity.
The error in the title appears in the detailed CRM trace:
Could not import a Saved Query {C9771189-0CB3-E111-A93D-00505699001D} for ObjectTypeCode 10010 because this is a system Saved Query. The Entity you are trying to import is not the same as the one existing in the database even though it has the same name.
the id of the query is the one in the source customizations.
Both the source and target entities seem to have the exact same queries, with the same names.
Google hasn't been able to offer much on this.
Can anyone shed any light on the subject?
Is your source environment upgraded from v3.0? If so have you applied the hotfix (or latest rollup) mentioned in this KB article to both servers?

Custom Report in Dynamics CRM Online - Default Date Parameter

I am creating a custom report for Dynamics CRM in Business Intelligence Devlopment Studio.
I have a filter in my FETCHXML with a date 'on-or-after' and the value as a date parameter.
When I don't set a default value, this worked fine however is causing the same error as below when I try to return to it, I have my date picker and could run the report from there.
I want to set a default as 1 month ago, so I put the following default expression into the parameter:
=DateAdd("M",-1,Today())
But I get the following error:
The date-time format for 18/04/2012 00:00:00 is invalid, or value is outside the supported range.
I'm assuming the date-time format is invalid for the createdon field in Dynamics but I don't know how it should be presented in the default value.
MS Dynamics CRM 2011 uses SortableDateTiĀ­mePattern.
So, I guess need to have it in this format: yyyy'-'MM'-'dd'T'HH':'mm':'ss (2008-03-09T16:05:07).
At least, I use it like this creating SOAP requests from JS.

Resources