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

Why my sandbox is not shown in Copy target instance list after reset?

$
0
0

I planned to reset my sandbox and copy from production.

After reset the sandbox, it is not shown in the copy target instance list. In the instance management page, the sandbox is in ready state.

One and half hour past, it is still not shown in the target instance list.

Could you share some experiences on reset instance?

Thanks

Runner

 


CRM attempts to re-create activitypointer records for tracked emails daily

$
0
0

We recently upgraded to CRM 2015 company-wide.  We are using CRM 2013 for Outlook for email tracking purposes.  

We have had some complaints of slowness so began doing some database traces.  One thing we found were multiple error messages like: Violation of PRIMARY KEY constraint 'ndx_PrimaryKey_ActivityPointer'. Cannot insert duplicate key in object 'dbo.ActivityPointerBase'. The duplicate key value is (f45bc802-7da6-e611-81ae-005056a512df).

Upon further review, we discovered that these messages are being generated multiple times a day (34 times or more for 1 email) for the same tracked emails, day after day (though not for ALL tracked emails) .  

For instance, an email that was created in 7/2016 by Mary Hart will show up again every day, even when the email has not been touched in weeks, and may result in 30+ of these messages each day.  It appears that once they log on to the network, these messages start occurring, so perhaps there is something client side? 

Has anyone else seen this or have any ideas what might be tried to fix it?

CRM 2016 On-Premise "Wrapping Up" Message

$
0
0

A few of our clients are experienced a "Wrapping Up" message once they Set Regarding on an Email in Outlook. I see that this was resolved for CRM 2015 via Update 0.2 (support.microsoft.com/.../3075889).

Here is the specific issue: "Every time an Email is being promoted to CRM in the Microsoft Dynamics CRM 2015 Client for Outlook, users are shown two progress dialogs with the titles of "Contacting CRM" and "Wrapping Up" which interrupts the tasks the users are working on as all mouse and keyboard actions are blocked."

Has anyone seen and/or resolved this in CRM 2016?

Wrong Createdon dates issue

$
0
0

I have imported some products (which were old and hence used the overiddencreatedon field to set the createdon field)

From what I know...what happens after that is - 

Overiddencreatedon --> CreatedOn

& then 

Time of Import--> OveriddenCreatedOn

I have verified this multiple times by looking into the database.

Now the Problem is -

When anyone clones a certain product (using the OOB Clone functionality) --results in the wrong createdon date. It ends up using the (Time of last Import or OveriddenCreatedOn value of the original product which is being cloned)

Does anyone have any idea/workaround for this??

Javascript

$
0
0

Hello there first thank you for looking into this. I am trying to define my javascript using namespace and $self.

I am also trying to define my fields using  

var $self = FIELD = {
		AccountName: "new_accountname",
		RelationType: "new_relationtype"
	};

When I try to run this code on the form I am getting an error, the error is (

One of the scripts for this record has caused an error. For more details, download the log file.
TypeError: Unable to get property 'onLoad' of undefined or null reference at eval code (eval code:1:1))

//JavaScript source code

if (typeof CONTOSO == "undefined") {
	CONTOSO = {_namespace: true};
}

CONTOSO.Account = (function() {
	var $self = {};
	
	var $self = FIELD = {
		AccountName: "new_accountname",
		RelationType: "new_relationtype"
	};
	$self.onLoad = function () {
		showHide(FIELD.AccountName, FIELD.RelationType);
	}
	
	$self.FIELD.AccountName = function () {
		showHide(FIELD.AccountName);
	}
	
	function showHide() {
		if (){
			
		}
		else if (){
			
		}
	}
})();
 

Admin button missing in a Sandbox.

$
0
0

Login Dynamics CRM Online by system administrator account, but I cannot see the Admin button in my sandbox.

Can anybody shed some light on this?

Thanks

Runner288

Export to Excel doesn't show currency?

$
0
0

So when currency fields are exported to excel it only shows the decimal places but it doesn't put the $ currency before it.  Is there a way to fix this?

Best way to show Revenue Totals when Printing?

$
0
0

So I have a view with opportunities that have a revenue field listed.  I know I can make a chart on the view to total them up.. but printing is messy from Internet Explorer...  

If I export to excel I then have to manually total everything up with autosum....   What's the quickest way to have the revenue totals for the view I am on and have it print friendly?


C# Plug-In error The size necessary to buffer the XML content exceeded the buffer quota.

$
0
0

Hi, 

I am getting error message from plug-in post-operation sync. 

"The size necessary to buffer the XML content exceeded the buffer quota."

On lead create or update, update lead attribute <<custom attribute>> with admin. 

custom attribute is lookup & its in field security and due to that I am using system user to update lead.

Delete all related records when account is inactive

$
0
0

Hi All,

whenever I make the Account record inactive, I would like to delete all the related contacts and cases from CRM.

Any gudance in achieving this is highly appreciated.

Thanks

Reporting Bug: Workflow Designer Bug in Dynamics 365 (MS CRM)

$
0
0

Hi There,

As I could not find a place in http://connect.microsoft.com/directory/accepting-bugs/ , I am reporting a bug here.

When we want to create a workflow for case entity to send an email to 'case owner'; dynamic values in the form assistant only shows 'customer' (Screenshot below). This is in Dynamics 365, check the version number in the screenshot

On the contrary, I am able to perform the same action in the previous version of MS CRM 2016; which shows me a lot many options like customer, contact, owning user, created by etc.

if someone knows a place to report it, do let me know !

This is not listed under 'December 2016 Update' https://www.microsoft.com/en-us/dynamics/crm-customer-center/microsoft_Dynamics_CRM_2016_Readme.htm# 

Error Icon / Message Appears in Dynamics CRM Mobile Form Load

$
0
0

Hi all,

I'm facing this behavior on Dynamics CRM Mobile during form on load of customized entity:

- Open a customized record. In tablet mode, error icon appears next to Tab name. In mobile mode, an error message shows "There is an error in the form". P/S: I noticed that at this point of time, there's no data in the fields.

- Data is loaded. Error icon / error message disappeared.

(This happens within 1 to 2 seconds, but it's noticeable).

To ensure that this is not my customization issue, I've tried in a vanilla trial environment on Task entity. The original form works perfectly with no error at all. Then I remove a field from the form and published it. The task form faces same issue as spoken above.

I wonder if anyone has faced this before and if there's a solution for this?

Thanks in advanced!

Fields are not visible !

$
0
0

Hi folks,

I created a new entity(but it is same for existing entities too) and want to change the view but my fields are not visible on add column tab, please look into it and suggest, thanks.

Reporting Bug: Business Process Flow Designer, component 'workflow' does not work

$
0
0

Hi There,

As I could not find a place in http://connect.microsoft.com/directory/accepting-bugs/ , I am reporting a bug here.

When creating a business process flow, one of the four components 'workflow' does not work. Basically, no matter how many workflows you have activated, it would not be visible here, for selection.

if someone knows a place to report it, do let me know !

This is not listed under 'December 2016 Update' https://www.microsoft.com/en-us/dynamics/crm-customer-center/microsoft_Dynamics_CRM_2016_Readme.htm# 

Integrating CRM with LinkedIn

$
0
0

Hi Team,

I have below specific requirement.

I want to integrate LinkedIn with CRM. How can we fetch specific information of company from LinkedIn  to Lead entity based on LinkedIn URL/Company Id

Please suggest methods or steps how I can achieve this.

Your suggestion would be appreciated. Feel free to ask if need more information

 

 

Thanks Rutul


Problem when exporting a solution containing Accounts

$
0
0

Hello,

I am trying to create a Solution with Accounts, Leads, Opportunities and Contacts. I am adding three fields to each of these entities. When I add Accounts, the customizations.xml file that gets generated contains the following inside the xml file:

<EntityMaps><EntityMap><EntitySource>account</EntitySource><EntityTarget>product</EntityTarget><AttributeMaps/></EntityMap></EntityMaps>

This is causing problems when I try to import it to another instance. I get the following error:

Method : HandleReturnMessage
Date : 11/14/2016
Time : 5:37:34 PM
Error : Message: EntityMap account -> product - Import: FAILURE. This entity map does not exist on the target system.
ErrorCode: -2147188720
Trace:
Stack Trace : Server stack trace:
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

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.Xrm.Sdk.IOrganizationService.Execute(OrganizationRequest request)
at Microsoft.Xrm.Sdk.WebServiceClient.OrganizationWebProxyClient.<>c__DisplayClassd.<ExecuteCore>b__c()
at Microsoft.Xrm.Sdk.WebServiceClient.WebProxyClient`1.ExecuteAction[TResult](Func`1 action)
at Microsoft.Xrm.Sdk.WebServiceClient.OrganizationWebProxyClient.ExecuteCore(OrganizationRequest request)
at Microsoft.Xrm.Sdk.WebServiceClient.OrganizationWebProxyClient.Execute(OrganizationRequest request)
at Microsoft.Xrm.Tooling.Connector.CrmServiceClient.CrmCommand_Execute(OrganizationRequest req, String errorStringCheck)
======================================================================================================================

When I remove the contents inside EntityMaps, e.g. leaving the section as <EntityMaps/>, I get the following error:

==OrganizationServiceFault Info=======================================================================================
Error : System.ArgumentException: Condition for attribute 'solution.uniquename': null is not a valid value for an attribute. Use 'Null' or 'NotNull' conditions instead.
Time : 11/15/2016 6:52:22 AM
ErrorCode : -2147220970
Date : 11/14/2016
Time : 10:52:06 PM
Trace : Not Provided
======================================================================================================================

PackageDeployment Information 8 11/14/2016 10:52:06 PM DoImportSolutionItem Exception Raised
PackageDeployment Error 2 11/14/2016 10:52:06 PM Source : mscorlib
Method : HandleReturnMessage
Date : 10:52:06 PM
Time : 11/14/2016
Error : Condition for attribute 'solution.uniquename': null is not a valid value for an attribute. Use 'Null' or 'NotNull' conditions instead.
Stack Trace : Server stack trace:
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

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.Xrm.Sdk.IOrganizationService.Execute(OrganizationRequest request)
at Microsoft.Xrm.Sdk.WebServiceClient.OrganizationWebProxyClient.<>c__DisplayClassd.<ExecuteCore>b__c()
at Microsoft.Xrm.Sdk.WebServiceClient.WebProxyClient`1.ExecuteAction[TResult](Func`1 action)
at Microsoft.Xrm.Sdk.WebServiceClient.OrganizationWebProxyClient.ExecuteCore(OrganizationRequest request)
at Microsoft.Xrm.Sdk.WebServiceClient.OrganizationWebProxyClient.Execute(OrganizationRequest request)
at Microsoft.Xrm.Tooling.Connector.CrmServiceClient.CrmCommand_Execute(OrganizationRequest req, String errorStringCheck)
======================================================================================================================

Is there any way to add additional fields to Accounts without facing these errors?

Thanks

Workflow

$
0
0

Dear Experts,

The current workflow is.. when the case has been created it will assign the case to the case ower as per seleted subject and sent email (assign case) notification to case owner.

Now i want if the case owner don't replay to that email within 24hours i want to to just to send an email notifcation to person XXX. his manager.

kindly help  

Control width and height of an html web page using ribbon work bench

$
0
0

Hi all,

I add a button on Opportunity form using ribbon work bench with the help of that button I opened html web page. When I change  WinMode from window to ModalDialog or ModalessDialog. My code on html stops working that is why I need to to control height and width for my html web page. My code and WindMode images are shown below

<!doctype html>
<html>
<head>
<title>TextBox with Search Icon in HTML and CSS - Tutorial from www.codeofaninja.com</title>
<style>
#search-text-input{
border-top:thin solid #e5e5e5;
border-right:thin solid #e5e5e5;
border-bottom:thin solid #e5e5e5;;
border-left:thin solid #e5e5e5;
box-shadow:0px 1px 1px 1px #e5e5e5;
float:left;
height:19px;
margin:.7em 0 0 .5em;
outline:0;
padding:.4em 0 .4em .6em;
width:183px;
}

#button-holder{
background-color:#f1f1f1;
border-top:0;
box-shadow:1px 1px 1px 1px #e5e5e5;
cursor:pointer;
float:left;
height:10px;
margin:11px 0 0 0;
text-align:center;
width:50px;
}

#button-holder img{
margin:4px;
width:20px;
}
</style>
<script type="text/javascript" src="ClientGlobalContext.js.aspx"></script>
<script src="aw_SDK.REST.js" type="text/javascript"></script>
<script src="aw_json2.js" type="text/javascript"></script>
<script src="win-us94vrpdbek/.../aw_JQuery"></script>
<script type="text/javascript"></script>
<script>
var currentleadId;
var name;
var lookUpItems;
function fnSetValues() {
debugger;

var objecttypecode = 10003;
var serverurl = Xrm.Page.context.getServerUrl();

var url = serverurl + "/_controls/lookup/lookupsingle.aspx?class=null&objecttypes=" + objecttypecode + "&browse=0&ShowNewButton=0&ShowPropButton=1&DefaultType=0";
var oForm = document.getElementById('oForm');
var iHeight = 300;//oForm.oHeight.options[oForm.oHeight.selectedIndex].text;

var sFeatures = "dialogHeight: " + iHeight + "px;";
return sFeatures;
}

function fnOpen() {
var sFeatures = fnSetValues();
lookUpItems = window.showModalDialog("win-us94vrpdbek/.../lookupsingle.aspx;objecttypes=10003&browse=0&ShowNewButton=0&ShowPropButton=1&DefaultType=0", "", sFeatures);
name = lookUpItems.substring(18,54);

if(name == "C3FEEE05-0AA1-E611-B7CD-005056C00008")
{
document.getElementById("search-text-input").value = "Check";
}
else if(name == "FCDA1A0E-0AA1-E611-B7CD-005056C00008")
{
document.getElementById("search-text-input").value = "CLC";
}
else if(name == "4E9879DE-09A1-E611-B7CD-005056C00008")
{
document.getElementById("search-text-input").value = "Credit Card";
}
else if(name == "4DFB9DEB-09A1-E611-B7CD-005056C00008")
{
document.getElementById("search-text-input").value = "Purchase Order";
}
else if(name == "6003DEF2-09A1-E611-B7CD-005056C00008")
{
document.getElementById("search-text-input").value = "SATV";
}
else if(name == "83D67CFE-09A1-E611-B7CD-005056C00008")
{
document.getElementById("search-text-input").value = "VPA";
}
}

function retrieveAccount() {
debugger;

var lookup = new Array();
var lookup = window.top.opener.Xrm.Page.data.entity.attributes.get("aw_paymentmethod").getValue("some val");
if(lookup != undefined || lookup != null)
{
document.getElementById("search-text-input").value = lookup[0].name;
}
}
function closeWin() {
debugger;

if(lookUpItems != undefined)
{
var lookupItemsData = JSON.parse(lookUpItems);
currentleadId = window.parent.opener.Xrm.Page.data.entity.getId();
var PaymentMethod = {
aw_PaymentMethod: {
Id: lookupItemsData.items[0].id,//lookUpItems.substring(18,54), // Guid of the parent account
LogicalName: "aw_paymentmethod"
}
}

debugger;
SDK.REST.updateRecord(
currentleadId,
PaymentMethod,
"Opportunity",
function () {
writeMessage("The account record changes were saved");
},
function (error) {
alert(error.message);
}
);
window.parent.opener.Xrm.Page.data.entity.save();
//window.parent.opener.Xrm.Page.data.refresh();
//ModelessDialog.close();
window.close();
}
else
{
//ModelessDialog.close();
window.close();
}

}
</script>
</head>
<body onload="retrieveAccount()">
<form>

<fieldset>

<legend>Input Payment Method</legend>

<p>

<label>Payment Method</label>

<input type='text' id='search-text-input' onload="retrieveAccount" />
<div id='button-holder'>
<img src='C:\DDrive\CRM Clients\360training.com\QS\AXPCRM-15\magnifying-glass-3-xl.png' onclick="fnOpen()" />
</div>

</p>

</fieldset>

<button type="button" onclick="closeWin()">OK</button>

</form>


</body>
</html>

Thank you

Option Set

$
0
0

I have added the Activity Types to the field to show the activity types when selecting Field Customer Visit as the Case Type.

 

The issue I’m having is that the Details (at the bottom of the page) are only showing for Activity Type (Field Customer Visit) the details don’t show for any other Activity Type.

 

Thanks,

My ribbon work bench button is not working

$
0
0

Hi all,

I add a button on opportunity form using these properties of ribbon work bench

my js is shown below

function test()
{
debugger;
var width = 650 ; var height = 500;
var posLeft = (( screen.width - width ) / 2 ) ;
var posTop = (( screen.height - height ) / 2) ;
url = "win-us94vrpdbek/.../aw_PaymentMethodWhenOpportunityCloseAsWon"

window.open(url,'name', 'status=no, width=' + width + ',height=' + height +',top=' + posTop + ',left=' +
posLeft +',scrollbars=no,toolbars=no,menubar=no,location=no, align=center');
}

It do nothing when I clicked to the button. Please suggest me where I wrong.

Thank you

Viewing all 55831 articles
Browse latest View live


Latest Images

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