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

Two-Way service endpoint in CRM Online 2016 Update 1 - 50200: Bad Gateway

$
0
0

Hello!

I'm trying to use the Azure Service Bus integration for a two-way listener.  I have a listener running and it is appearing in the azure portal under Relays, but when calling the service within a plugin I am getting the "50200: Bad Gateway" error.

Searching online there are people who have resolved this error by updating the ServiceBus assembly on the client side, but in this case the reference on the client side is inside the SDK assembly, so I upgraded that to the latest (sdk version 8.1 from may 2016), but the result is the same.

The one wrinkle that occurred during the setup was that in the plugin registration tool the Service Endpoint was configured and validated using the tool from the 2015 sdk which uses ACS, because the new tool (which uses SAS) wouldn't work on the TwoWay endpoint, even with the correct SAS connection string), but the validation and authentication test succeeded.

Anyone have success with this?

With the The Service Endpoint configuration and validation succeeded (using ACS becauese SAS

Error processing request stream. The request should be a valid top-level resource object

$
0
0

Hi,

I'm trying to create email attachment by using REST endpoint. I can successfully create on CRM 2011 online. 
But it's giving me an error when I start to use MS CRM 2011 outlook (not offline).
Is there any different security access between CRM online and CRM outlook for using REST?

I used openStdWin function from "../_common/Global.ashx" to popup window in CRM outlook to prevent appearing log-in screen.


My Code was written in HTML file.

var a = Object();
            a.ObjectTypeCode = "email";
            a.FileName = "CCR.pdf";
            a.Body = pdfBody;
            a.Subject = "Report Attachment";
            a.MimeType = "application/pdf";
            a.ObjectId = new Array();
            a.ObjectId.LogicalName = "activitymimeattachment";
            a.ObjectId.Id = id.ActivityId;var attachId = rest.CreateRecord(a, "ActivityMimeAttachmentSet", null, null);

 

Error as follow
------------------ 

{"error": {"code": "", "message": {"lang": "en-US", "value": "Error processing request stream. The request should be a valid top-level resource object."
}
}
}

Thanks in advance to all. 

 


Activate Quote is missing from Quote ribbon in Field Service Trial

$
0
0

I have a new trial version of CRM Online 2016 - includes Field & Project Service - but Activate Quote is missing from Quote ribbon. 

How can I use standard Sales functionality in this trial version please?  Draft Quote to Activate Quote to Create Order


Ribbon button gets hidden when I apply a Disable rule in CRM 2016 online

$
0
0

Hi,

IS it true that a Ribbon button gets hidden when I apply a Disable rule in CRM 2016 online. I specify a Value rule for a particular field value inside the Enable rule and the button gets hidden when the Value rule is satisfied. IS this by CRM design?

Regarda,

Anwesha

Not able to get session details

$
0
0

Hi,

I have a problem related to accessing of Session details in Dynamics CRM-Unified Service Desk.

When a CTI Search is made and there is no match with the contacts then I am displaying a html page where user can search for contacts with other filter criteria (result will be displayed in a grid). Now on click of a record/contact in the search result I was able to display the contact details in new tab/session but I was not able to see the CTI Information in the newly created session.

Please help me on this, to get CTI Information (as data parameters) in USD.

Thanks,

Pradeep

SSRS report using Fetch XML - using the lookup function

$
0
0

I'm creating a SSRS report based on CRM online using fetch xml. Within the report I have several datasets. To link the datasets I'm using the lookup function. I've just discovered that I need to pass two parameters to each dataset instead of one. Can you pass two parameters? I looked at the multilookup function, however I don't think  that will work. An example of my current function is below.

=Lookup(Fields!ownerIdValue.Value,Fields!ownerIdValue.Value, Fields!committed.Value,

"OpportunityCommitted")

Any help would be appreciated!!!

OrganizationServiceFault: Context is not initialized or already cleaned up.

$
0
0

Hi,

I have sync workflow on field change.

In activity just call RetrieveMultiple a couple times and sometime users get  OrganizationServiceFault exception.

Note it happens only sometime. It single thread no "if"s in the activity code.

Possible it takes  too long when CRM returns a result for RetrieveMultiple and sandbox cleanup context. Does anybody know when sandbox context will be cleaned up? 

System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]: Context is not initialized or already cleaned up.
Server stack trace:
   at Microsoft.Crm.Sandbox.SandboxOrganizationService.get_Context()
   at Microsoft.Crm.Sandbox.SandboxOrganizationService.Execute(String operation, Byte[] serializedRequest)
   at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
Exception rethrown at [0]:
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at Microsoft.Crm.Sandbox.ISandboxOrganizationService.Execute(String operation, Byte[] serializedRequest)
   at Microsoft.Crm.Sandbox.SandboxOrganizationServiceWrapper.ExecuteInternal(OrganizationRequest request)
   at Microsoft.Crm.Sandbox.SandboxOrganizationServiceWrapper.RetrieveMultipleInternal(QueryBase query)

Faust

Can't open salesorderdetail pages by ipad

$
0
0

Can't open salesorderdetail pages by ipad that ipad do not have the feature by double clicking seleted line to open the form page, who have any solution about it? i am using mscrm on premises 2015 update 0.2


Set Regarding Field in MSCRM

$
0
0

Hi All,

Am working on MSCRM 2015 Outlook. I have got a Requirement as.

While Sending an Email through Outlook there is an Option to set Regarding Field.

In My Scenario I have one option set named Confidential (a,b,c,d) values.

When user is trying to set Regarding Field :-

1) I need to Force the User to Select Confidential First

2) It need to get Sync with CRM System.

Please Guide me how to achieve this.

synchronous plugin vs asynchronous plugin

$
0
0

Hi All,

Which gives better performance, synchronous plugin or asynchronous plugin ? why ?

How to handle that performance issue?

Any suggestions.........??????

Thanks in advance


NarSrav http://www.dynamicsexchange.com

Custom View with Saved Query using FetchXML - Not working in Outlook Client - CRM 2013

$
0
0

Hi All,

We are using Microsoft Dynamic CRM 2013 SP1- UR3 and due to client requirement we have customized a view using fetchxml followinghttps://msdn.microsoft.com/en-us/library/gg328457.aspx. The fetchXML contains multiple OR, AND conditions. This works fine and resulted correctly when tested from web browser. The same view is not working in outlook client and gives different different result. We are using Outlook client for CRM 2013.

Did anyone face the same challenge in outlook client. Please suggest if anyone has already fix similar issue.

Found an integer attribute with unrecognized format issue

$
0
0

Hi,

We have facing some strange issue when we tried to retrieve entity metadata using RetrieveAllEntitiesRequest request.

Found an integer attribute with unrecognized format: new_test

Anyone have any idea how to resolve this issue.

Thanks!

Balasaheb


Balasaheb

Tracking Out Of Office Emails in CRM 2013

$
0
0

Hi All,

We have requirement where whenever a non crm users sends an email to a crm mailbox , and when activity gets created in CRM , an acknowledgement mail is sent using a Plugin.

The problem we are facing is , if the non crm user is out of office  and has set a autoreply OOO mail, and when the first acknowledgement mail  is sent , the OOO from end users email client triggers and the mail come to CRM common mail box and when the email activity gets created in CRM the plugin fire again.

Can anyone help in handling this scenario?

Thanks In Advance

USD CTI Simulator is not able to connect to the remote server

$
0
0

Hello Devs,

I was just exploring the CTI functionality of Unified Service Desk (USD). I configured the CTI Desktop Manager in the USD following this walkthrough (Walkthrough: Use the generic listener adapter for CTI event routing)

Now when I am going to sent the CTI event to the USD using CTI simulator application, the operation fails with the error "Unable to connect to the remote server".

Any ideas what am I missing?

USD CTI Simulator - Unable to connect to the remove server



blog: <a href="http://technologynotesforyou.wordpress.com">http://technologynotesforyou.wordpress.com</a> | skype: ali.net.pk

CRM SDK For WinRT or Win8 App

$
0
0

Hi, I am new to CRM and I need help. I want to develop a Win8 App for CRM and I had done some search on this.  I found this blog:

http://blogs.msdn.com/b/dynamics-coe/archive/2013/01/21/building-dynamics-crm-applications-for-windows-8-practical-approaches.aspx  which provide some info on creating Win8 For CRM.

The Problem :

1) These  CRM libraries (WinRt.Microsoft.Crm.Sdk.Proxy and WinRt.Microsoft.Xrm.Sdk) are for CRM Online.  If I want to develop CRM on Premise, Are there any latest WinRT-base CRM libraries for CRM on Premise?

2) Metro CRM app preview in Winter 2013, full release in Spring 2013.

Dynamics CRM client app for Windows 8.
http://www.zdnet.com/microsoft-commits-to-delivering-windows-8-crm-app-by-mid-2013-7000006758/

Is this WinRT CRM Client is some kind of SDK ?

Thanks


Import solution failed - unmanaged base instance

$
0
0

Hi

I am trying to import a solution from our DEV CRM 2011 environment to our UAT CRM 2011 environment. Both environments are on update rollup 18.

I have attempted to import the solution numerous times and each time I receive an error stating:

'A managed solution cannot overwrite a {0} component on the target system that has an unmanaged base instance.  The most likely scenario for this error is that an unmanaged solution has installed a new unmanaged {0} component on the target system, and now a managed solution from the same publisher is trying to install that same {0} component as managed.  This will cause an invalid layering of solutions on the target system and is not allowed.'

No ID is included with the error message, it fails on a relationship with the name EntityRelationship. This is the only information provided. Any ideas on how to troubleshoot and resolve? I seem to think that a newly created Many-to-Many relationship might be causing the issue. Any ideas would be greatly appreciated.

Thanks

Custom workflow activity and GAC versions of referenced assemblies

$
0
0

Hi, I have a tricky problem with a custom activity. It references a library in GAC (as all other activities in the solution) which contains generated types. I updated generated class and version of that common GAC assembly so my activity references this new version. The problem is with workflows which contain both my new activity and other activities (which reference previous version of common assembly). In those I get error which says that "MyAssembly.MyType" cannot be converted to "MyAssembly.MyType". It seems that if I call an activity which references old version in a workflow, CRM caches the common assembly and tries to use it with new activity which follows. I am not sure if this is documented behavior.

I know I can update all other assemblies to reference the new version, but is there a way to avoid this and make CRM work with this? I edited minor version, from 1.0.0.2 to 1.0.0.3.

CRM online 2016 getTotalRecordCount

$
0
0

Hi,

I would like to display the total number of rows in Contacts subgrid on Account form. My code is:

function recordcount()
{
    var TRC = Xrm.Page.getControl("accountcontactsgrid").getGrid().getTotalRecordCount();
    Xrm.Page.getAttribute("eg_recordcount").setValue(TRC)
}

But I am getting error:

TypeError: Unable to get property 'getGrid' of undefined or null reference at recordcount

Can somebody help.

Br

Advanced find opens two windows

$
0
0

Hi,

I went into User section by,

Settings > Security > User (Dynamic CRM 2015 on premise)

In the User page when I clicked advanced find, two windows opens,

1. With entity User (Normal)

2. With entity Activities (First entity name in look for dropdown. Weird)

I have observed the same thing in every section of Security (Teams, Security roles etc)

Any idea, why this is happening. Please help me. 

deleting custom button on ribbon workbench

$
0
0

Hello,

I need to delete a custom button on ribbonworkbench. When i publish i had this

error. i deleted the command and actions. How can i resolve this problem?

 

Viewing all 8223 articles
Browse latest View live


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