Quantcast
Channel: Microsoft Dynamics CRM
Viewing all 71679 articles
Browse latest View live

Forum Post: RE: Security roles missing from Default Solution

$
0
0
Access Teams is not the root BU and that is the difference. Thanks Alex, I learned something new.

Forum Post: RE: Activate button in custom entity provides save mode 1 instead of 6

$
0
0
Oh I see that your version is Dynamics 365. I am currently in CRM 2016. Would that cause it to be any different?

Forum Post: RE: CRM 2011 - Import doesn't work

$
0
0
So I did a repair on CRM Server and now I can't browse the organizations from the deployment manager. I also cannot start the Async Process manually. I get an error. Here is the error log: Message when I try to browse an Org from Deployment Manager: "Cannot display webpage " Log: Host AQUECRM11S1: failed while starting monitoring asynchronous operations queue. Exception: System.TypeLoadException: Could not load type 'Microsoft.Xrm.Sdk.Workflow.ICustomActivityExecutionContext' from assembly 'Microsoft.Xrm.Sdk.Workflow, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. at Microsoft.Crm.Workflow.ActivityHostBase..ctor(ICrmServiceFactory crmServiceFactory, IWorkflowConfiguration configuration, ICrmEventLog eventLog) at Microsoft.Crm.Workflow.ActivityHost..ctor(ICrmServiceFactory crmServiceFactory, IWorkflowConfiguration configuration, Int32 maximumRetries, ICrmEventLog eventLog) at Microsoft.Crm.Asynchronous.WorkflowHandlerGroup.Start(AsyncService service) at Microsoft.Crm.Asynchronous.AsyncService.InitializeComponents() at Microsoft.Crm.Asynchronous.AsyncService.StartServiceComponents(Object state) I also tried restarting SQL Server but that didn't work.

Forum Post: Reset field value to the default optionset option with Javascript

$
0
0
In my quote form, I have a series of fields in a section that I need to clear based on an onChange event elsewhere on the form. For the most part, I have everything all ironed out, but I would like a few of the optionset fields to revert to the default value instead of getting set to null. Is there a way to set those to the default value without having to explicitly declare the default value for each field?

Forum Post: How to deactivate connections when the record is inactive?

$
0
0
I have a bunch of connections, and when I inactivate a record, the connections are still enabled. How can I have those connections deactivated when the record is inactive status?

Forum Post: Getting Business Process Error 'Unable to persist the profile.' on running custom workflow

$
0
0
Hi, In the application I work we create contact using a custom workflow, on demand basis. There is an admission form which provide many details, and on running custom workflow contact for that admission is created by taking few fields from the admission. Custom workflow is working when I run it with System admin role, I tried to run it with different role, which has privileges to Create and Write a contact. On run of the workflow I started getting this error as Business Process Error Unable to persist the profile. In the downloaded log Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: System.Web.HttpUnhandledException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #A58A8640Detail: -2147220970 System.Web.HttpUnhandledException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #A58A8640 2017-09-27T16:44:57.8948224Z -2147220891 Unable to persist the profile. 2017-09-27T16:44:57.8948224Z [Microsoft.Crm.ObjectModel: Microsoft.Crm.Extensibility.InternalOperationPlugin] [46f6cf4c-14ae-4f1e-98a1-eae99a37e95c: ExecuteWorkflowWithInputArguments] Starting sync workflow 'Create Client On Admission (Profiled)', Id: cfff1532-a1a3-e711-80df-005056a66c67 Entering CustomActivityStep1_step: Run Custom Workflow Sync workflow 'Create Client On Admission (Profiled)' terminated with error 'Unable to persist the profile.' I am trying to debug using plugin registration tool, but was not able to do the debugging as it doesn't register any error in the tool. Need help in resolving the issue. CRM is 2015version and is on IFD.

Forum Post: RE: The entity with a name = 'XXXXX' was not found in the MetadataCache.

Forum Post: RE: How to deactivate connections when the record is inactive?

$
0
0
Hello, You can either write code or use Cascade Status action for workflow from my Workflow Toolkit - github.com/.../v1.3.0.0

Forum Post: RE: Reset field value to the default optionset option with Javascript

$
0
0
Hi, You can create business rules .. depending on any condition. Thanks!

Forum Post: Could not load file or assembly 'Microsoft.Crm, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

$
0
0
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Crm, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Assembly Load Trace: The following information can be helpful to determine why the assembly 'Microsoft.Crm, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' could not be loaded. WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog]. Stack Trace: [FileNotFoundException: Could not load file or assembly 'Microsoft.Crm, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.] System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +0 System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +210 System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection) +242 System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +17 System.Reflection.Assembly.Load(String assemblyString) +35 System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +122 [ConfigurationErrorsException: Could not load file or assembly 'Microsoft.Crm, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.] System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +12521040 System.Web.Configuration.AssemblyInfo.get_AssemblyInternal() +202 System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +331 System.Web.Compilation.BuildManager.CallPreStartInitMethods(String preStartInitListPath, Boolean& isRefAssemblyLoaded) +148 System.Web.Compilation.BuildManager.ExecutePreAppStart() +172 System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +1151 [HttpException (0x80004005): Could not load file or assembly 'Microsoft.Crm, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +12642964 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +159 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +12482369 Please help.. Thanks in advance

Forum Post: RE: Opening and closing connection to CRM from web application

$
0
0
If you use the Crm Service Client, you can set it to use the IDisposable Interface: using (CrmServiceClient conn = new CrmServiceClient(creds, authType, internalUrl, "443", orgName, true, true, null)) { } The IOrganizationService does not implement the IDisposable Interface. Hope this helps.

Forum Post: RE: Reset field value to the default optionset option with Javascript

$
0
0
I think you might be able to get that value by using the getInitialValue method var defaultValue = Xrm.Page.getAttribute(osName).getInitialValue(); Xrm.Page.getAttribute(osName).setValue(defaultValue); Hope this helps.

Forum Post: RE: None of the associated views are working

$
0
0
First, make sure that the queries for the associated views are correct and designed to show the data that you are looking for. Also, where are you trying to see the associated views from?

Forum Post: RE: TEST API

$
0
0
I am not sure if you want your external vendors to access the CRM APIs directly. I would create an Azure API that provides them access only to the information that they need. In your Azure API application, you can connect to CRM OData4 endpoint/webapi, call the CRM methods and get the results back to your vendors. You can use CRM Rest Builder (which now has support for WebAPI), to get going with using WebAPI, and have the solution generate the APIs for you. Also download the SDK for samples on how to call system components from external applications. Hope this helps.

Forum Post: Multiple custom images in list view

$
0
0
My client wants to have custom images in a listview - which is easy to do when you follow the SDK-samples. However, the view has 5 columns that I need to do this for. Is it possible to do it with a generice function, they columns have the same values in the option set and display the same images OR do I have to write one function per column....? I can't tap into the "colname" attribute or access the colname from the rowData parameter, so this seems like the only way out. Sidenote: Looking at the roadmap, conditional images are expected to make it's way into the mix. Is the present solution with javascript just a temporary solution?

Forum Post: RE: CRM 2016 SP1.1 On-Prem to Dynamics 365 On-Prem: Heavy lift or NBD?

$
0
0
This update is pretty straight forward. It is a simple 8.1 to 8.2 Patch. There are quite a few differences, but your application will stay the same. There should not be any known issues with scripts/ribbon buttons/etc, and no major surprises, but you should take a look at your environment and see if you have any complexities that should be investigated. I did a few CRM 2016 to 365 In Place Upgrades, and have not had issues. Make sure you update also external components, and learn about future deprecations. If you are still using the Email Router or Outlook Client, this would be the last release for you to use them. They will both be deprecated in version 9 and 10. Hope this helps.

Forum Post: Hide Ribbon Button When the selected opportunity records are closed

$
0
0
I have this Ribbon button which enables when 2 records are selected. And clicking on the button will open a new record of another entity and I have also got a OnLoad Jscript for the entity which displays the two Selected Record in 2 lookup fields. But now I want to hide the button if one or both the opportunity records are closed. How can I modify the below JScripts. The below JScript is registered as an Action for the buttons Command. Also another Action which retrieves "sdk.rest". One Enable rule to enable button only when 2 records are selected. function OpenBlankUI(selectedIds) { var windowOptions = { openInNewWindow: true }; var parameters = {}; parameters["new_name"] = "Merge Opportunity"; //debugger; var opp1OppName = ""; var opp2OppName = ""; var loadForm = false; //first opportunity parameters["new_opportunity1"] = selectedIds[0]; ////Second Opportunity parameters["new_opportunity2"] = selectedIds[1]; Xrm.Utility.openEntityForm("new_oppdupe", null, parameters, windowOptions); }

Forum Post: RE: How to add notification in CRM Online?

$
0
0
You can do this (might look a little different though) by adding a javascript web resource, and in there adding a popup or other notification type that will be displayed to the user. Besides that, I don't think that currently there is any other resolution that you might be able to achieve these results with. Hope this helps.

Forum Post: Missing PSA Tile !

$
0
0
Hi All, I have valid MS CRM Online Professional license. Recently I purchased D365 PSA subscription. Even after assigning the licensing, I don't see PSA tile available for me in CRM ? But in Admin portal I see that PSA is enabled. Is there something I am missing ? Is there a way to enable PSA tile \ app ?

Forum Post: Pada

Viewing all 71679 articles
Browse latest View live


Latest Images

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