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

Forum Post: RE: CRM plugin : Request for the permission of type 'System.Net.WebPermission, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed

$
0
0
Hi Keyur, I updated to .net framework 4.6.2 and i added Microsoft.Xrm.sdk dll and Microsoft.crm.sdk.proxy dll from new sdk downloading using nugget packages. I'm getting following error when i tried to register the assembly using plugin registration tool. This plugin assembly uses version 4.6.2 of the .NET Framework. At this time Microsoft Dynamics 365 requires version 4.5.2 of the .NET Framework for plugin assemblies. Rebuild this assembly using .NET Framework version 4.5.2 and try again. when i change framework back to 4.5.2 i'm able to register the plugin. I'm not able to get the required output. Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: This plugin assembly uses version 4.6.2 of the .NET Framework. At this time Microsoft Dynamics 365 requires version 4.5.2 of the .NET Framework for plugin assemblies. Rebuild this assembly using .NET Framework version 4.5.2 and try again. Detail: 4f65c1cf-93a4-4f1e-a5da-35db56b0a73b -2147204597 ApiExceptionSourceKey Plugin/Microsoft.Crm.ObjectModel.PluginAssemblyService ApiOriginalExceptionKey Microsoft.Crm.CrmException: This plugin assembly uses version 4.6.2 of the .NET Framework. At this time Microsoft Dynamics 365 requires version 4.5.2 of the .NET Framework for plugin assemblies. Rebuild this assembly using .NET Framework version 4.5.2 and try again. ---> Microsoft.Crm.CrmException: This plugin assembly uses version 4.6.2 of the .NET Framework. At this time Microsoft Dynamics 365 requires version 4.5.2 of the .NET Framework for plugin assemblies. Rebuild this assembly using .NET Framework version 4.5.2 and try again. at Microsoft.Crm.ObjectModel.TargetFrameworkVersionValidator.ValidateInternal() at Microsoft.Crm.ObjectModel.PluginValidatorBase.Validate() at Microsoft.Crm.ObjectModel.PluginAssemblyServiceInternal`1.ValidateAssemblyMetadata(ExecutionContext context, IBusinessEntity pluginAssembly, CrmPluginAssemblyMetadata assemblyMetadata) at Microsoft.Crm.ObjectModel.PluginAssemblyServiceInternal`1.VerifyRegistrationAbility(IBusinessEntity pluginAssembly, Boolean createCall, ExecutionContext context, CrmPluginAssemblyMetadata assemblyMetadata) at Microsoft.Crm.ObjectModel.PluginAssemblyServiceInternal`1.ValidateOperation(String operationName, IBusinessEntity entity, ExecutionContext context) at Microsoft.Crm.ObjectModel.SdkEntityServiceBase.UpdateInternal(IBusinessEntity entity, ExecutionContext context, Boolean verifyAction) at Microsoft.Crm.ObjectModel.PluginAssemblyServiceInternal`1.Update(IBusinessEntity entity, ExecutionContext context) --- End of inner exception stack trace --- at Microsoft.Crm.Extensibility.VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context) at Microsoft.Crm.Extensibility.PipelineInstrumentationHelper.Execute(Boolean instrumentationEnabled, String stopwatchName, ExecuteWithInstrumentation action, PipelineExecutionContext context) at Microsoft.Crm.Extensibility.Pipeline.<>c__DisplayClass2_1. b__0() ApiStepKey a0cdbb1b-ea3e-db11-86a7-000a3a5473e8 ApiDepthKey 1 ApiActivityIdKey 4f65c1cf-93a4-4f1e-a5da-35db56b0a73b ApiPluginSolutionNameKey System ApiStepSolutionNameKey System This plugin assembly uses version 4.6.2 of the .NET Framework. At this time Microsoft Dynamics 365 requires version 4.5.2 of the .NET Framework for plugin assemblies. Rebuild this assembly using .NET Framework version 4.5.2 and try again. 2018-11-23T21:08:40.1398219Z false 4f65c1cf-93a4-4f1e-a5da-35db56b0a73b -2147204597 This plugin assembly uses version 4.6.2 of the .NET Framework. At this time Microsoft Dynamics 365 requires version 4.5.2 of the .NET Framework for plugin assemblies. Rebuild this assembly using .NET Framework version 4.5.2 and try again. 2018-11-23T21:08:40.1398219Z false Server stack trace: at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc) at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) Exception rethrown at [0]: at Microsoft.Crm.Tools.Libraries.RegistrationHelper.UpdateAssembly(CrmOrganization org, String pathToAssembly, CrmPluginAssembly assembly, PluginType[] type) at Microsoft.Crm.Tools.AssemblyRegistration.PluginRegistrationViewModel.btnregisterClick( Thanks for your suggestion.

Forum Post: RE: How to setup TypeScript in my Visual Studio project using CRM

$
0
0
Hope this might help you www.youtube.com/watch

Forum Post: RE: Restrict user to Assign the Case to other Users but he should able to Assign the case to himself or to other BU/ Team

$
0
0
Hi Shiva, this is possible using Out of Box functionality. Use a Real time workflow for each condition. Good thing of Owner field is it can be either a owning user or owning Team, and you can take advantage of it in your IF condition. trigger the workflow on "Record is assign" 1. If owner = Modified by, stop workflow as succeeded 2. If owner != Modified by, stop workflow as cancelled (you can add a message in there to let user know he can't do it) 3. If owner = Owning Team, stop workflow as cancelled saying you can't assign to a team Using cancel will not save/assign Hope this helps to resolve your issue without using custom code. Thank you

Forum Post: RE: Restrict user to Assign the Case to other Users but he should able to Assign the case to himself or to other BU/ Team

$
0
0
You can also improve the IF condition by checking Owners BU

Forum Post: RE: Users no longer able to pin a dashboard?

$
0
0
Hi Michelle, please check these articles, you might find them useful. Thank you www.powerobjects.com/.../what-to-do-when-set-as-default-button-for-dashboards-disappears www.crmsoftwareblog.com/.../managing-system-views-dashboards-dynamics-365

Forum Post: RE: Cannot Update Closed or Cancelled Activity

$
0
0
Thanks Raviteja, but I have just tested the Excel import and it did not work. I got the message "Could not update the object because it is read only".

Forum Post: RE: How to create power-bi individual reports for users?

$
0
0
I have created a powerbi report and I want to use it's embed url but I want to make it private so that it can't be accessed publicly, only can be used from my tenant. I don't want to create crm dashboard for the report. Just want to use embed url and will be loaded by iframe. How to achieve this task?

Forum Post: RE: Emails not entering queue

$
0
0
At the previous posters have mentioned, you need to make sure the Mailbox is approved, tested and enabled. If the Incoming Email Status does not say "Success" then the Queue isn't going to work. (Remember, for D365 online, a Global Admin must approve mailboxes.) When configuring the Queue, I recommend setting the "Convert Incoming Email to Activities" = "All email messages" as a starting point. You can change it to another setting once you get it working. Using the "All email messages" setting will ensure that all emails inbound to the queue are created as queue items. Also ensure the "Incoming Email" value is the same email address as the one assigned to the mailbox. If things still aren't working after you configure this, try Rejecting the email for the Queue and then Approving it again.

Forum Post: RE: automatically track email to team

$
0
0
I replied to a similar problem in this post: community.dynamics.com/.../224027 In short, make sure the email is approved, the Queue is set to "all email messages" and configured with the correct email addresses. Also try rejecting and re-approving the email queue email address.

Forum Post: RE: Cannot Update Closed or Cancelled Activity

$
0
0
I was pretty sure I've done this in the past (CRM2011) with an on-demand workflow...so I tried it again in D365 online (V9.1) and was able to update a previously closed Phone Call record. Here's the before shot: Here's the after shot (same record after being updated by the workflow): And here's the workflow: Only thing you won't be able to do is change an Email activity using this method...that's a whole different story.

Forum Post: RE: Edit route form

$
0
0
Unfortunately it's not possible to customize those pop-up forms to add your own text.

Forum Post: RE: can we add html control on ribbon button and get the input from html control and put that in particular field if yes then got problem as following i have present let see!

$
0
0
Hi Nitesh Devghare, As per your subject question first of all it's not possible to add HTML control over ribbon. In case of user input you can use js action on button click and easily put value into particular field.

Forum Post: RE: Control UTC time in server side

$
0
0
Hi Sahara, I believe your instance server is in another country and hence you are getting value of that timezone. Please do refer following code for your reference that you can use to return your timezone code in c#. public int? RetrieveCurrentUsersSettings(IOrganizationService service) { QueryExpression queryExpression = new QueryExpression("usersettings") { ColumnSet = new ColumnSet(new string[] { "timezonecode" }) }; FilterExpression filterExpression = new FilterExpression(); filterExpression.Conditions.Add(new ConditionExpression("systemuserid", ConditionOperator.EqualUserId)); queryExpression.Criteria = filterExpression; Entity currentUserSettings = service.RetrieveMultiple(queryExpression).Entities[0].ToEntity (); return (int?)currentUserSettings.Attributes["timezonecode"]; } public DateTime RetrieveLocalTimeFromUTCTime(DateTime utcTime, int? timeZoneCode, IOrganizationService service) { DateTime localTime; if (timeZoneCode.HasValue) { LocalTimeFromUtcTimeRequest localTimeFromUtcTimeRequest = new LocalTimeFromUtcTimeRequest() { TimeZoneCode = timeZoneCode.Value, UtcTime = utcTime.ToUniversalTime() }; localTime = ((LocalTimeFromUtcTimeResponse)service.Execute(localTimeFromUtcTimeRequest)).LocalTime; } else { localTime = DateTime.Now; } return localTime; } ttidbit.blogspot.com/.../crm-timezone-codes.html

Forum Post: RE: Fetch XML n:n relationships

$
0
0
Hi I created this generic method of getting NN records in Dynamic CRM, but I am further using another method to clean out the duplicate records. http://vjcity.blogspot.com/2018/11/fetch-marketing-list-of-campaign-with-c.html

Forum Post: RE: Create FetchXML for N:N relationship (account,account)

$
0
0
Hi I created this generic method of fetching NN records in Dynamic CRM http://vjcity.blogspot.com/2018/11/fetch-marketing-list-of-campaign-with-c.html

Forum Post: RE: How to get N:N relation records in C#

$
0
0
Hi I created this generic method of fetching NN records in Dynamic CRM http://vjcity.blogspot.com/2018/11/fetch-marketing-list-of-campaign-with-c.html

Forum Post: RE: can we add html control on ribbon button and get the input from html control and put that in particular field if yes then got problem as following i have present let see!

$
0
0
Hi Nitesh, What you are trying to achieve is wrong , Can you please tell what exactly your requirement. Why you want to add HTML in the ribbon? ribbon is used for specifically to add button only. You have forms and there you can add easily your HTML and then using ribbon work bench create button and call your JS function , You can access form html input text from ribbon action as well. Check here below reference - How to add webresource in the forms- crmbook.powerobjects.com/.../html-web-resources Accessing web resource control- alagunellaikumar.blogspot.com/.../access-html-webresource-control-from.html

Forum Post: RE: how to copy existing elements in N:N relationship

$
0
0
Hi I created this generic method of fetching NN records in Dynamic CRM http://vjcity.blogspot.com/2018/11/fetch-marketing-list-of-campaign-with-c.html

Forum Post: RE: Edit route form

$
0
0
Hi , You can not change this forms , alternatively you can create your own custom forms and open the form from custom ribbon button click then apply your custom logic.

Blog Post: Power BI and Microsoft Dynamics 365

$
0
0
Listing down the posts on Power BI and Microsoft Dynamics 365 for quick reference Power BI with Dynamics 365 CE – Creating Power BI Report Power BI with Dynamics 365 CE – Publishing Power BI Report to the web Power BI with Dynamics 365 CE – Refreshing the Dataset Power BI with Dynamics 365 CE – Dynamics 365 … Continue reading "Power BI and Microsoft Dynamics 365"
Viewing all 137182 articles
Browse latest View live


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