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

Get to know previous page in scripting

$
0
0

Is it possible in javascript to get to know what button in what grid is clicked?

For example:

Button X in the home of a particular entity where all records are displayed or button Y in the subgrid on a record of this entity.


Xrm.WebApi.retrieveMultipleRecords is not working in custom HTML

$
0
0

When I am trying to retrieve contact record on custom HTML page using Xrm.WebApi.retrieveMultipleRecords it is not working.

It throws error : Cannot read property 'contact'  of null

Xrm.WebApi.retrieveMultipleRecords("contact").then(function (response) {
alert("result : " + response);
var result = response;
}, function (error) {
alert("error: " + error);
});

Can we Create a new case for an Existing case when client reply back and Added New Queue(Auto case creation is Enabled) in the Email Activity

$
0
0

Can we Create a new case for an Existing case when client reply back and Added New Queue(Auto case creation is Enabled) in the Email Activity.

step 1:

client sent an Email to Queue1(auto case is Enabled, so crm will create a new case ).

Step 2:

CRM user replay back to the client from CRM.

Step 3: 

Client looped another Queue(Queue2) in his Email chain. 

so can CRM create a new case for Queue 2?

Notes/Attachment Not showing up on an Entity

$
0
0

Hello,

Notes/attachments are not showing up on form despite selecting setting on the entity.

I have put a check mark next to the Notes setting on an entity's main settings page as pictured below. But, the Notes/Attachments are not showing up on any of the forms. I am not sure what I am missing. Any ideas on what else to check?

How to re-activate de-activated user

Dynamics 365 On Premise Learning Path

$
0
0

Hello,
We use Dynamics 365 V9 (On-Premise 9.0.6.9). How do I configure the Learning Path?

Visual Studio and CRM 2013 SDK Learning Material

$
0
0

Hi does anyone know where to get some good learning material for developing in Visual Studio with the CRM SDK. I see bits and pieces across the internet but is there a good book etc to get started with. Thanks a mill

SQL Timeout Exception

$
0
0

Good day,

I have a question about a behavior in my code.

I have a function method that make a query to DB as following.

ColumnSet ColsConfiguracionActividadNovedad =
new ColumnSet(
new[]
{
ColPedido, ColConfiguracionproducto, ColNombre, ColOwnerid, ColEstadoActividad, ColTipoTarea,
ColResponsable, ColUsuarioResponsable, ColEquipoResponsable, ColCausa, ColNovedad, ColDescripcion
});

QueryExpression queryConfiguracionActNovedad = new QueryExpression();
queryConfiguracionActNovedad.NoLock = true;
queryConfiguracionActNovedad.EntityName = NombreEsquemaEntidad;
queryConfiguracionActNovedad.ColumnSet = ColsConfiguracionActividadNovedad;
queryConfiguracionActNovedad.Criteria = new FilterExpression();
queryConfiguracionActNovedad.Criteria.AddCondition(ColPedido, ConditionOperator.Equal, pedidoid);
queryConfiguracionActNovedad.Criteria.AddCondition(
ColConfiguracionproducto,
ConditionOperator.Equal,
configuracionproductoid);

queryConfiguracionActNovedad.Criteria.AddCondition(
ColCausa,
ConditionOperator.Equal,
causaid);

queryConfiguracionActNovedad.Criteria.AddCondition(
ColEstado,
ConditionOperator.Equal,
0);

EntityCollection resultado = this.service.RetrieveMultiple(queryConfiguracionActNovedad);

At the moment to execute the unit test for this method, it returns a Timeout SQL Exception.

Now, if I add to the ColumnsSet the colum "ColEstado" and reexecute the unit test it's success.

My question: what's the reason for that behavior? what may be happens? is any configuration in the Entity or DB?

thanks a lot!


OrgDBOrgSettings Tool Authentication

$
0
0

I am attempting to change the MakeSocialPanePhoneCallCompleted setting using the command line option of OrgDBOrgSettings Tool.

I am reaceiving ...

"Error occurred in OrgDBOrgSettings and the error details are The caller was not authenticated by the service.The request for security token could not be satisfied because authentication failed."

Is there a setting that needs to be altered?

Variable for a User Role/Job Title/Security Role in a session?

$
0
0

Using v9 On-Prem

By default, is there a User Role/Job Title/Security Role that can be identified in a session?

I see username and that was easy to pull, but I am unable to find anything else.

If, by default, these are not available, what is the best practice on adding one?

SystemUser table query not returning all users.

$
0
0

Hello there,

I have a page that is trying to pull a list of all of the Users in our Dynamics Instance.

I do this through the REST API with the call 

SERVERURL/XRMPATH/SystemUserSet?$select=SystemUserId, InternalEMailAddress, FirstName, LastName, IsDisabled, InviteStatusCode
I am running this query as a System Administrator.
For some instances it pulls all of the users but on another instance we installed this solution it doesn't pull all of the users.   The problem instance is running Dynamics2013 if that makes a difference.
If SystemUser the correct entity to be querying for this information?  Can you think of any reason why Users wouldn't show up?  Just looking at their data in the Dynamics UI I can't tell what the issue might be.  
Thanks in advance for any help!

Form capture from a WordPress site

$
0
0

I'm trying to make use of the Form Capture functionality from the Dynamics Marketing module for our simple WordPress-based site. I've managed to insert the relevant <script> and <div> tags into the page dynamically (i.e. they are added by WordPress on the fly  using the "Inseart Headers and Footers" addon). It's CRUCIAL that those are added dynamically, as the same WordPress site is handling two language versions, and depending on which URL is used a different page is shown along with different tracking scripts.

Alas, despite the correct <div> and <script> tags being on the final page, when I attempted to use the "form capture" feature I got the error:

"The target page doesn't include the required website tracking script. Please correct this and try again."

I suspect the feature only opens the HTML and checks if the relevant sections are there and doesn't actually run any JS that might be on the form. If that's the case, then do I need to rework my existing solution to use the underlying PHP to insert page elements server-side or is there perhaps another workaround?

Send weekly a email with data froh absence calendar.

$
0
0

One time in the week should automatically send a email to the leader of our company with the dates from our absence calendar in dynamics 365 crm.  Gives to realisize this a simply way in dynamics or must we develop this for example with a webservice SOAP in Visual Studio?

I am getting below error while importing excel sheet through Data Import feature in Dynamics CRM

$
0
0

Hi Friends,

I am getting below error while importing excel sheet through Data Import feature in Dynamics CRM. Any one have idea about this error. Please help me where i am doing wrong.

How to resolve this issue?

Error: Import Failed

"The selected solution import file either does not exist or is invalid. Please select a file which was Exported from this system."

How do I Create module in MS CRM 2013

$
0
0

I want to add new module 'Target Planning ' on MS Dynamics CRM 2013

by Default I can see Sales, Services and Marketing. How can I add new scenario "Target Planning " next to those 3 existed scenario?

Please help. Thank you


Xrm.Web.retrieveMultipleRecords doesn't return nextLink

$
0
0

Hi Experts,

I am trying to retrieve records using Xrm.Web.retrieveMultipleRecords request with the help of fetchxml but the result doesn't return nextLink.

var fetchXml = "<fetch version='1.0' output-format='xml-platform' mapping='logical' distinct='false' count='1'>" +

"<entity name='contact'>" +
"<attribute name='fullname' />" +
"<attribute name='telephone1' />" +
"<attribute name='contactid' />" +
"<order attribute='fullname' descending='false' />" +
"<filter type='and'>" +
"<condition attribute='lastname' operator='like' value='u%' />" +
"</filter>" +
"</entity>" +
"</fetch>";

var retrieveRecord1 = Xrm.Web.retrieveMultipleRecords("contact", "?fetchXml=" + encodeURIComponent(fetchXml), 1);

I have 3 contact records which satisfies above fetchxml but still I don't get nextLink using fetchxml. 

How to set Lookup Id after record creation in Ms CRM?

$
0
0

Step : 1.-  I have created Entities a. Hospital  b.Doctor c. Patient Above age 60 d. Patient Below age 60.

Step :2 - By calculating age of Patient , The Record should in Patient Above age 60 either Patient Below 60. 

Step :3 -  I have given  lookup  relationship of   Doctor in Hospital Entity, and evenly created for i have created Lookup Doctor in Patient Above 60 & Patient Below 60.

step :4  - Doctor Lookup should be Set in Patient Entities while creating record.

I have done up to Step 3, But I Stuck in Step 4.

Can i Please Give Me Suggestions. Thanks in Advance.

Cannot Create Field in Microsoft Dynamics CRM D365 Online

$
0
0

Dear All,

I cannot create fields in MSCRM, its offently saying mimium value cannot be null, even the value available in place

Exchange Rate Update Fix from Microsoft

$
0
0

Hi All,

I was having issue, when I update any field whether it is text box, lookup or anything else excluding currency fields. It will update exchange rate from currency by changing old one in the record. I faced this issue till Friday but now issue resolved automatically. Is there any fix applied from Microsoft?

Thanks 

Regards,

Abdul 

D365 CRM Migration

$
0
0

We have D365 CRM and wanted to migrate the solution form UAT environment to Production environment can any one help with the Sure Steps to manage thing deployment. 

We have done the development in the main solution and have multiple Java Scrips I guess this could be an issue?

Please help.

Viewing all 79901 articles
Browse latest View live


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