Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all 46379 articles
Browse latest View live

Cases not created by Automatic Record creation

$
0
0

Hi,

I do get this error intermittently but there is no much info on the log file, can you help? Thanks

Plugin Trace:

[Microsoft.Xrm.Sdk.Workflow: Microsoft.Xrm.Sdk.Workflow.Activities.CreateEntity]
[CreateStep6]

 
 [Microsoft.Dynamics.Service.Plugins: Microsoft.Dynamics.Service.Plugins.PreOperationIncidentCreate]
 [485c2908-cfd8-e611-80e8-00155db32b08: Microsoft.Dynamics.Service.Plugins.PreOperationIncidentCreate: Create of incident]
 Entered Microsoft.Dynamics.Service.Plugins.PreOperationIncidentCreate.Execute(), Correlation Id: c97446e4-0e6a-4479-b176-77e237867b60, Initiating User: 656c56e6-ce14-e911-a81a-000d3ab24a78
 Exiting Microsoft.Dynamics.Service.Plugins.PreOperationIncidentCreate.Execute(), Correlation Id: c97446e4-0e6a-4479-b176-77e237867b60, Initiating User: 656c56e6-ce14-e911-a81a-000d3ab24a78
 


Error Message:

Unhandled exception:
Exception type: System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]
Message: An unexpected error occurred.Detail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
  <ActivityId>1480203e-7c64-4024-b2c4-5ed0e7222f6a</ActivityId>
  <ErrorCode>-2147220970</ErrorCode>
  <ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic">
    <KeyValuePairOfstringanyType>
      <d2p1:key>ApiExceptionSourceKey</d2p1:key>
      <d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">Plugin/Microsoft.Dynamics.Service.Plugins.PreOperationIncidentCreate</d2p1:value>
    </KeyValuePairOfstringanyType>
    <KeyValuePairOfstringanyType>
      <d2p1:key>ApiOriginalExceptionKey</d2p1:key>
      <d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">Microsoft.Crm.CrmException: An unexpected error occurred. ---&gt; System.ArgumentNullException: Value cannot be null.
Parameter name: text
   at System.ServiceModel.FaultReasonText..ctor(String text)
   at System.ServiceModel.FaultReason..ctor(String text)
   at Microsoft.Dynamics.Solution.Common.CrmException..ctor(String message, Exception innerException, Int32 errorCode, Boolean isFlowControlException, Boolean enableTrace)
   at Microsoft.Dynamics.Solution.Common.CrmException..ctor(String message, Exception innerException, Int32 errorCode, Boolean isFlowControlException)
   at Microsoft.Dynamics.Solution.Common.CrmException..ctor(String message, Int32 errorCode)
   at Microsoft.Crm.Service.ObjectModel.IncidentService.ValidatePrimaryContact(Case incident, Boolean isUpdateCase)
   at Microsoft.Crm.Service.ObjectModel.IncidentService.PreValidateForCreate(Case incident)
   at Microsoft.Dynamics.Service.Plugins.PreOperationIncidentCreate.ExecuteCrmPlugin(LocalPluginContext localContext)
   at Microsoft.Dynamics.Solution.Common.PluginBase.Execute(IServiceProvider serviceProvider)
   at Microsoft.Crm.Extensibility.V5PluginProxyStep.ExecuteInternal(PipelineExecutionContext context)
   at Microsoft.Crm.Extensibility.VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)
   --- End of inner exception stack trace ---
   at Microsoft.Crm.Extensibility.VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)
   at Microsoft.Crm.Extensibility.PipelineInstrumentationHelper.Execute(Boolean instrumentationEnabled, String stopwatchName, ExecuteWithInstrumentation action, PipelineExecutionContext context)
   at Microsoft.Crm.Extensibility.Pipeline.&lt;&gt;c__DisplayClass2_1.&lt;Execute&gt;b__0()</d2p1:value>
    </KeyValuePairOfstringanyType>
    <KeyValuePairOfstringanyType>
      <d2p1:key>ApiStepKey</d2p1:key>
      <d2p1:value xmlns:d4p1="schemas.microsoft.com/.../Serialization" i:type="d4p1:guid">485c2908-cfd8-e611-80e8-00155db32b08</d2p1:value>
    </KeyValuePairOfstringanyType>
    <KeyValuePairOfstringanyType>
      <d2p1:key>ApiDepthKey</d2p1:key>
      <d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:int">4</d2p1:value>
    </KeyValuePairOfstringanyType>
    <KeyValuePairOfstringanyType>
      <d2p1:key>ApiActivityIdKey</d2p1:key>
      <d2p1:value xmlns:d4p1="schemas.microsoft.com/.../Serialization" i:type="d4p1:guid">1480203e-7c64-4024-b2c4-5ed0e7222f6a</d2p1:value>
    </KeyValuePairOfstringanyType>
    <KeyValuePairOfstringanyType>
      <d2p1:key>ApiPluginSolutionNameKey</d2p1:key>
      <d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">msdynce_Service</d2p1:value>
    </KeyValuePairOfstringanyType>
    <KeyValuePairOfstringanyType>
      <d2p1:key>ApiStepSolutionNameKey</d2p1:key>
      <d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">msdynce_Service</d2p1:value>
    </KeyValuePairOfstringanyType>
  </ErrorDetails>
  <Message>An unexpected error occurred.</Message>
  <Timestamp>2019-03-21T10:18:45.4969019Z</Timestamp>
  <ExceptionRetriable>false</ExceptionRetriable>
  <ExceptionSource i:nil="true" />
  <InnerFault>
    <ActivityId>1480203e-7c64-4024-b2c4-5ed0e7222f6a</ActivityId>
    <ErrorCode>-2147220970</ErrorCode>
    <ErrorDetails xmlns:d3p1="schemas.datacontract.org/.../System.Collections.Generic">
      <KeyValuePairOfstringanyType>
        <d3p1:key>ApiExceptionSourceKey</d3p1:key>
        <d3p1:value xmlns:d5p1="www.w3.org/.../XMLSchema" i:type="d5p1:string">Plugin/Microsoft.Dynamics.Service.Plugins.PreOperationIncidentCreate</d3p1:value>
      </KeyValuePairOfstringanyType>
      <KeyValuePairOfstringanyType>
        <d3p1:key>ApiOriginalExceptionKey</d3p1:key>
        <d3p1:value xmlns:d5p1="www.w3.org/.../XMLSchema" i:type="d5p1:string">Microsoft.Crm.CrmException: An unexpected error occurred. ---&gt; System.ArgumentNullException: Value cannot be null.
Parameter name: text
   at System.ServiceModel.FaultReasonText..ctor(String text)
   at System.ServiceModel.FaultReason..ctor(String text)
   at Microsoft.Dynamics.Solution.Common.CrmException..ctor(String message, Exception innerException, Int32 errorCode, Boolean isFlowControlException, Boolean enableTrace)
   at Microsoft.Dynamics.Solution.Common.CrmException..ctor(String message, Exception innerException, Int32 errorCode, Boolean isFlowControlException)
   at Microsoft.Dynamics.Solution.Common.CrmException..ctor(String message, Int32 errorCode)
   at Microsoft.Crm.Service.ObjectModel.IncidentService.ValidatePrimaryContact(Case incident, Boolean isUpdateCase)
   at Microsoft.Crm.Service.ObjectModel.IncidentService.PreValidateForCreate(Case incident)
   at Microsoft.Dynamics.Service.Plugins.PreOperationIncidentCreate.ExecuteCrmPlugin(LocalPluginContext localContext)
   at Microsoft.Dynamics.Solution.Common.PluginBase.Execute(IServiceProvider serviceProvider)
   at Microsoft.Crm.Extensibility.V5PluginProxyStep.ExecuteInternal(PipelineExecutionContext context)
   at Microsoft.Crm.Extensibility.VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)
   --- End of inner exception stack trace ---
   at Microsoft.Crm.Extensibility.VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)
   at Microsoft.Crm.Extensibility.PipelineInstrumentationHelper.Execute(Boolean instrumentationEnabled, String stopwatchName, ExecuteWithInstrumentation action, PipelineExecutionContext context)
   at Microsoft.Crm.Extensibility.Pipeline.&lt;&gt;c__DisplayClass2_1.&lt;Execute&gt;b__0()</d3p1:value>
      </KeyValuePairOfstringanyType>
      <KeyValuePairOfstringanyType>
        <d3p1:key>ApiStepKey</d3p1:key>
        <d3p1:value xmlns:d5p1="schemas.microsoft.com/.../Serialization" i:type="d5p1:guid">485c2908-cfd8-e611-80e8-00155db32b08</d3p1:value>
      </KeyValuePairOfstringanyType>
      <KeyValuePairOfstringanyType>
        <d3p1:key>ApiDepthKey</d3p1:key>
        <d3p1:value xmlns:d5p1="www.w3.org/.../XMLSchema" i:type="d5p1:int">4</d3p1:value>
      </KeyValuePairOfstringanyType>
      <KeyValuePairOfstringanyType>
        <d3p1:key>ApiActivityIdKey</d3p1:key>
        <d3p1:value xmlns:d5p1="schemas.microsoft.com/.../Serialization" i:type="d5p1:guid">1480203e-7c64-4024-b2c4-5ed0e7222f6a</d3p1:value>
      </KeyValuePairOfstringanyType>
      <KeyValuePairOfstringanyType>
        <d3p1:key>ApiPluginSolutionNameKey</d3p1:key>
        <d3p1:value xmlns:d5p1="www.w3.org/.../XMLSchema" i:type="d5p1:string">msdynce_Service</d3p1:value>
      </KeyValuePairOfstringanyType>
      <KeyValuePairOfstringanyType>
        <d3p1:key>ApiStepSolutionNameKey</d3p1:key>
        <d3p1:value xmlns:d5p1="www.w3.org/.../XMLSchema" i:type="d5p1:string">msdynce_Service</d3p1:value>
      </KeyValuePairOfstringanyType>
    </ErrorDetails>
    <Message>An unexpected error occurred.</Message>
    <Timestamp>2019-03-21T10:18:45.4969019Z</Timestamp>
    <ExceptionRetriable>false</ExceptionRetriable>
    <ExceptionSource i:nil="true" />
    <InnerFault>
      <ActivityId>1480203e-7c64-4024-b2c4-5ed0e7222f6a</ActivityId>
      <ErrorCode>-2147220970</ErrorCode>
      <ErrorDetails xmlns:d4p1="schemas.datacontract.org/.../System.Collections.Generic" />
      <Message>System.ArgumentNullException: Value cannot be null.
Parameter name: text</Message>
      <Timestamp>2019-03-21T10:18:45.4969019Z</Timestamp>
      <ExceptionRetriable>false</ExceptionRetriable>
      <ExceptionSource i:nil="true" />
      <InnerFault i:nil="true" />
      <OriginalException i:nil="true" />
      <TraceText i:nil="true" />
    </InnerFault>
    <OriginalException i:nil="true" />
    <TraceText i:nil="true" />
  </InnerFault>
  <OriginalException i:nil="true" />
  <TraceText>[Microsoft.Xrm.Sdk.Workflow: Microsoft.Xrm.Sdk.Workflow.Activities.CreateEntity]
[CreateStep6]

 
 [Microsoft.Dynamics.Service.Plugins: Microsoft.Dynamics.Service.Plugins.PreOperationIncidentCreate]
 [485c2908-cfd8-e611-80e8-00155db32b08: Microsoft.Dynamics.Service.Plugins.PreOperationIncidentCreate: Create of incident]
 Entered Microsoft.Dynamics.Service.Plugins.PreOperationIncidentCreate.Execute(), Correlation Id: c97446e4-0e6a-4479-b176-77e237867b60, Initiating User: 656c56e6-ce14-e911-a81a-000d3ab24a78
 Exiting Microsoft.Dynamics.Service.Plugins.PreOperationIncidentCreate.Execute(), Correlation Id: c97446e4-0e6a-4479-b176-77e237867b60, Initiating User: 656c56e6-ce14-e911-a81a-000d3ab24a78
 </TraceText>
</OrganizationServiceFault>


Service Calendar Type to list both Resource: Infrastructure and Resource: User

$
0
0

Hello All,

I am trying to list all of my resources I have in Paired Resource Groups, however when I have a mixture of Resource: Infrastructure and Resource: User, I cannot display the users in that Paired Resource Group.  I noticed that I could only pull up resources in the Resource: Infrastructure views that I have created with just that type and not users.  In the Service Calendar default "Resource" it lists both.  Is there a way to specify the criteria in the Advanced Find or add a new combined type like "Service Activity and Appointments" where I can see both?  I love the power to see all my resources and this would be great to see this on the Service Calendar.  Any help would be appreciated.

Jawnne

Unified Interface - Custom Button Xrm.Utility.invokeProcessAction error

$
0
0

Hello everyone,

I am facing an error on Unified Interface which I cannot reproduce on the classic UI on the browser. I created a custom Ribbon button which invokes a custom action, and I use that custom action to trigger a plugin. I am making use of the new Xrm WebAPI.

On the plugin I do populate a string output parameter in case any error message needs to be returned.  

It works fine on classic UI but on Unified Interface, a pop-up appears saying "Outdated Business Process Flow Definition" This action cannot be completed because business process flow definition is out of sync with the process action. 

Debugging on the browser, I realized that Xrm.InvokeProcessAction returns ErrorCallBack with 

error.message = An error has occurred. Try this action again. If the problem continues, check the Microsoft Dynamics 365 Community for solutions or contact your organization's Microsoft Dynamics 365 Administrator. Finally, you can contact Microsoft Support.

error.errorCode = 2147746581 (HEX 80040315) This action is not supported.

Below, I show the code I am using for it. 

I hope anyone can give me any insight to realize what is wrong on Unified Interface. Thanks in advance!

Xrm.Utility.showProgressIndicator("***********");
Xrm.Utility.invokeProcessAction(actionName, actionParameters)
.then(function (result) {
debugger;
var message = result.$Y_0.exceptionMessage;
if(message && message != "") {
formContext.ui.clearFormNotification("errorNotificationId");
Xrm.Utility.closeProgressIndicator();
formContext.ui.setFormNotification(message, "ERROR", "errorNotificationId");
}
else{
formContext.ui.clearFormNotification("errorNotificationId");
Xrm.Utility.closeProgressIndicator();
formContext.ui.setFormNotification("******.", "INFO", "errorNotificationId");
var entityFormOptions = {};
entityFormOptions["entityName"] = oppEntityName;
entityFormOptions["entityId"] = oppId;

setTimeout(function () {
Xrm.Navigation.openForm(entityFormOptions).then(
function (success) {
console.log(success);
},
function (error) {
console.log(error);
});
}, 3000);
}
},
function (error) {
debugger;
var message = error.message;
});

CRM 365 on SQL Server 2017

$
0
0

Good Morning,

Could you please let me know if there is any update from Microsoft when they are going to release a roll up / hotfix to enable 365 to work on SQL Server 2017? I have a customer on SQL Server 2017 currently (They just had GP installed on the new server) and wants to migrate to this server.

Thanks,

Andrew

Is there a way to add colors to rows in a list on the dashboard? Or customize the colors in a dashboard based on a field?

$
0
0

Hello,

I would like to add some colors to different lists on the dashboards I have created. For example I would like to highlight a row in red if the due date field is within two days of the current date, if it is longer than that I would like to have rows in green and yellow based on duration.

I currently have Javascript that will do this but only works when looking at the view and not the dashboard since there doesn't seem to be a way load javascript when opening dashboards.

Is there any way to do this? Either supported or unsupported?

Thanks!

Visual studio for windows server 2012 R2

$
0
0

Hello everyone !

Hope all of you are well. I am trying to install "Microsoft Dynamics 365 Report Authoring Extension" in Windows server 2012 R2 but error occured of something is missing. So i found that before installing Report Authoring Extension, visual studio and sql server data tool must be installed so can anyone tell me which visual studio and which its version i download from visual studio subscription -> Downloads ?

dynamics 365 - adoption (Client API reference) not being added to multiselect option set

$
0
0

Hi,

In the Onchange event , I have the following line of code

formContext.getControl("new_subscriber").addOption({text: "My Name", value: 100000005});

It is added to the list in the case only , but not to the actual option set for future use

Any help is greatly appreciated

Dynamics 365 9.x

Error When Import Solution From SandBox Org. to Support Org.


Dynamics 365 Reporting Extensions is not installed on this computer

$
0
0

Hello Everyone !

Hope all of you are well. I am trying to install "CRM 2016 Service Pack 2 (Dec 2016)" on Windows server 2012 R2 but following error occured 

"Dynamics 365 Reporting Extensions is not installed on this computer".

I installed "Microsoft Dynamics 365 Report Authoring Extension" successfully but error is remain same so anyone can tell me what i do ?

CRM workflow fails with "The caller was not authenticated by the service"

$
0
0

One of our customers has created a workflow that contains an action to create a Form if certain criteria are met. When it hits this step, it always fails with the error "The caller was not authenticated by the service". The Job Owner for the workflow is a user that has user and security role of System Administrator. I can log in as this user and create the same Form manually without any issue at all.

There don't appear to be any errors reported in the Windows Event Log and I can't find anything directly related in IIS logs either.

I've Googled this error and there are quite a lot of cases of it occurring as a result of development/customization work, but I can't find any where it's occurred during a workflow.

Has anyone got any ideas on why this might be occurring?

Thanks

Schedule Board Unscheduled(Resource Requirement) View Dynamic filtration based on Id

$
0
0

I want to filter a Schedule Board Unscheduled(Resource Requirement) View  based on other entity Id Is there any way to achieve it.

Set a Closing Date on a Case

$
0
0

Hi,

We have had a plugin that has set a Closing date on a Case when it was Resolved for the first time. Now it has stopped working. I have a modified date that is the correct Closing date, but the Closing date is empty at the moment on many cases. I would like to set the empty field "Closing date" to the Modified on. If I do a workflow and take on Closing Date, modified on, and I reopen the Case. The Closing date will set the date of right now (modified on), which is wrong. I would like to take the previous modifying on date, that was the "Closing Date" and it shouldn't be changed.

Any advices to not getting the new modify on date, i want a date of the time the case was closed, and i don't want it to change.

Thank you so much!

MS Dynamics CRM - on premise question

$
0
0

Hello, 

Looking for some some assistance here, the application is requesting that they would like to change the subscription of some reports distribution, sharing in their own words, after update the names:

1. Remove abc & xyz as recipients for the HealthyGuidance Report original list.

2. Remove def & uvw as recipients for the YTD Wins with Up-Sells marketing report.

And what the old DBA did, he removed these guys email addresses from the list.

The question is from where I can get this information, means which tables I should look for, to find all the reports and their subscribers; distribution to subscribers relationship.

Please assist/guide, new to this MS Dynamics CRM, will be much appreciated your assistance here.

Best regards

oradba 

Created duplicate Security Logins in SQL Data Base

$
0
0

Hi All,

We installed CRM Front End ,Back End ,SQL Server and Reporting Server in a separate machine. When we created a new organization we found in SQL Server Database that duplicate Security logins (2 PrivReportingGroup, 2 PrivReportingGroup, 2 SQLAccessGroup) created with different GID and organization created successfully and up and running.

My question is why did duplicate security groups create in SQL Server.  Please let me know if anyone have answer?

Thanks Ram.

Sitemap shows Setting only

$
0
0

Hello

I'm new to Dynamics CRM. I created a new trail account but the platform shows only the Settings block on the sitemap. 

How do I solve this issue?

Thank you


Dynamics 365 - Get Value knowing the index for Multi Select Option

$
0
0

Hi All,

I have retrieved the index from a a multi select option field using the .getText

Knowing this index what is the easiest way to map this index to get the value from this

example:

Index       User          Value
0              User 1      100000001
1              User 2      100000002
2              User 3      100000003

Value index is in a var indexValue = Index
Where index = 1

How  can I get the User 2 Value knowing their Index.

Thanks for your help

Automated flow to check opportunity start date & send email if it has passed

$
0
0

I need to set up an automated process that will check the Estimated Start Date field on an opportunity and send an email to the opportunity owner if the date has passed. It is easy to set up a flow that triggers on an action (ie record created, field changed, etc.). My challenge is I need this to run on all existing opportunities every day, and in most cases there will be no changes on the record to trigger the flow to start. I need this to be an out of the box solution (ie no solutions that require custom programming). Any suggestions? Thank you in advance.

Preventing Contact names from being saved in browser history

$
0
0

We recently noticed that contact names are saved in the browser history (it's the HTML Title of the page). Are there any ways for us to still use the first name, last name fields but prevent them from being saved in the browser's history? 

Remove "Account Name" column from Contact Sub-grid in Account Form

$
0
0

Hi Experts,

We have a Contact Sub-grid in Account form (Account = Customer). They want us to remove the "Customer Name/Account Name" column from the Sub-grid (when opened in Customer/Account form only) without updating the existing Active Contacts view or creating a new view. I will check if this can be done from plugin retrieve multiple. I'd like to know if there are any other way to remove this view dynamically on Customer/Account form? 

Thanks in advance.

Determine whether the current record is a new record on Form Load

$
0
0

Dear Support Team

It is request to please guide me how to find the following through JavaScript:

  • Determine whether the current record is a new record on Form Load.

Look forward to kind reply.

Thanks

Viewing all 46379 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>