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

How to get the no of rows(record) of the subgrid in .rdl report

$
0
0

Hello,

My requirement is to get the total no. of record from subgrid in .rdl report using fetch xml.

i am confused that how i get the fetch xml and what need to do that get's the count of the rows from subgrid. 

please help me to solve this problem.

Thank you in advance.


Portal comment error with attachment!

$
0
0

Hi All,

When ever I try to attach(submit) a document within the portal comment , I get the below error(GUID keeps changing). Though this error comes up, the file is successfully uploaded. I am using Azure storage blob for saving these attachments. Any thoughts on this ?

Tablet loading mobile forms !

$
0
0

Hi All,

When I launch d365 in my tablet, by default is loading mobile forms. Though I requested for desktop view it is still redirecting\holding in mobile forms.

I tried with different browsers and clearing the cache but no luck. Any suggestions ?

HTML tags with in activities of portal timeline !

$
0
0

Hi All,

I am getting html tags within the portal timeline for all the activities. Any possible solution to over come this ?

Excel keeps asking for my Dynamics CRM login when I try to refresh data

$
0
0

I have exported a Dynamic worksheet from a the System and when I click Refresh from CRM the Dynamics login box pops up and requires me to sign in.

When I sign it, it does not recognize my username or password.

Has anyone else experienced this?

Thank you in advance for your help!

Phone-API connection with CRM dynamics

$
0
0

Hi All, my job is to write a program that communicates with our phone API. This program should recognize when and from whom a call is received. This information should be automatically stored as an instance in our "phone-call" entity. It should also be possible to deposit nots during the telephone call.

Can this problem be solved with a plugin, which accesses the TAPI and the CRM at the same time? Thanks for your help!!

MS CRM 365 in Sandbox default Open Interactive HUB Form, Not main form

$
0
0

We has just installed Sales app in MS 365, but the default form and layout opened as TABLET LAYOUT, not layout of Application in web. Please help me check any miss configuration in this case. Thank for your supporting.

How I can generate a CRM report and set as an attachment notes by JavaScript?

$
0
0

Hi, the following script is not working, 
but the function OpenOrderReport alone is working and the report is opening as a pop-up but when I add it to the rest of the script nothing happens; I'm calling AttachReport function on load.
Any help please ?
Thank you 

function AttachReport()
{
  debugger;
  var params = OpenOrderReport();
  var newPth = Xrm.Page.context.getClientUrl() + "/Reserved.ReportViewerWebControl.axd?ReportSession="+ params[0]+"&Culture=1033&CultureOverrides=True&UICulture=1033&UICultureOverrides=True&ReportStack=1&ControlID="+ params[1] +"&OpType=Export&FileName=public&ContentDisposition=OnlyHtmlInline&Format=PDF";
  window.open(newPth, "_self");
  encodePdf(params);
}

function OpenOrderReport()
{
debugger;
    var rdlName    = "invoice.rdl";
    var reportGuid = "8e547587-59e8-e611-80d7-00155d004f8b";
    var entityType = "1090"; //Replace
    var entityGuid = Xrm.Page.data.entity.getId();
    var url = Xrm.Page.context.getClientUrl() + "/crmreports/viewer/viewer.aspx?action=run&context=records&helpID=" +rdlName + "&id=%7b" + reportGuid + "%7d&records=%7b" + entityGuid.replace('{', '').replace('}', '') + "%7d&recordstype=" + entityType;

    //added
    var retrieveEntityReq = new XMLHttpRequest();
    retrieveEntityReq.open("POST", url, false);
    retrieveEntityReq.setRequestHeader("Accept", "*/*");
    retrieveEntityReq.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");

    var x = retrieveEntityReq.responseText.lastIndexOf("ReportSession=");
    var y = retrieveEntityReq.responseText.lastIndexOf("ControlID=");
    var ret = new Array();

    ret[0] = retrieveEntityReq.responseText.substr(x + 14, 24);
    ret[1] = retrieveEntityReq.responseText.substr(x + 10, 32);
    return ret;
    //window.open(url, null, 800, 600, true, false, null); <--- alrdy exists
}

function encodePdf(responseSession)
{
debugger;
alert("encode pdf");
var retrieveEntityReq = new XMLHttpRequest();
var pth = Xrm.Page.context.getClientUrl() + "/Reserved.ReportViewerWebControl.axd?ReportSession=" + responseSession[0] +"&Culture=1033&CultureOverrides=True&UICulture=1033&UICultureOverrides=True&ReportStack=1&ControlID=" +responseSession[1] + "&OpType=Export&FileName=Public&ContentDisposition=OnlyHtmlInline&Format=PDF";

retrieveEntityReq.open("GET", pth, true);
retrieveEntityReq.setRequestHeader("Accept", "*/*");
retrieveEntityReq.responseType = "arraybuffer";
retrieveEntityReq.onreadystatechange = function () {
if (retrieveEntityReq.readyState == 4 && retrieveEntityReq.status == 200)
{
var binary = "";
var bytes = new Uint8Array(this.response);
for (var i = 0; i < bytes.byteLength; i++) {
binary += String.fromCharCode(bytes[i]);
}

var bdy = btoa(binary);
createNote(bdy);
}
};
retrieveEntityReq.send();
}


function createNote(data)
{
debugger;
alert("create new note");
var note = {};
var refInvoice = new Object();
refInvoice.LogicalName = "invoice";
refInvoice.Id = recordId;
note.ObjectId = refInvoice;
note.ObjectTypeCode = refInvoice.LogicalName;
note.Subject = "Invoice: " + new_invoicenumber;
note.MimeType = "application/pdf";
note.DocumentBody = data;
note.FileName = new_invoicenumber+ ".pdf";
XrmServiceToolkit.Rest.Create(
note,
"AnnotationSet",

function (result)
{
//Alert user
alert("Note Created");
//Refresh data so user sees newly created note
Xrm.Page.data.refresh(false);
},

function (error)
{
alert(error.message);
},
true
);
}

//==========================================End==============================//

Dynamics CRM Plugins does not work and throws errors once triggers

$
0
0
Hi experts,
We have just installed Dynamics CRM 365 on Premise. Its Microsoft Dynamics 365 multiple-server deployment. So we have three servers which acts as a Front End and Back End servers.
We are experiencing issues; the plugins does not triggers successfully.
When we register the plugins in sandbox mode then we are experiencing this issue:
Error Message: System.ServiceModel.Security.SecurityNegotiationException
In above case plugin triggers but when it try to call Service.Retrive service.Create etc. the get above error.
When we register plugin with non-mode then we are experiencing this issue:
Unable to load plug-in type
On the other hand our SSIS packages are working fine and we are also able to run the same plugin code successfully within a console application.
Any idea what could be the cause of this issue?
Thanks

Processing the results of a SOAP Execute message into JavaScript objects representing the returned entities

$
0
0

Hi all

This seems like it should've been done a thousand times, yet I'm not finding any good examples? Or maybe I'm searching for the wrong things...

Essentially, I execute aExecuteQuickFind request, and need to parse the results into usable JavaScript objects representing the returned entity records.

Request:

<request xmlns:a="schemas.microsoft.com/.../Contracts"><a:Parameters xmlns:b="schemas.datacontract.org/.../System.Collections.Generic"><a:KeyValuePairOfstringanyType><b:key>SearchText</b:key><b:value i:type="c:string" xmlns:c="www.w3.org/.../XMLSchema">test</b:value></a:KeyValuePairOfstringanyType><a:KeyValuePairOfstringanyType><b:key>EntityNames</b:key><b:value i:type="c:ArrayOfstring" xmlns:c="schemas.microsoft.com/.../Arrays"><c:string>account</c:string><c:string>contact</c:string></b:value></a:KeyValuePairOfstringanyType></a:Parameters><a:RequestId i:nil="true" /><a:RequestName>ExecuteQuickFind</a:RequestName></request>

And I get back the following response: 

<s:Body><ExecuteResponse xmlns="schemas.microsoft.com/.../Services"><ExecuteResult xmlns:a="schemas.microsoft.com/.../Contracts" xmlns:i="www.w3.org/.../XMLSchema-instance"><a:ResponseName>ExecuteQuickFind</a:ResponseName><a:Results xmlns:b="schemas.datacontract.org/.../System.Collections.Generic"><a:KeyValuePairOfstringanyType><b:key>Result</b:key><b:value i:type="a:QuickFindResultCollection"><a:QuickFindResult><a:Data><a:Entities/><a:EntityName>account</a:EntityName><a:MinActiveRowVersion>-1</a:MinActiveRowVersion><a:MoreRecords>false</a:MoreRecords><a:PagingCookie/><a:TotalRecordCount>-1</a:TotalRecordCount><a:TotalRecordCountLimitExceeded>false</a:TotalRecordCountLimitExceeded></a:Data><a:ErrorCode>0</a:ErrorCode><a:QueryColumnSet xmlns:c="schemas.microsoft.com/.../Arrays" i:nil="true"/></a:QuickFindResult><a:QuickFindResult><a:Data><a:Entities><a:Entity><a:Attributes><a:KeyValuePairOfstringanyType><b:key>fullname</b:key><b:value xmlns:c="www.w3.org/.../XMLSchema" i:type="c:string">A TEST</b:value></a:KeyValuePairOfstringanyType><a:KeyValuePairOfstringanyType><b:key>emailaddress1</b:key><b:value xmlns:c="www.w3.org/.../XMLSchema" i:type="c:string">atest@testemail.com</b:value></a:KeyValuePairOfstringanyType><a:KeyValuePairOfstringanyType><b:key>contactid</b:key><b:value xmlns:c="schemas.microsoft.com/.../Serialization" i:type="c:guid">********-****-****-****-************</b:value></a:KeyValuePairOfstringanyType><a:KeyValuePairOfstringanyType><b:key>entityimage_url</b:key><b:value xmlns:c="www.w3.org/.../XMLSchema" i:type="c:string">/Image/download.aspx?Entity=contact&amp;Attribute=entityimage&amp;Id=********-****-****-****-************&amp;Timestamp=636419355553591067</b:value></a:KeyValuePairOfstringanyType></a:Attributes><a:EntityState i:nil="true"/><a:FormattedValues/><a:Id>********-****-****-****-************</a:Id><a:KeyAttributes xmlns:c="schemas.microsoft.com/.../Contracts"/><a:LogicalName>contact</a:LogicalName><a:RelatedEntities/><a:RowVersion i:nil="true"/></a:Entity><a:Entity><a:Attributes><a:KeyValuePairOfstringanyType><b:key>fullname</b:key><b:value xmlns:c="www.w3.org/.../XMLSchema" i:type="c:string">Another TEST</b:value></a:KeyValuePairOfstringanyType><a:KeyValuePairOfstringanyType><b:key>emailaddress1</b:key><b:value xmlns:c="www.w3.org/.../XMLSchema" i:type="c:string">anothertest@testemail.com</b:value></a:KeyValuePairOfstringanyType><a:KeyValuePairOfstringanyType><b:key>contactid</b:key><b:value xmlns:c="schemas.microsoft.com/.../Serialization" i:type="c:guid">********-****-****-****-************</b:value></a:KeyValuePairOfstringanyType></a:Attributes><a:EntityState i:nil="true"/><a:FormattedValues/><a:Id>********-****-****-****-************</a:Id><a:KeyAttributes xmlns:c="schemas.microsoft.com/.../Contracts"/><a:LogicalName>contact</a:LogicalName><a:RelatedEntities/><a:RowVersion i:nil="true"/></a:Entity></a:Entities><a:EntityName>contact</a:EntityName><a:MinActiveRowVersion>-1</a:MinActiveRowVersion><a:MoreRecords>true</a:MoreRecords><a:PagingCookie>***Removed***</a:PagingCookie><a:TotalRecordCount>-1</a:TotalRecordCount><a:TotalRecordCountLimitExceeded>false</a:TotalRecordCountLimitExceeded></a:Data><a:ErrorCode>0</a:ErrorCode><a:QueryColumnSet xmlns:c="schemas.microsoft.com/.../Arrays" i:nil="true"/></a:QuickFindResult></b:value></a:KeyValuePairOfstringanyType></a:Results></ExecuteResult></ExecuteResponse></s:Body>

I need some representation of the return "account" and "contact" records that preserves their data types as much as possible. 

Any help would be much appreciated!
James 

How to work with processes in a development environment

$
0
0

I would like to test new processes, including workflows in a separate test environment before using them in production

The way my test environment is set up right now, is I have a separate organization solely for the purpose of testing new additions to the solution. When I am done with the additions, I export the whole solution from the test environment and import it to production environment. Everything works well for the solution, but not for processes (both, business-process flows and workflows). They do not get carried over during the export/import.

Is there a way to move over all processes at once from on organization to the other like with the solutions? If not, what would be the best way to add new processes without disrupting the work in the production environment?

Sitemap Group Background Color

$
0
0

How to change sitemap group background color in ms CRM 365.

Question about a specific marketing list

$
0
0

Hi, everyone - I'm using Dynamics 365 and my goal is to make /export in Excel/ a marketing list of contacts that are related to Opportunity which is closed with status "postponed for an indefinite period". In addition to contact names, I need their emails and corresponding company names. I kindly ask you for your assistance. I guess the question is too easy for most of you. :)

Thank you in advance!

Open web resource , doesn't have Xrm.Page

$
0
0

Hi,

I opened web resource with:

parent.Xrm.Utility.openWebResource("index.html", customParameters, 1000, 800);

On web resource page I have lost Xrm.Page

I don't know why I don't have a Xrm.Page

If someone knows why ?

Thanks in advance....

Kind regards

Martin

 

PowerMailChimp and CRM

$
0
0

Hello! 

Anyone knows what does these errors mean? Everytime i try to open the page they error codes changes...

and after this

Can anyone help please?

Thank You! 


Adxstudio Portal: Toggle Entity Forms Based on Field Value in Portal

$
0
0

We received a requirement to toggle different forms in Adxstudio Portal when users select respective value in one of the field, example:-

Value 1 - Entity Form 1

Value 2 - Entity Form 2

Value 3 - Entity Form 3

Anyone have successfully tried JavaScript in toggling between the entity forms? 

How to show the lead UTM source of goggle

How to add Slider control on the customer portal page

$
0
0

Hi guys,

I like to find out how to add the slider control on the customer portal page using Dynamics CRM money or numeric field.

My clients like to have a slider on the customer portal page I have tried to add the controller on the CRM using the link below

https://redcrm.wordpress.com/category/mscrm-online/crm-for-mobile/

However, I am unable to see or can add the same linear or slider controller on the customer portal page (Adxstudio)

CRM 365 Online: Change color of hyperlink in workflow email

$
0
0

Hi Guys

I am sending out an email through CRM workflow. I have inserted hyperlinks in my mail, I would like to change the color of the hyperlink. Even though I change the color in workflow when the email goes out it defaults to blue.  

Could you advise me in this please?

Thanks

Bab

How to make field mapping add portal?

$
0
0

Hello! I was create field mapping at my solution, but it doesn't work at portal. I want to copy field value at portal. Can you help me? Thankyou.

Viewing all 79901 articles
Browse latest View live