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

How to Achieve "One Click" Mailing Labels

$
0
0

Hi all,

Just wondering if there is a simple way to create a word template with repeating content.  More specifically, I have a custom entity with staff addresses that I need to run "snail mail" mailing labels for.  I want to be able to walk to a printer, load my label paper (each page with 3 columns of labels, 10 rows down, totaling 30 little sticker-labels per page), return to Dynamics at my desk, hit Word template from the current view to see a soft copy of the labels, and hit print.

Could this dream of one click mailing labels become a reality?  If so, please tell me how.

Thank you.

Momba


Alternate Key shows Pending State Forever

$
0
0

Hello Experts,

I have a development environment, on this environment we have defined an Alternate Key .

When exported a managed solution from dev environment and imported into the other environment, the Alternate Key stays in pending and it stays like that forever.

Also checking the System Job doesn't give much information.

Any help on this would be appreciated.

Thanks in advance.

Red circle error with '-2147220911' when adding products to orders

$
0
0

Running Microsoft Dynamics 365Version 1612 (8.2.2.1659) (DB 8.2.2.1659) online

When attempting to add an existing product to an order, I get an error (red cross) which then when you hover over it, it displays '-2147220911' in a small message window. I can write in products however still. Does anyone have an idea what is causing this?

Some additional info

- I have the same problem when attempting to add a product to an quote.

CRM Hyperlink Error

$
0
0

Hello!

In CRM 365 9.0 I saw a bug like this. 

The link is null when adding an email while sending an email in the workflow.

How can I go about solving this?

I am waiting for your support

Error message "Request message has unresolved parameters" when qualifying lead

$
0
0

Hi,

When i try to qualify a lead, i get the error message below

PS: it's a trial environment that i have just created

barcode

$
0
0

Barcode no longer appearing on form running on dynamics client. Both mobile and client options on. Running on laptop with camera enabled. Was working two days ago.

Begin to develop

$
0
0

Hi everyone,

I would like to begin to develop and extend CRM365 (and/or CRM2013). I have Visual Studio 2017 Community. How can I a connection between my System and VS2017 created? I don't know how to begin. Do you have any Website or tutorial which are good to begin?

I know that the CRM 2013 SDK is not compatible with VS2017. Of course I already modify and edit some webresources as JS or HTML with Notepad++. However I'm looking for a more global solution where I can access all web resources, plugin, ect...; edit them and synchronise them.

Thanks a lot,

Léo

Adding custom button on Crm portal

$
0
0

Hi all,

       Anyone know how to add custom button on the Custom Portal on top ribbon. I am new in Portal. I have just created a web page in Crm. Now when i hit the url in the address bar it navigate to the my webpage, but my requirement is already have a custom button in ribbon in portal so when i will click on that button it will navigate to my webpage, so i don't need to hit url everytime to go to my webpage

Thanks for your help


Could not load file or assembly 'Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified.

$
0
0

Hi there i have registered a plugin in crm dynamics 2016 it is using web api and getting the response from the server but it did not work.  i put profiling on so that i can debug it but when i click on the start execution it give me error .i have searched every where changed its assemblies .done upgrade and downgrade version of newtonsoft.json but all in vein .Kindly tell me the solution .it is regiesterd in none mode.

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Could not load file or assembly 'Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified.
Detail: <OrganizationServiceFault xmlns="schemas.microsoft.com/.../Contracts" xmlns:i="www.w3.org/.../XMLSchema-instance">
<ActivityId>00000000-0000-0000-0000-000000000000</ActivityId>
<ErrorCode>-2147220970</ErrorCode>
<ErrorDetails xmlns:a="schemas.datacontract.org/.../System.Collections.Generic">
<KeyValuePairOfstringanyType>
<a:key>CallStack</a:key>
<a:value i:type="b:string" xmlns:b="www.w3.org/.../XMLSchema"> at BRM.GetBVSHistroy.BvsHistroy.Execute(IServiceProvider serviceProvider)
at PluginProfiler.Library.PluginAppDomainProxy.ExecuteCore(Stopwatch watch, ProfilerExecutionReport report, Object instance, Object executionParameter)
at PluginProfiler.Library.AppDomainProxy.Execute(ProfilerExecutionConfiguration configuration, ProfilerExecutionReport report)</a:value>
</KeyValuePairOfstringanyType>
</ErrorDetails>
<Message>Could not load file or assembly 'Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified.</Message>
<Timestamp>2018-05-22T09:50:24.8394083Z</Timestamp>
<ExceptionSource i:nil="true" />
<InnerFault i:nil="true" />
<OriginalException i:nil="true" />
<TraceText i:nil="true" />
</OrganizationServiceFault>

Javascript to update sum of field values

$
0
0

Hi,
I am trying to sum up few field values and update it to a field through below javascript code. I have added this function in all fields (stl_cpdu1, stl_cpdu2, etc.)...Is this correct?

/Function to add all CPDUs values
function Event_Update_TotalCPDU ()
{
var CalculatedCPDU=
Xrm.Page.getAttribute("stl_cpdu1").getValue() +
Xrm.Page.getAttribute("stl_cpdu2").getValue() +
Xrm.Page.getAttribute("stl_cpdu3").getValue() +
Xrm.Page.getAttribute("stl_cpdu4").getValue() +
Xrm.Page.getAttribute("stl_cpdu5").getValue() +

//Set value for Total CPDU
Xrm.Page.getAttribute("stl_cpdu").setValue(CalculatedCPDU);
}

But, I am getting below error message in the form after entering the value.

@xxxx.xxx.dynamics.com/.../ClientApiWrapper.aspx line 157 > eval:1:1
RunHandlerInternal@xxxx.xxx.dynamics.com/.../ClientApiWrapper.aspx
RunHandlers@xxxx.xxx.dynamics.com/.../ClientApiWrapper.aspx
ExecuteHandler@xxxx.xxx.dynamics.com/.../ClientApiWrapper.aspx
$Ce_1@xxxx.xxx.dynamics.com/.../formcontrols.js
executeHandler@xxxx.xxx.dynamics.com/.../formcontrols.js
executeHandlerByDescriptor@xxxx.xxx.dynamics.com/.../formcontrols.js
getHandler/<@xxxx.xxx.dynamics.com/.../formcontrols.js
getHandler/<@xxxx.xxx.dynamics.com/.../global.ashx
fireOnChange@https:/XXXX.XXX.dynamics.com/_static/form/formcontrols.js?ver=-385382622:12178:13
setValueInternal@xxxx.xxx.dynamics.com/.../formcontrols.js
setValue@xxxx.xxx.dynamics.com/.../formcontrols.js
$3e_2@https:/XXXX.XXX.dynamics.com/_static/form/formcontrols.js?ver=-385382622:25826:9
Function.createDelegate/<@XXXX.XXX.dynamics.com/_static/_common/scripts/MicrosoftAjax.js?ver=-385382622:24:16
b@xxxx.xxx.dynamics.com/.../MicrosoftAjax.js

Thanks,
Praveen.

Multiple opportunities for a single lead

$
0
0

I have a requirement where a lead should be able to have multiple opportunities , have one single lead for an account and have multiple opportunities for it . Is there an effective approach to do this ? TIA

How to Debug a plugin on email?

$
0
0

Hi CRM World,

I have registered a plugin on CheckIncoming step for email entity. So whenever we receive an email into CRM my plugin gets triggered.

How do i debug my plugin? Though i turn on profiling for the CheckIncoming step, i cannot capture the log file which i need to load into plugin registration tool for debugging. Is there any alternative option to obtain this file so that i can debug my plugin?

Show hide tab based on user guid....

$
0
0

I have the following JavaScript setup to grab the users guid and then show/hide a tab on a form. However, even though I go through the debugger (hitting f12), it does pick up the user id which does match Kevin's below, it still hides the tab when it should be showing it.  Am I doing something wrong?

function UserShowHideOnLoad()
{
// Obtain the User Id from context of the page.
var userId = window.parent.Xrm.Page.context.getUserId();

// Check for user Id match
if (userId == "{c06a6ce4-942f-e011-8bb5-1cc1def1e4a9}"     // User – Lisa
   || userId == "{3faa4d2a-2fe6-e111-9709-0050568c0023}"   // User – Laura
   || userId == "{d3744355-f874-e611-80e9-005056a15f01}"   // User – Kevin
   )
{          
// Use setVisible(true) to DISPLAY section
Xrm.Page.ui.tabs.get("tab_DataServicesTeam").setVisible(true);
}
else
{
// Use setVisible(false) to HIDE section
Xrm.Page.ui.tabs.get("tab_DataServicesTeam").setVisible(false);
}
}

VoC: email response sender (from)

$
0
0

Hi guys and ladies,

I am facing the problem that email response got send from my admin account, under which I configured the survey. This account has no mailbox and so I am not able to get the automatic email response send after the customer completed the survey. Does anybody know if and how to set from which user the email response after completion gets send?

Thanks
Sven

CRM 365 Legacy Business Process Flow Security Role Dependency Handling Issue

$
0
0

Hi all,

Most of you know that there are big differences between 2016 BPF and 365 BPF, and one of them is the change of how to handle security role. It is fine if you create BPF in 365 but if you create BPF in 2016, (even for built-in BPF such as Lead to Opportunity Sale Process) as soon as you enable some custom security roles using "Enable Security Roles" button (this is replaced by "Edit Security Roles" in 365), and then migrate to 365, you will not be able to delete those security roles because CRM 365 thought the BPF still depend on these security roles EVEN THOUGH when open those security roles' "Business Process Flows" tab, those roles don't have any privilege to the BPF at all.

However, when I query the database, I found that the BPF's ProcessRoleAssignment field still have the old legacy references to the security roles ids and this may cause CRM 365 mistakenly think the BPF still depend on those security roles. And since the "Enable Security Roles" button is replaced, I cant no longer be able to remove those dependent security roles, therefore, they can't be deleted. The only way now is to use SQL query to update the ProcessRoleAssignment field.

Main question, is there other way to fix this issue without modifying database using query?

Thanks,

Sam


Update to 9.0 - Can't close Quotes or Opportunities

$
0
0

Hello,

Last night we received the 9.0 update in our production environment. Users are reporting they cannot close quotes/Opportunities. When trying to close the Quote they receive the below loading screen. This doesn't resolve after more than a 20 minute wait. Upon a refresh, the record is still open. Any help would be greatly appreciated. Thanks!

Error: occur on the Click of account [Service,Sales,Marketing ]

Can you change the color of completed activities in activity pane?

$
0
0

We received our 9.0 update last night. Users have complained on a change to activity feed where completed activities are no longer grayed out in comparison to open activities that are white. Is there a way for me to change the color of completed activities somehow, even if not grayed out, but some other visual notification?

Before completed tasks looked like so

And now they are all the same color background (white)

CRM Plugin Registration Tool Throws an Error After Unregistering and Reregistering Plugin

$
0
0

I tested my plugin in Visual Studio by attaching the PluginRegistrationtool.dll to the process which allowed me to step into my code. I made some changes to my plugin code in Visual Studio then I built it and made sure it ran fine. I then decided to unregister my plugin in the Plugin Registration tool instead of updating it.  Now when I try to register my plugin I get the following error:

 At this time Microsoft Dynamics 365 requires version 4.6.1 of the .NET Framework for plugin assemblies. Rebuild this assembly using .NET Framework version 4.6.1 and try again.

I did not change the version of the .Net Framework for my plugin so I don't know what the problem could be. Please help point out what the problem might be and how to fix it, thanks.

Unable to reach third party web api using Javascript

$
0
0

Hello All,

I  have a third party web API I need to verify whether its up or down by using JavaScript.

I tried with below code but no luck, can anyone please help me here:

var client = new XMLHttpRequest();
client.onreadystatechange = function () {
// in case of network errors this might not give reliable results
if (this.readyState == 4)
returnStatus(this, this.status);
}
client.open("GET", "https://google.com/", true);
client.send();

function returnStatus(req, status) {
debugger;
//console.log(req);
if (status == 200) {
alert("The url is available");
// send an event
}
else {
alert("The url returned status code " + status);
// send a different event
}
}

Thanks

Viewing all 46379 articles
Browse latest View live


Latest Images

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