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

Negative OptionSet value

$
0
0

Hello, 

I have a question regarding OptionSet Value

We are using API to connect Dynamics and importing data to our system,

It is obvious that OptionSet value should be a positive number but we received -1 as OptionSet Value.

We know it is an invalid value and it should be ignored and consider as null.

My question is,

where this value comes from . how it was populated. is there and special scenario that Dynamic fill option set with -1

I appreciate your help in advance


Mscrm.InternalUtilities.JSTypes.isNull is undefined

$
0
0

Hi All,

I have a javascript function. In this function, it will call "Mscrm.LeadCommandActions.qualifyLeadQuick();". But when I am debugging, it pops up an error "Mscrm.InternalUtilities.JSTypes.isNull is undefined." This function is working in on primise, now I need to make it works in 365 online. Is the javascript library different between on primise and online version?

function leadQualify(formContext) {
    try {
        debugger;
        var LeadId = formContext.data.entity.getId();
        Mscrm.LeadCommandActions.qualifyLeadQuick();
        .
        .
        .
    } catch(ex) {
        alert('JavaScript Error In processLeadQualify:' + ex.description);
    }
}

Type.registerNamespace("Mscrm");
Mscrm.LeadCommandActions = function() {}
;
Mscrm.LeadCommandActions.qualifyLeadQuick = function() {
    Mscrm.LeadCommandActions.qualifyLeadAs(-1)
}
;
Mscrm.LeadCommandActions.qualifyLeadAs = function(qualifyStatus) {
    if (Mscrm.InternalUtilities.JSTypes.isNull(Xrm.Page.data.entity.getId()))
        return;
.
.
.
.
.
.

Error on qualifying a Lead - Cannot read property 'setValue' of null

$
0
0

On qualifying a lead to a case, information is copied to the Contact and the Case. But every time I qualify, I get this error: Cannot read property 'setValue' of null.  It's strange as the case is created and the updates are there, however, I suspect that one of the fields is not actually being set or updated.  How can I find out what field this is?  The error log is as follows:

TypeError: Cannot read property 'setValue' of null
at Object.success (crm.harboursport.co.nz/.../hs_ReferralJSLibrary
at o (crm.harboursport.co.nz/.../hs_jQueryLib
at Object.fireWith [as resolveWith] (crm.harboursport.co.nz/.../hs_jQueryLib
at w (crm.harboursport.co.nz/.../hs_jQueryLib
at d (crm.harboursport.co.nz/.../hs_jQueryLib
at Object.send (crm.harboursport.co.nz/.../hs_jQueryLib
at Function.ajax (crm.harboursport.co.nz/.../hs_jQueryLib
at ShowSelectedContactDetails (crm.harboursport.co.nz/.../hs_ReferralJSLibrary
at eval (eval at RunHandlerInternal (crm.harboursport.co.nz/.../ClientApiWrapper.aspx, <anonymous>:1:1)
at RunHandlerInternal (https://crm.harboursport.co.nz/form/ClientApiWrapper.aspx?ver=-904332278:157:1)

Thank you!

Dynamics 365 App for Outlook Relevance Search Javascript error

$
0
0

Hi all,

Is anyone else getting this script error when trying to click relevance search on the Dynamics 365 app for outlook? So steps to recreate is just open Dynamics 365 app for outlook on a email and then click the relevance search button:

I then get this error:

The actual error says:

Loading chunk 149 failed. (missing: reckon.crm6.<ourcrminstancename>.com/.../searchpage.js
Spoke with support and they said for me to disable that javascript. I'm fairly certain I did not create that javascript library. Also it's missing so I'm not sure if I can find it or not.
Today

plugin doesn't get profiled and no executions are visible in 'Replay Plugin Execution'

$
0
0

Hello,

I have a plugin which I could debug before I updated it.

Now when I install a profiler on the plugin and perform the steps I can see nothing in the "Replay Plugin Execution".

What might be the issue ?

Import solution failed with message: The behavior of this field was changed. You should review all the dependencies of this field, such as business rules, workflows, and calculated or rollup fields, to ensure that issues won't occur. Attribute: mssh_pu

$
0
0

When I import a solution. It failed with message: The behavior of this field was changed. You should review all the dependencies of this field, such as business rules, workflows, and calculated or rollup fields, to ensure that issues won't occur. Attribute: mssh_pulseactivedate. 

mssh_pulseactivedate is a field of a table. 

Could someone give some advice? Thanks.

Setting up a callback process

$
0
0

Hi 

I am volunteering for a charity member organisation who (along with me) is very new to Dynamics CRM.
We have a website integrated to our CRM for new member registration and donations.  
Though, due to COVID changes we are looking to set up a call routing system so if nobody is in the office, members can register a callback via the website. 
Also, if a member calls, but can't get to a specific expert, the person taking the call can register a callback activity. 
Naturally the callbacks should be categorised so they can be automatically assigned to specific staff and volunteers.

Can anyone in the community please suggest an option to manage this process?

Plugin type not found in plugin assembly which has a total of 0 plugin/workflow activity types

$
0
0

I want to change code in a plugin which is build by a third-party and later adjusted by an external freelancer. 
When I update the unadjusted .dll file in the plugin registration tool, it is able to update. 

However, from the moment that I open the solution in VS studio, (re)build the solution and try to update the assembly with the new .dll file, I get the error as shown below:

The solution was first under source control, which gave an error when opening visual studio. That is fixed by this issue:
https://social.msdn.microsoft.com/Forums/officeocs/en-US/fa861393-5996-48fa-a2ef-14bed0bd2b74/how-to-remove-a-solution-from-source-control

However, I still get this error message. I contacted the freelancer who worked previously on this project, and he can't find a solution either.

So far I have tried to 
- Set 'Copy local' for Microsoft.Xrm.SDK and Microsoft.Xrm.Sdk.Proxy to false
- Register solution with a different version number 

Both still gave the same error. Hopefully any of you can help me out. 


DevOps branching strategy

$
0
0

Hi All,

I wanted to know if there are guidane available on how to do branching in devops for meduim to enterprise level projects.

I am interested in knowing difference between 2 vs 3 layer branching approach.

2 Layer includes: Dev and Main

3 Layer includes: Dev, Main and Release.

Please help me in getting pros and cons of both so that i can decide which one to use for my project.

Any links, whitepapers and blogs would be really helpful.


Thanks

Relevance search for field under security profile

$
0
0

Hi,

i enabled Relevance Search for my sandbox instance. Under the default solution i added Account table and into the quick find view i configured emailaddress1 and telephone1 as find column and exposed them on the view.

For both the columns exists a Field security profile and my user is enabled for view them.

When i search a value (es: "test@test.it") that exists into the column of the table, relevance search didn't return any record.

Did any one experienced the same issue?

Regards,

Ripamonti Giorgio

Unable add a price list item to a product

$
0
0

Hi guys!

I have a problem adding a price list item to a product.

When I am creating a product, I add a price list and all the required information. I try to add a price list item but the add button is not there, I only get these options (image)

Any idea why this happened? By the way I've system administrator role.

I really appreciate your help

Regards

IBM P8 (onprem) integration with D365 (cloud)

$
0
0

Anyone have any experience integrating these two?

Would like to be able to call and display documents from onprem P8 to D365 cloud.

Info on CMIS

www.ibm.com/.../5.2.0

Plugin update message get status

$
0
0

Hi,

I need some help figuring this out.

I am writing a plugin which is on update message post operation. Triggering attribute is a two options field.   

I am trying to check for the status of the record that it is triggered on before letting it to run the rest of the code. So, I was wondering is there a way to know the status of the record other than selecting status specifically from filtering attributes? Because, I don't want the plugin to be triggered on status change. I tried post image as well, but I am not getting Status in the image for some reason while I get other fields fine. Which is causing some confusion to me in understanding how to get the Status of the record. 

Thanks for any help! 

How to export all activities, emails, notes, opportunities from Dynamics 365

$
0
0

Hi, We need to export not just contacts, accounts, and opportunities, but all the details attached to them. For example, if an account has opportunities attached, I would need that to show as well and also be able to drill into the opportunities to see the correspondences, activities, etc.

Is there a simple way to do this? I basically want any and all information for each of these objects/entities.

Thank you,

Rachel

Does a customer get removed from portal if I deactivated them in Dynamics 365

$
0
0

Hi All

I was just wanting to know when I deactivate a customer from Dynamics 365 does that mean they will not have access to the portal or do I need delete them in order for them to no longer have access to the portal  


Calculating Total Tax on Quotes

$
0
0

Hi there,

The scenario is that we just have tax on quote and also we may not have it. I created a decimal field the has the percent of the tax that may be 0 or 9. I wrote a code to calculate a replace the total tax , but it doesn't work. What's the point.

        public string IntenalExcuter(IOrganizationService orgsrv, EntityReference quote)
        {

            Entity quoteEnt = orgsrv.Retrieve(quote.LogicalName, quote.Id, new ColumnSet("totallineitemamount","totaltax","new_taxpercent", "new_customtax"));
            string message = "";
            Entity updateEntity = new Entity(quote.LogicalName);
            updateEntity.Id = quote.Id;
            decimal totallineitemamount = quoteEnt.GetAttributeValue<Money>("totallineitemamount").Value;
            decimal taxpercent = quoteEnt.GetAttributeValue<decimal>("new_taxpercent") / 100;
            decimal amount = totallineitemamount * taxpercent ;
            updateEntity["new_customtax"] = new Money(amount);
            updateEntity["totaltax"] = new Money(amount);
            try
            {
                orgsrv.Update(updateEntity);
            }
            catch (Exception e)
            {

                message= e.Message;
            }

            return message;
        }

Best Regards

Sam

plugin error Unable to cast object of type 'Microsoft.Xrm.Sdk.Entity' to type 'SmsPlugins.ActivityParty'.

$
0
0

Hi,

I am trying in plugin to read "To" field value , but get exception:

"plugin error Unable to cast object of type 'Microsoft.Xrm.Sdk.Entity' to type 'SmsPlugins.ActivityParty'."

My code:

Guid contactId = GetContactId(target.To);

private Guid GetContactId(IEnumerable<ActivityParty> to)
{
foreach (var contact in to) //An error is thrown at this line
{
if (contact.PartyId.Id != null)
{
return contact.PartyId.Id; 
}
}

People suggest to add:

_serviceProxy.EnableProxyTypes();

but I in plugin so I am not creating serviceProxy because I have IServiceProvider.

Any idea what can I do?

Thanks!

How do I Create a SLA to Send Email When a Specific Date is reached??

$
0
0

Hi,

Please explain how do I use CRM SLA to send email when (when Current/today Date=Date in the field in the current record) is reached.

This is urgent.

Thanks

Add custom dropdown to list view from Sitemap.

$
0
0

Working on adding two drop down to initial list view for entity from sitemap.

Is there  way to add custom dropdown lists to the main entity list from sitemap. here is mockup of desired result


Align HTML Web Resource Text to Bottom of Row

$
0
0

I have several HTML web resources within a section acting as titles. However, the title is aligned to the top of the row that the web resource is in, making it closer to the previous sub-section than the sub-section it's titling:

I tried using a flexbox but the div and span that's in is inside a section of HTML I can't edit:


Any thoughts on how to get these to align to the bottom?

Viewing all 46379 articles
Browse latest View live


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