Quantcast
Channel: CRM Development forum
Viewing all 8223 articles
Browse latest View live

Error : Only data source using fetch data provider is permitted

$
0
0

Dear all,

I have build a custom QUOTE report using FetchXML but when I try to upload it to CRM online as new report I get and error saying that I cannot upload the report.

The exception message is :

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Only data source using fetch data provider is permitted on this report.Detail:
<OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
  <ErrorCode>-2147187955</ErrorCode>
  <ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
  <Message>Only data source using fetch data provider is permitted on this report.</Message>
  <Timestamp>2014-07-12T23:47:17.7482538Z</Timestamp>
  <InnerFault i:nil="true" />
  <TraceText i:nil="true" />
</OrganizationServiceFault>

Any idea why I get this error ?

regards


Your knowledge is enhanced by that of others.


OData - Server error when creating a Dynamics user

$
0
0

 Hi,          

I'm trying to create a Dynamics CRM user programmatically via the OData client.

The following code fails with a 500 InternalServerError, while the exact same operation (same creator, same user data) succeeds if I go the manual way via the CRM web interface.

var client = new ODataClient(

new ODataClientSettings(url, CredentialCache.DefaultCredentials)
            {
                RequestTimeout = TimeSpan.FromMinutes(2),
                MetadataDocument = metadata,
                Credentials = new System.Net.NetworkCredential("mylogin", "mypwd", "mydomain")
            };

);
var newUser = new DTOs.SystemUser {                firstname = "John",                lastname = "Doe",                domainname = @"mydomain\jdoe" // also tried with the @mydomain syntax and double backslash here };            var generatedUser = await client .For<DTOs.SystemUser>("SystemUsers") .Set(newUser)                .InsertEntryAsync();


Also note that a few lines before this, I read from Dynamics (FindEntryAsync())with the same ODataClientSettings as above and it works perfectly.

I enabled Dynamics logging and the only relevant line I get in the logs is the following :

MessageProcessor fail to process message 'Create' for 'systemuser'.

 
at MessageProcessor.Execute(PipelineExecutionContext context)  ilOffset = 0x1E6$at InternalMessageDispatcher.Execute(PipelineExecutionContext context)  ilOffset = 0xE4$at ExternalMessageDispatcher.ExecuteInternal(IInProcessOrganizationServiceFactory serviceFactory, IPlatformMessageDispatcherFactory dispatcherFactory, String messageName, String requestName, Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, ParameterCollection fields, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId, Guid callerRegardingObjectId, UserType userType, Guid transactionContextId, Int32 invocationSource, Nullable`1 requestId, Version endpointVersion)  ilOffset = 0x1F2$at ExternalMessageDispatcher.Execute(IInProcessOrganizationServiceFactory serviceFactory, IPlatformMessageDispatcherFactory dispatcherFactory, String messageName, String requestName, Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, ParameterCollection fields, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId, Guid callerRegardingObjectId, UserType userType, Guid transactionContextId, Int32 invocationSource, Nullable`1 requestId)  ilOffset = 0x0$at OrganizationSdkServiceInternal.ExecuteRequestRequestWithInstrumentation(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, UserAuth userAuth, Guid targetUserId, OrganizationContext context, Boolean returnResponse, Boolean checkAdminMode, Object operation, UserType targetUserType)  ilOffset = 0x0$at OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, Boolean checkAdminMode, ExecutionContext executionContext)  ilOffset = 0x4B$at OrganizationSdkServiceInternal.Create(Entity entity, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, Boolean checkAdminMode, Dictionary`2 optionalParameters)  ilOffset = 0x0$at CrmODataExecutionContext.Create(Entity entity)  ilOffset = 0x0$at CrmODataServiceDataProvider.CreateEdmEntity(CrmODataExecutionContext context, String edmEntityName, EdmEntityObject entityObject, Boolean isUpsert)  ilOffset = 0xE$at EntityController.PostEntitySet(String entitySetName, EdmEntityObject entityObject)  ilOffset = 0x0$at   ilOffset = 0xFFFFFFFF$at <>c__DisplayClass10.<GetExecutor>b__9(Object instance, Object[] methodParameters)  ilOffset = 0x0$at ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)  ilOffset = 0x34$at <InvokeActionAsyncCore>d__0.MoveNext()  ilOffset = 0x52$at AsyncTaskMethodBuilder`1.Start(TStateMachine& stateMachine)  ilOffset = 0x2C$at ApiControllerActionInvoker.InvokeActionAsyncCore(HttpActionContext actionContext, CancellationToken cancellationToken)  ilOffset = 0x35$at ApiControllerActionInvoker.InvokeActionAsync(HttpActionContext actionContext, CancellationToken cancellationToken)  ilOffset = 0x3$at <ExecuteAsync>d__2.MoveNext()  ilOffset = 0xD9$at AsyncTaskMethodBuilder`1.Start(TStateMachine& stateMachine)  ilOffset = 0x2C$at ActionFilterResult.ExecuteAsync(CancellationToken cancellationToken)  ilOffset = 0x35$at ApiController.ExecuteAsync(HttpControllerContext controllerContext, CancellationToken cancellationToken)  ilOffset = 0x138$at <SendAsync>d__1.MoveNext()  ilOffset = 0x123$at AsyncTaskMethodBuilder`1.Start(TStateMachine& stateMachine)  ilOffset = 0x2C$at HttpControllerDispatcher.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)  ilOffset = 0x3D$at HttpMessageInvoker.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)  ilOffset = 0x3C$at HttpRoutingDispatcher.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)  ilOffset = 0xBF$at DelegatingHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)  ilOffset = 0x19$at <SendAsync>d__0.MoveNext()  ilOffset = 0x17D$at AsyncTaskMethodBuilder`1.Start(TStateMachine& stateMachine)  ilOffset = 0x2C$at CorsMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)  ilOffset = 0x3D$at DelegatingHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)  ilOffset = 0x19$at <SendAsync>d__0.MoveNext()  ilOffset = 0x50$at AsyncTaskMethodBuilder`1.Start(TStateMachine& stateMachine)  ilOffset = 0x2C$at CrmETagMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)  ilOffset = 0x3D$at DelegatingHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)  ilOffset = 0x19$at <SendAsync>d__0.MoveNext()  ilOffset = 0xF$at AsyncTaskMethodBuilder`1.Start(TStateMachine& stateMachine)  ilOffset = 0x2C$at CrmDelegatingHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)  ilOffset = 0x3D$at DelegatingHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)  ilOffset = 0x19$at <SendAsync>d__0.MoveNext()  ilOffset = 0x11D$at AsyncTaskMethodBuilder`1.Start(TStateMachine& stateMachine)  ilOffset = 0x2C$at HttpServer.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)  ilOffset = 0x3D$at HttpMessageInvoker.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)  ilOffset = 0x3C$at <ProcessRequestAsyncCore>d__0.MoveNext()  ilOffset = 0x96$at AsyncTaskMethodBuilder.Start(TStateMachine& stateMachine)  ilOffset = 0x2C$at HttpControllerHandler.ProcessRequestAsyncCore(HttpContextBase contextBase)  ilOffset = 0x2C$at TaskAsyncHelper.BeginTask(Func`1 taskFunc, AsyncCallback callback, Object state)  ilOffset = 0xD$at CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()  ilOffset = 0xE1$at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)  ilOffset = 0x3C$at PipelineStepManager.ResumeSteps(Exception error)  ilOffset = 0x27A$at HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)  ilOffset = 0x31$at HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)  ilOffset = 0xB0$at PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)  ilOffset = 0x131$at PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)  ilOffset = 0x0    

Anyone had this before? Is there a way I could get a more explicit error message?

Thanks

Guillaume

How to adapt an old JS used for CRM 4.0 to CRM 2015

$
0
0
I'm new at Microsoft Dynamics CRM and I'm working with CRM 2015. I'm working with CRM 2015 and I've been given to fix an error script developed for CRM 4.0.
It looks like an old syntax and I don't know how to adapt it to JS for CRM 2015 or CRM 2016. The script manage the user roles and roles name and I have retrive the data through fetchXML.
I've been told to work with oDATA for crm 2015 or WebApi for CRM 2016.I haven't worked before with webservices and the requirement s are to use fetchXML so i guess i have to work with WebApi and i don't know how to adapt it.
function onChangeValutator()
{
     var idUser = Xrm.Page.getAttribute("erm_valutatorid").getValue()[0].id;

     // Use the Xrm.Page.context.getAuthenticationHeader() method
     // available from the CRM form to generate the Soap header text.
     var authenticationHeader = Xrm.Page.context.getAuthenticationHeader();

     // Define the SOAP XML to access Microsoft Dynamics CRM Web service.
     var xml = "<?xml version=\"1.0\" encoding=\"utf-8\"?>" +"<soap:Envelope xmlns:soap="+"\"schemas.xmlsoap.org/.../envelope\" "+"xmlns:xsi=\"www.w3.org/.../XMLSchema-instance\" "+"xmlns:xsd=\"www.w3.org/.../XMLSchema\">" +
     authenticationHeader+"<soap:Body>" +
     // Specify the RetrieveMultiple message."<RetrieveMultiple xmlns="+"\"schemas.microsoft.com/.../WebServices\">" +
     // Specify that this is a QueryByAttribute query."<query xmlns:q1="+"\"schemas.microsoft.com/.../Query\" "+"xsi:type=\"q1:QueryByAttribute\">" +
     // Query the customeraddress entity."<q1:EntityName>erm_source</q1:EntityName>" +
     // Set the columns you want to return."<q1:ColumnSet xsi:type=\"q1:ColumnSet\">" +"<q1:Attributes>" +"<q1:Attribute>erm_roleid</q1:Attribute>" +"</q1:Attributes>" +"</q1:ColumnSet>" +
     // Specify the attribute that you are querying on."<q1:Attributes>" +"<q1:Attribute>erm_sourceid</q1:Attribute>" +"</q1:Attributes>" +
     // Set the value of the attribute using the customerid
     // value of the case record."<q1:Values>" +"<q1:Value xsi:type=\"xsd:string\">"+
     idUser+"</q1:Value>" +"</q1:Values>" +"</query>" +"</RetrieveMultiple>" +"</soap:Body>" +"</soap:Envelope>";

    var xmlHttpRequest = new ActiveXObject("Msxml2.XMLHTTP");
    xmlHttpRequest.Open("POST", "/mscrmservices/2007/CrmService.asmx", false);
    xmlHttpRequest.setRequestHeader("SOAPAction","schemas.microsoft.com/.../RetrieveMultiple");
    xmlHttpRequest.setRequestHeader("Content-Type", "text/xml; charset=utf-8");
    xmlHttpRequest.setRequestHeader("Content-Length", xml.length);
    xmlHttpRequest.send(xml);
    var doc = xmlHttpRequest.responseXML;
    var source = doc.selectSingleNode("//BusinessEntity");

    var guidSource = source.childNodes[0];

    if (guidSource.text != null)
    {
        // Define the SOAP XML to access Microsoft Dynamics CRM Web service.
         xml = "<?xml version=\"1.0\" encoding=\"utf-8\"?>" +"<soap:Envelope xmlns:soap="+"\"schemas.xmlsoap.org/.../envelope\" "+"xmlns:xsi=\"www.w3.org/.../XMLSchema-instance\" "+"xmlns:xsd=\"www.w3.org/.../XMLSchema\">" +
         authenticationHeader+"<soap:Body>" +
         // Specify the RetrieveMultiple message."<RetrieveMultiple xmlns="+"\"schemas.microsoft.com/.../WebServices\">" +
         // Specify that this is a QueryByAttribute query."<query xmlns:q1="+"\"schemas.microsoft.com/.../Query\" "+"xsi:type=\"q1:QueryByAttribute\">" +
         // Query the customeraddress entity."<q1:EntityName>erm_companyrole</q1:EntityName>" +
         // Set the columns you want to return."<q1:ColumnSet xsi:type=\"q1:ColumnSet\">" +"<q1:Attributes>" +"<q1:Attribute>erm_name</q1:Attribute>" +"</q1:Attributes>" +"</q1:ColumnSet>" +
         // Specify the attribute that you are querying on."<q1:Attributes>" +"<q1:Attribute>erm_companyroleid</q1:Attribute>" +"</q1:Attributes>" +
         // Set the value of the attribute using the customerid
         // value of the case record."<q1:Values>" +"<q1:Value xsi:type=\"xsd:string\">"+
         guidSource.text+"</q1:Value>" +"</q1:Values>" +"</query>" +"</RetrieveMultiple>" +"</soap:Body>" +"</soap:Envelope>";

        xmlHttpRequest = new ActiveXObject("Msxml2.XMLHTTP");
        xmlHttpRequest.Open("POST", "/mscrmservices/2007/CrmService.asmx", false);
        xmlHttpRequest.setRequestHeader("SOAPAction","schemas.microsoft.com/.../RetrieveMultiple");
        xmlHttpRequest.setRequestHeader("Content-Type", "text/xml; charset=utf-8");
        xmlHttpRequest.setRequestHeader("Content-Length", xml.length);
        xmlHttpRequest.send(xml);
        doc = xmlHttpRequest.responseXML;
        var role = doc.selectSingleNode("//BusinessEntity");
        var roleName = role.childNodes[0];

        var lookupItem = new Array();
        lookupItem[0] = new Object();

        lookupItem[0].name = roleName.text;
        lookupItem[0].entityType = "erm_companyrole";
        lookupItem[0].id = guidRSource.text;

        Xrm.Page.getAttribute("erm_valutatorroleid").setValue(lookupItem);

    }
}



The target principal name is incorrect - CRM 2015 - MSCRM_FetchDataSource

$
0
0

Hi all

we have a problem with CRM & reporting services.

We have three servers:
1) CRM Application 2015 (with backend services)
the user with which runs the CRM app pool has the SPN (http/serverName:7777 and http/serverName.domain:7777) and the user which run the Asynch and  Sandbox services have the spn.

2) A server with SQL server 2014 on which the user that runs SQL has the spn (MSSQLSvc/SQLSERVERNAME and MSSQLSvc/SQLserverName.domain) 

3) a dedicated server for reporting services.
the user runs the reporting service has set the spn(http/SSRSServerName:80 and http/SSRSserverName.domain:80)
CRM Reporting extensions is installed in this server.

All reports generated by data source "MSCRM_FetchDataSource" fail with error "A call to SSPI failed, see inner exception. The target principal name is incorrect "

SPNs are set and can not understand how it fails.
in IIS "use appPoolCredential" it has been set to true.

Can you help me understand what is the problem?

Thank you,

Alex


MS CRM 2013 : F5/refresh the page and creates new record

$
0
0

Hi All,

Refresh the saved form again open as new record.

I have opened the phone call form from member entity, phone call opened has a new window.

I have entered data and save the form and it saved the data.If same form I refresh then it creates as a new form instead of exit form.

I think this issue was resolved in Rollup 5 in MS CRM 2011.

Please let me know how to solve this issue in MS CRM 2013.

Thanks,

Bhaskar

Updating subject field using business rule is causing an error

$
0
0
I'm using a business rule to populate the subject field based on the value in a lookup on the case entity and I'm getting the following error message - 'Lookup Control Error: Cannot add item of typename = to the lookup control' when the business rule attempts to populate the subject field. The business rule works on an older on premise version of CRM (v8.1.0.359) but not on the latest online version (v8.1.0.252). I have followed the recommendations in the atriosystems.wordpress.com post and have even imported the working subject entity from the on prem system into the v8.1.0.252 system but it still is not working. Any ideas how to resolve this?

CRM 2016 OnPremise Modifyon date

$
0
0

Hi! Is it supported to set/edit the attribute Modifyon date programmatically(plugin, customized workflow or webservice)? 

BR Knut Myre

Dynamics CRM 2015 Contact Subgrid javascript fetchxml doesn't work.........

$
0
0

I have a Contact Subgrid on Opportunity Form inside separate tab. On Tab Statechange, I have a javascript function that add the fetchxml filter as below. The filter work fine, but the accountnumber from customer doesn't get displayed.

I do have link-entity defined in fetchxml and the syntax is correct as well, but for some reason it doesn't display Accountnumber. I did check with fiddler and it does have same fetchxml injected, and I did debug the javascript which also get executed correctly.

Any idea??

"<fetch version='1.0' output-format='xml-platform' mapping='logical' distinct='false'><entity name='contact'><attribute name='fullname'/><attribute name='parentcustomerid'/><attribute name='emailaddress1'/><attribute name='telephone1'/><order descending='false' attribute='ssco_lastverifiedon'/><link-entity name='account' from='accountid' to='parentcustomerid' alias='a_3ba57a83e2e74750be1faf666aec1647'><attribute name='accountnumber'/></link-entity><filter type='and'><condition attribute='parentcustomerid' operator='eq' uitype='parentcustomerid' value='{925A648E-DABD-4A5D-A97B-80ABC0C02AF1}' /><condition attribute='statecode' operator='eq' value='0' /></filter></entity></fetch>"


Crm online - stored procedure

$
0
0

Can you create a stored procedure in CRM Online?  

I need to create field one product inventory records when a new product or warehouse is created. 

CRM 2011 Outlook Client errors when going online

$
0
0

Hello,

One of our users of an On-Premise CRM 2011 installation is reporting a problem when trying to go online with their CRM Outlook Client. First, a window appears that says "Uploading data", which takes many hours to complete. When it has finally finished, CRM reports that thousands of service activities have failed to synchronise. There is no usefull info in the error messages. It is the general error that says that an error has occured and that you should contact your system administrator.

The trace log on the server gives more information:

>Crm Exception: Message: 'ServiceAppointment' entity doesn't contain attribute with Name = 'organizer'., ErrorCode: -2147217149
[2013-02-13 14:30:23.077] Process: w3wp |Organization:a0527613-9685-de11-9db6-000c29136cae |Thread:   67 |Category: Platform.Sdk |User: efe7d864-9685-de11-9db6-000c29136cae |Level: Error | VersionedPluginProxyStepBase.Execute
 at VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)
 at Pipeline.Execute(PipelineExecutionContext context)
 at MessageProcessor.Execute(PipelineExecutionContext context)
 at InternalMessageDispatcher.Execute(PipelineExecutionContext context)
 at ExternalMessageDispatcher.ExecuteInternal(IInProcessOrganizationServiceFactory serviceFactory, IPlatformMessageDispatcherFactory dispatcherFactory, String messageName, String requestName, Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, ParameterCollection fields, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId, Guid transactionContextId, Int32 invocationSource, Nullable`1 requestId, Version endpointVersion)
 at OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType)
 at OrganizationSdkServiceInternal.Execute(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType)
 at
 at SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
 at DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
 at ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)
 at ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc)
 at MessageRpc.Process(Boolean isOperationContextSet)
 at ChannelHandler.DispatchAndReleasePump(RequestContext request, Boolean cleanThread, OperationContext currentOperationContext)
 at ChannelHandler.HandleRequest(RequestContext request, OperationContext currentOperationContext)
 at ChannelHandler.AsyncMessagePump(IAsyncResult result)
 at AsyncThunk.UnhandledExceptionFrame(IAsyncResult result)
 at AsyncResult.Complete(Boolean completedSynchronously)
 at ReceiveItemAndVerifySecurityAsyncResult`2.InnerTryReceiveCompletedCallback(IAsyncResult result)
 at AsyncThunk.UnhandledExceptionFrame(IAsyncResult result)
 at AsyncResult.Complete(Boolean completedSynchronously)
 at AsyncQueueReader.Set(Item item)
 at InputQueue`1.Dispatch()
 at ScheduledOverlapped.IOCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
 at IOCompletionThunk.UnhandledExceptionFrame(UInt32 error, UInt32 bytesRead, NativeOverlapped* nativeOverlapped)
 at _IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
>Web Service Plug-in failed in SdkMessageProcessingStepId: {E3CBBB1B-EA3E-DB11-86A7-000A3A5473E8}; EntityName: serviceappointment; Stage: 30; MessageName: Retrieve; AssemblyName: Microsoft.Crm.Extensibility.InternalOperationPlugin, Microsoft.Crm.ObjectModel, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35; ClassName: Microsoft.Crm.Extensibility.InternalOperationPlugin; Exception: Unhandled Exception: Microsoft.Crm.Metadata.AttributeMetadataNotFoundException: 'ServiceAppointment' entity doesn't contain attribute with Name = 'organizer'.
   at Microsoft.Crm.Metadata.EntityMetadata.GetAttribute(String attributeName, NameMappingType mapping)
   at Microsoft.Crm.Query.ColumnSetExpression.AddColumns(NameMappingType mapping, String[] attributeNames)
   at Microsoft.Crm.Query.EntityExpression.FromSdkQueryVisitor.Visit(ColumnSet columnSet)
   at Microsoft.Crm.Query.EntityExpression.InitializeColumnSet(String entityPlatformName, ColumnSet cs)
   at Microsoft.Crm.Extensibility.MonikerColumnSetRelatedEntitiesQueryToEntityExpressionConverter.InternalConvert(ICrmConversionContext context, Object[] inputFields)
   at Microsoft.Crm.Extensibility.ConverterBase.Convert(ICrmConversionContext context, Object[] inputFields)
   at Microsoft.Crm.Extensibility.ConversionDescription.Execute(ParameterCollection fieldValues, ICrmConversionContext context)
   at Microsoft.Crm.Extensibility.DictionaryMapper.Map(ParameterCollection inputs, ICrmConversionContext context)
   at Microsoft.Crm.Extensibility.InternalOperationPlugin.Execute(IServiceProvider serviceProvider)
   at Microsoft.Crm.Extensibility.V5PluginProxyStep.ExecuteInternal(PipelineExecutionContext context)
   at Microsoft.Crm.Extensibility.VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)
.

I find this very strange, because I can't find any attribute with the name 'organizer'. We have customized the service activity entity, but have not created an attribute with that name, so i have no idea where this attribute could come from. Furthermore, other users who have the same configuration as this user have not reported any issues. So it is just 1 user who has this problem. The users are using the CRM 2011 Client with Outlook 2003 SP3.

I have already reconfigured the client's connection to the CRM server, so that it would reïnitialise its local database. This seemed to solve the problem. I was able to go offline and online without any problems. However, a few days later the user reported the same problem again.

Does anyone have any ideas to solve this problem?

Any help would be appreciated.

Best Regards,

Pieter

CRM 2016:Using Web API for CRM IFD to connect CRM Web Service

$
0
0

Hello,

I'm new to Web API and trying to build a CRM Web Service application with C# by using Web API. Here is the sample code I'm using: C# application which authenticates against Azure AD using ADAL and communicates with Dynamics CRM

This code works perfectly for AD authentication on premise CRM environment. But my environment is IFD, which means I have to use OAuth. it says method calls to the web services must be authorized with the identity provider for that service endpoint. However all the example point to Microsoft Azure Active Directory. but for real case, do we have to register a CRM app with Azure Active Directory?

Then how can I define the 'Client ID', 'RedirectUrl', 'Authority' in my code, where is my endppoint? We're using ADFS authentication.

Can anyone share some sample codes for this?

Thanks.


Contract lines are not getting expired

$
0
0

 Hi 

We have multiple instances for our poject like Sandbox, Staging and Live. They are behaving differently on Contract lines.

In staging on the contract line end date, the lines are getting expired.

But this is not happening in Sandbox and live, what might be the reason?

And we observed that on the contract lines in Staging  the 

Total Cases/Minutes is setting to 1 on expiring but this is not happening in PROD and Sandbox. And if we are manually placing it in there it is reseting it to ZERO.

Can any one say why this is happening..?

Thanks

Host custom aspx pages with CRM 2015 onpremisis

$
0
0

Currently I have a solution running on IIS that I use to generate quotes for the sales people.  It runs on a different port as my CRM application and communicates through the sdk.  All is working fine as everything is hosted on premise and is only accessed by people logged onto our system.  HOWEVER, I need to add the capability for people to access the CRM system from outside the network.  I have already migrated the CRM system to a https port and all is working fine.

My question then: can I host my own application within the CRM application or do I need to run my application separately on a different port? 

 

Christo Vermeulen

Need to add record (Case) URL in Email Template

$
0
0

HI Team,

In MSCRM 2016 i Need to add record (Case) URL in Email Template.

1. What is the best approach?

2. How to create a record URL and save in Attribute using javascript?

Please let me know.

Thanks,

Sreenath

There was a problem while trying to set value for "ShowRatingUsing"

$
0
0

Hi Team,

Problem Description: All of a sudden in Workflows when i Click on "set properties" for updating case i am facing below error. It was working earlier properly. All of a sudden i am facing this.


Regarding Advance Find Functionality

$
0
0

Hi,

In Advance Find View,How to find who last accessed or run the advanced find view which is already created by someone??

Issue in Solution Import

$
0
0

Hi,

I am trying to import manage solution from DEV to Production environment. I am getting "The Import of solution failed. The following component is missing from the solution". Due to "Entity Relationship" it says that "tad_incident_sharepointdocument" is missing from solution and is required on production. A i checked this relationship is already  there on "Production or Dev solution". 

I am posting XML from dev enviroment for relationship.

 <EntityRelationship Name="tad_incident_sharepointdocument">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <IsCustomizable>1</IsCustomizable>
      <IntroducedVersion>1.0</IntroducedVersion>
      <IsHierarchical>0</IsHierarchical>
      <ReferencingEntityName>SharePointDocument</ReferencingEntityName>
      <ReferencedEntityName>Incident</ReferencedEntityName>
      <CascadeAssign>NoCascade</CascadeAssign>
      <CascadeDelete>RemoveLink</CascadeDelete>
      <CascadeReparent>NoCascade</CascadeReparent>
      <CascadeShare>NoCascade</CascadeShare>
      <CascadeUnshare>NoCascade</CascadeUnshare>
      <IsValidForAdvancedFind>1</IsValidForAdvancedFind>
      <ReferencingAttributeName>tad_regardingid</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>
          <Description description="Unique identifier for Case associated with Sharepoint Document." languagecode="1033" />
        </Descriptions>
      </RelationshipDescription>
      <field name="tad_regardingid" requiredlevel="none" lookupstyle="single" lookupbrowse="0" format="">
        <IsCustomizable>1</IsCustomizable>
        <IsRenameable>1</IsRenameable>
        <CanModifySearchSettings>1</CanModifySearchSettings>
        <CanModifyRequirementLevelSettings>1</CanModifyRequirementLevelSettings>
        <IsSecured>0</IsSecured>
        <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
        <IsAuditEnabled>0</IsAuditEnabled>
        <displaynames>
          <displayname description="Regarding" languagecode="1033" />
        </displaynames>
      </field>
      <EntityRelationshipRoles>
        <EntityRelationshipRole>
          <NavPaneDisplayOption>UseCollectionName</NavPaneDisplayOption>
          <NavPaneArea>Details</NavPaneArea>
          <NavPaneOrder>10000</NavPaneOrder>
          <CustomLabels>
            <CustomLabel description="" languagecode="1033" />
          </CustomLabels>
        </EntityRelationshipRole>
      </EntityRelationshipRoles>
    </EntityRelationship>

Any Suggestions.


Amit


Controls for Phone and Tablets in Dynamics CRM 2016

$
0
0
I have applied Autocomplete on phone. .How can I filter values based on selected value.For Ex:I have created two fields "country and states" I want to see state based on country value.

Deploying an updated plugin in CRM online 2016

$
0
0

Hi,

I've updated an existing plugin in visual studio, and I want to update it via the plugin registration tool. I was expecting an update button for the plugin assembly, but there isn't one. There is an update button for the step. I expected to be able to browse to the dll on my local machine. How should I be doing this?

Thanks.

Error message when you try to open a custom view from link in Microsoft Dynamics CRM 4.0: "savedquery With Id = C0AFA04A-CDD0-DF11-80D9-0003FF187B3B Does Not Exist"

$
0
0

Hi

Today I tried to open a custom view from a link but i got this error:

savedquery With Id = C0AFA04A-CDD0-DF11-80D9-0003FF187B3B Does Not Exist

The link is generated by this action: From a custom view, at the top bar click "More Actions", then click "Send shortcut" and then click on "Of Current View". It will open a compose email window with te mentioned link at the body, something like this: <http://syndeo-interno/MicrosoftCRM/_root/homepage.aspx?etc=10000&viewid={C0AFA04A-CDD0-DF11-80D9-0003FF187B3B}>

If I repeat those steps with a system view I have no problem and I'm able to open the link.

So I tried to fix it by installing Rollup 13 after I found the kb article 955981 (http://support.microsoft.com/kb/955981) which looks very similar but didn't work.

Does anybody knows if this error is a know error or if this is an error that is happening only in my server?

Can you try at your CRM and tell me what are your results?

Thanks in advanced.

Viewing all 8223 articles
Browse latest View live


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