Has the hybrid coexistence support been released yet? (on prime dynamics 365 with Cloud 365) and data replication? Looks like the dual instance support is in place for cloud. Has the updates been released for on-prem & cloud?
Status on hybrid coexistence in federated deployment
Sub-grid filter in Model-driven app (Sales Hub) and Dynamics 365 for Phones App
Hi community,
We can filter sub-grid in classic UI using JavaScript, but the same JavaScript is not filtering sub-grid in mobile app or Model-driven app.
Please suggest me the solution to filter sub-grid in Model-driven app and Mobile apps.
Regards,
Hardik Chauhan
Error When Return EntityCollection in Output Parameter
Hi can anyone give me solution here, i create custom action in my Dynamic Crm i add input and output parameter, So the Case is when Input is send it will filter some entity with that attribute and return Entity Collection in my output parameter. But The problem is it will always return error with status 500 Internal Server Error, here is the complete error that i received
{ "error": { "code": "0x80040216", "message": "System.Runtime.Serialization.SerializationException: Element 'schemas.microsoft.com/.../Contracts:Entity' contains data from a type that maps to the name 'CrmEarlyBound:BookableResourceBooking'. The deserializer has no knowledge of any type that maps to this name. Consider changing the implementation of the ResolveName method on your DataContractResolver to return a non-null value for name 'BookableResourceBooking' and namespace 'CrmEarlyBound'.\r\n at System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator reader, String name, String ns, Type declaredType, DataContract& dataContract)\r\n at System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator xmlReader, Int32 id, RuntimeTypeHandle declaredTypeHandle, String name, String ns)\r\n at ReadArrayOfEntityFromXml(XmlReaderDelegator , XmlObjectSerializerReadContext , XmlDictionaryString , XmlDictionaryString , CollectionDataContract )\r\n at System.Runtime.Serialization.CollectionDataContract.ReadXmlValue(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context)\r\n at System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator reader, String name, String ns, Type declaredType, DataContract& dataContract)\r\n at System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator xmlReader, Int32 id, RuntimeTypeHandle declaredTypeHandle, String name, String ns)\r\n at ReadEntityCollectionFromXml(XmlReaderDelegator , XmlObjectSerializerReadContext , XmlDictionaryString[] , XmlDictionaryString[] )\r\n at System.Runtime.Serialization.ClassDataContract.ReadXmlValue(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context)\r\n at System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator reader, String name, String ns, Type declaredType, DataContract& dataContract)\r\n at System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator xmlReader, Int32 id, RuntimeTypeHandle declaredTypeHandle, String name, String ns)\r\n at ReadKeyValuePairOfstringanyTypeFromXml(XmlReaderDelegator , XmlObjectSerializerReadContext , XmlDictionaryString[] , XmlDictionaryString[] )\r\n at System.Runtime.Serialization.ClassDataContract.ReadXmlValue(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context)\r\n at System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator reader, String name, String ns, Type declaredType, DataContract& dataContract)\r\n at System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator xmlReader, Int32 id, RuntimeTypeHandle declaredTypeHandle, String name, String ns)\r\n at ReadParameterCollectionFromXml(XmlReaderDelegator , XmlObjectSerializerReadContext , XmlDictionaryString , XmlDictionaryString , CollectionDataContract )\r\n at System.Runtime.Serialization.CollectionDataContract.ReadXmlValue(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context)\r\n at System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator reader, String name, String ns, Type declaredType, DataContract& dataContract)\r\n at System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator xmlReader, Type declaredType, DataContract dataContract, String name, String ns)\r\n at System.Runtime.Serialization.DataContractSerializer.InternalReadObject(XmlReaderDelegator xmlReader, Boolean verifyObjectName, DataContractResolver dataContractResolver)\r\n at System.Runtime.Serialization.XmlObjectSerializer.ReadObjectHandleExceptions(XmlReaderDelegator reader, Boolean verifyObjectName, DataContractResolver dataContractResolver)\r\n at System.Runtime.Serialization.XmlObjectSerializer.ReadObject(XmlDictionaryReader reader)\r\n at Microsoft.Crm.Sandbox.SandboxUtility.DeserializeDataContract[T](Byte[] serializedDataContract, Assembly proxyTypesAssembly)\r\n at Microsoft.Crm.Sandbox.SandboxExecutionContext.Merge(IExecutionContext originalContext)\r\n at Microsoft.Crm.Sandbox.SandboxCodeUnit.ExecuteInternal(SandboxClient client, IExecutionContext context, SandboxTraceContext sandboxTraceContext, SandboxCallTracker callTracker, Guid parentExecutionId, String assemblyContents, Boolean& isSafeToRetry, Boolean& executeDone)\r\n at Microsoft.Crm.Sandbox.SandboxCodeUnit.<>c__DisplayClass24_0.<Execute>b__0(): Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #BBF0AE79", "innererror": { "message": "System.Runtime.Serialization.SerializationException: Element 'schemas.microsoft.com/.../Contracts:Entity' contains data from a type that maps to the name 'CrmEarlyBound:BookableResourceBooking'. The deserializer has no knowledge of any type that maps to this name. Consider changing the implementation of the ResolveName method on your DataContractResolver to return a non-null value for name 'BookableResourceBooking' and namespace 'CrmEarlyBound'.\r\n at System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator reader, String name, String ns, Type declaredType, DataContract& dataContract)\r\n at System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator xmlReader, Int32 id, RuntimeTypeHandle declaredTypeHandle, String name, String ns)\r\n at ReadArrayOfEntityFromXml(XmlReaderDelegator , XmlObjectSerializerReadContext , XmlDictionaryString , XmlDictionaryString , CollectionDataContract )\r\n at System.Runtime.Serialization.CollectionDataContract.ReadXmlValue(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context)\r\n at System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator reader, String name, String ns, Type declaredType, DataContract& dataContract)\r\n at System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator xmlReader, Int32 id, RuntimeTypeHandle declaredTypeHandle, String name, String ns)\r\n at ReadEntityCollectionFromXml(XmlReaderDelegator , XmlObjectSerializerReadContext , XmlDictionaryString[] , XmlDictionaryString[] )\r\n at System.Runtime.Serialization.ClassDataContract.ReadXmlValue(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context)\r\n at System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator reader, String name, String ns, Type declaredType, DataContract& dataContract)\r\n at System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator xmlReader, Int32 id, RuntimeTypeHandle declaredTypeHandle, String name, String ns)\r\n at ReadKeyValuePairOfstringanyTypeFromXml(XmlReaderDelegator , XmlObjectSerializerReadContext , XmlDictionaryString[] , XmlDictionaryString[] )\r\n at System.Runtime.Serialization.ClassDataContract.ReadXmlValue(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context)\r\n at System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator reader, String name, String ns, Type declaredType, DataContract& dataContract)\r\n at System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator xmlReader, Int32 id, RuntimeTypeHandle declaredTypeHandle, String name, String ns)\r\n at ReadParameterCollectionFromXml(XmlReaderDelegator , XmlObjectSerializerReadContext , XmlDictionaryString , XmlDictionaryString , CollectionDataContract )\r\n at System.Runtime.Serialization.CollectionDataContract.ReadXmlValue(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context)\r\n at System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator reader, String name, String ns, Type declaredType, DataContract& dataContract)\r\n at System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator xmlReader, Type declaredType, DataContract dataContract, String name, String ns)\r\n at System.Runtime.Serialization.DataContractSerializer.InternalReadObject(XmlReaderDelegator xmlReader, Boolean verifyObjectName, DataContractResolver dataContractResolver)\r\n at System.Runtime.Serialization.XmlObjectSerializer.ReadObjectHandleExceptions(XmlReaderDelegator reader, Boolean verifyObjectName, DataContractResolver dataContractResolver)\r\n at System.Runtime.Serialization.XmlObjectSerializer.ReadObject(XmlDictionaryReader reader)\r\n at Microsoft.Crm.Sandbox.SandboxUtility.DeserializeDataContract[T](Byte[] serializedDataContract, Assembly proxyTypesAssembly)\r\n at Microsoft.Crm.Sandbox.SandboxExecutionContext.Merge(IExecutionContext originalContext)\r\n at Microsoft.Crm.Sandbox.SandboxCodeUnit.ExecuteInternal(SandboxClient client, IExecutionContext context, SandboxTraceContext sandboxTraceContext, SandboxCallTracker callTracker, Guid parentExecutionId, String assemblyContents, Boolean& isSafeToRetry, Boolean& executeDone)\r\n at Microsoft.Crm.Sandbox.SandboxCodeUnit.<>c__DisplayClass24_0.<Execute>b__0(): Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #BBF0AE79", "type": "System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]", "stacktrace": " at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.Execute(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, Boolean checkAdminMode, ExecutionContext executionContext, Dictionary`2 optionalParameters)\r\n at Microsoft.Crm.Extensibility.OData.CrmODataExecutionContext.Execute(OrganizationRequest request, ExecutionContext executionContext)\r\n at Microsoft.Crm.Extensibility.OData.CrmODataServiceDataProvider.ExecuteOperation(CrmODataExecutionContext context, EdmOperation edmOperation, Dictionary`2 parameters, Dictionary`2 boundParameters)\r\n at Microsoft.Crm.Extensibility.OData.ActionController.ProcessOperationRequest(String operationName, Dictionary`2 operationParameters, EntityReference entityReference, String boundEntityName, String boundEntityType)\r\n at Microsoft.Crm.Extensibility.OData.ActionController.<>c__DisplayClass9_0.<PostUnboundAction>b__0()\r\n at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute[TResult](ILogger logger, EventId eventId, ActivityType activityType, Func`1 func, IEnumerable`1 additionalCustomProperties)\r\n at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute[TResult](ILogger logger, XrmTelemetryActivityType activityType, Func`1 func)\r\n at lambda_method(Closure , Object , Object[] )\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.<GetExecutor>b__9(Object instance, Object[] methodParameters)\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Dispatcher.HttpControllerDispatcher.<SendAsync>d__1.MoveNext()" } } }
Why i got that error, or maybe i can't return Entity Colleciton on my Output Parameter ? because when i return string it work fine.
Thanks in Advance
Performing CRUD operations using Xrm.WebApi.online.execute or Xrm.WebApi.online.executeMultiple
I have a requirement to bulk update more than 500 opportunity products i used the simple Xrm.WebApi.updateRecord request in a loop but it appears that it takes too much time to finish i found in msdn documentation Xrm.WebApi.online.executeMultiple requst and i really need to use it but the problem i can't find any example or documentation on how to perform crud operation. can you please publish a some simple examples on crud operation
Moving the CRM server on another domain and keep the users on the current domain
Hello my dear friends,
I am facing the following situation:
My client has move the CRM server on another domain and he want us to reimport the orgnization and use the same users which remains on the current domain. How can I achive that ?
Thank you very much,
Auto 'Refresh From CRM' for Excel file
Hello There,
I have a dynamic excel sheet connected to Microsoft Dynamics CRM. If I wish to refresh this file, I go to> Data > Refresh From CRM and save the file. This way I get the latest data available in CRM.
Is there a Macro/VB script to do this on a click of a button or using task scheduler?
Translate Service reports on execution
Hi all,
I am working with Service reports using Reporting Services. Using XrmToolbox Easy Translator to translate entity labels and option sets I realized that using a report in a CRM user language display the information according to its language.
I need to translate the report on execution without needing to change my default language. I thought maybe a solution would be create a button with function the Ribbon Workbench tool but I am not sure.
Conclusion: My default CRM languange is Spanish; I need to download a report in english like if the CRM default language was English but avoiding the "changing language per user step".
Any suggestions?
Auto Populate Sub grid
References to deactivated user (deleted from AD) is impossible to replace with new user
Hello,
CRM user has left the company and its Active Directory account had been deleted (security reasons). Using ADFS that information reached Office365 and from there that CRM Dynamics 365. CRM deactivated that user by itself. However many Accounts keep references to that user (it is in a custom lookup filed "Responsible person" on Account to System User). Later a new user was hired and it is time to change the loopkup fields from the old user to the new one, but CRM doesn't allow to change the lookups saying because the old user "is disabled". There is no way how to enable him in CRM , nor in Office365 (integrated with local AD via ADFS). In local AD the user was already deleted. How can that situation be solved? Why CRM doesn't allow to remove lookup references to disabled user and set them to a new user? It makes no sense to me...
Thanks for hint.
Best regards
Veroslav
SystemFormBase in Dynamics 365 Customer Engagement
Hi,
I have 3 environments (Développement, Staging and Production). The three are in V 9.1.0.643 and obviously the production instance contains more data than the other two. I discovered that the entity SystemFormBase occupies more space in development and staging instances than in production one in a ratio of 1 to 10. I do not understand why and what is possible to do to save storage space.
Best regards.
Youcef
Retrieve arguments/attributes from parent window (OpenWebResource)
Hi All, I'm new at this so, this is my first question.
I have a problem with the new "Xrm.Navigation.openWebResource". Once the dialog opens, I want to retrieve or get some attribute from the parent window that opened the current window. I want this attribute in order to use it inside if new window for filtering purposes. It should be mentioned that this would work with new UUI (Unified user interface) not just with Web Client.
But, I'm not able to retreive the data.
Here's my code from parent web resource:
var windowOptions = { openInNewWindow: true, height: 630, width: 800 };
parent.Xrm.Navigation.openWebResource("ms_TreeViewSeleccionWithSearchBoxCRM.html",windowOptions,null);
Then from the called funtion I tried this:
var dialog = getDialogArguments(); var shoopingid = diaglog.opener.Xrm.Utility.getAttribute("ms_id").getValue()[0].id;
But returns null.
Can you help me please?
Thanks in advance.
Customers are directly created from portal without any Authentication
Hi all,
I just configured a customer portal for Dynamics CRM instance, Then i simply created a EntityForm record in which an Entity is Account and a Mode is Insert. Then i created a WebPage records in which i have linked my EntityForm.
Now when I singn in from registered contact and i go to the WebPage(created above) on Portal it allows me to create Account(This is okay)
but the thing is without doing sign in, it is still allowing me creating Account records in crm from portal, i just go to my WepPage then i add data in Account form and click on submit and it is creating Account record in CRM. which should not happen according to me
How is it possible that without any sign in we can create Customers records in CRM directly from portal
Thanks in advance!
Ishan Sharma
Disassociate Opportunity Product from Opportunity without deleting in c#
I have a situation where I have to change the currency of Opportunity from c#. To change the currency I have to disassociate Quotes, Orders, Opportunity Products and Invoices from that Opportunity. I would like to know how to Disassociate Opportunity Product from Opportunity without deleting in c#?
Display a Base 64 image in CRM
I have created a basic HTML file
<HTML> <HEAD> <TITLE>Display Image</TITLE> <META charset=utf-8> </HEAD> <img alt="" src="data:image/png;base64,R0lGOD...base64 code" /> </HTML>
If I save the file to my desktop, then double click it the webpage opens in IE and displays a logo.
If I now add this as a webresource within Dynamics CRM the logo displays as a black square with a white cross in it - whats going on?
All I am trying to do is read the Base64 from a related entity and as the data in the entity changes display the related image.
As always any help appreciated.
Matt
Dynamics 365 Customer Engagement and Outlook Add-in Sync issue
Hi All,
I was using the outlook add-in and came to know that the task i am creating in Outlook are not getting synced with CRM.
i was trying to figure out is this normal behavior or is something wrong with the configuration. there is no track button or dynamics 365 add-in available on task page so i can manually track it using the add-in .
Any record task , appointment are getting sync to outlook when i create it in CRM.
Thanks
Is it possible to use Impersonation using javascript
Hi All,
How can I use impersonation in java script.
My requirement I need field value for Entity A. But the user does not have permission to the Entity A.
Based on the field value of Entity A. I need to update some values.
Please help..
Workflow on the "Activity" entity
Issue with FetchXML SSRS report with Global Optionset for D365 v8.2
I have a custom FetchXML based SSRS report, where I have global optionsets as the parameters. The paramaters populate fine as dropdowns on the report but when I click View Report to see the results (by feeding those selected parameters), I get this error.
It looks like the optionset values are being passed with "," instead of the numbers. I am pretty sure I didn't have this issue with local optionsets instead of global optionsets.
Is this a known issue or am I doing something wrong?
I would appreciate any help with this. Thank you!
How to use USPS api for address validation in D365 CRM?
Hello All,
We are planning to use USPS API in CRM for address validation, can anyone tell me how to proceed with that, or any documentation available apart from USPS Developer Guide.
Thanks,
Sunny
Is it possible to replica CRM database online to Azure database?
I would need to integrate CRM database with my external database for my internal purpose. To which is it possible to replica CRM database online to Azure means whatever data in online synch to Azure database. from which I can access data