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

Forum Post: RE: How to auto-populate the lookup field depends on the selected- lookup

$
0
0
yes.. because even changing value to null might be triggering the webAPI call. It is better to do null check at every stage.

Forum Post: TypeError: Cannot read property '0' of null when the lookup field clear

$
0
0
So I have a Vendor name Lookup field and whenever I select a value for that it will fill the expense category lookup. So my problem is when I clear the Vendor Name lookup, I'm getting this error "TypeError: Cannot read property '0' of null at setExpenseCategorybasedonVendor". Already tried this clear the value of expense category lookup1.reset(); value.reset(); cse_expense_category_value.reset(); cse_expense_category_value.clear(); nullcse_expense_category_value.setValue(""); cse_expense_category_value.setValue(null); document.getElementById("cse_expense_category").reset(); document.getElementById("cse_expense_category").null(); document.getElementById("cse_expense_category").clear(); document.getElementById("cse_expense_category").setValue(""); document.getElementById("cse_expense_category").setValue(null); Xrm.Page.getElementById("cse_expense_category").reset(); Xrm.Page.getElementById("cse_expense_category").clear(); Xrm.Page.getElementById("cse_expense_category").null(); Xrm.Page.getElementById("cse_expense_category").setValue(""); Xrm.Page.getElementById("cse_expense_category").setValue(null); My full code function makeRequest(method, url) { return new Promise(function (resolve, reject) { var xhr = new XMLHttpRequest(); xhr.open(method, url); xhr.setRequestHeader("OData-MaxVersion", "4.0"); xhr.setRequestHeader("OData-Version", "4.0"); xhr.setRequestHeader("Accept", "application/json"); xhr.setRequestHeader("Content-Type", "application/json; charset=utf-8"); xhr.onload = function () { if (this.status >= 200 && this.status < 300) { resolve(xhr.response); } else { reject({ status: this.status, statusText: xhr.statusText }); } }; xhr.onerror = function () { reject({ status: this.status, statusText: xhr.statusText }); }; xhr.send(); }); } function setExpenseCategorybasedonVendor() { var lookup1 = Xrm.Page.getAttribute("cse_vendor_name").getValue()[0].id; var clientUrl = Xrm.Page.context.getClientUrl(); var query = clientUrl + "/api/data/v8.0/cse_vendormasters(" + lookup1.slice(1, -1) + ")?$select=_cse_expense_category_value"; makeRequest('GET', query) .then(function (res) { var res2 = JSON.parse(res); var guid = res2._cse_expense_category_value; var query2 = clientUrl + "/api/data/v8.0/cse_expensemasters(" + guid + ")? $select=cse_name"; makeRequest('GET', query2) .then(function (response) { var res3 = JSON.parse(response); var value = new Array(); value[0] = new Object(); value[0].id = guid; value[0].name = res3.cse_name; value[0].entityType = "cse_expensemasters"; if (lookup1 != null){ Xrm.Page.getAttribute("cse_expense_category").setValue(value); Xrm.Page.getControl("cse_expense_category").setFocus(); Xrm.Page.getControl("cse_amount").setFocus(); } else{ Xrm.Page.getElementById("cse_expense_category").clear(); } }) .catch(function (err) { console.error('there was an error!', err.statusText); }); }) .catch(function (err) { console.error(' there was an error!', err.statusText); }); }

Forum Post: RE: Sub Grid - Get Add New to create record or hide Lookup

$
0
0
Hey All... trying to get Ribbon Workbench working so I can edit the command bar. But I just get the following error when I try to use a solution.. new one too and even on a virgin new Org as a test. Any help please peeps... Just did a regular on-premise install... Server stack trace: at System.ServiceModel.Channels.CommunicationObject.ThrowIfDisposedOrImmutable() at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at System.ServiceModel.ICommunicationObject.Open() at Microsoft.Crm.Sandbox.SandboxClientBase`1.Open() at Microsoft.Crm.Sandbox.SandboxClientBase`1.get_Proxy() at Microsoft.Crm.Sandbox.SandboxCallbackService.ProcessException(Exception e, SandboxSdkClient client) at Microsoft.Crm.Sandbox.SandboxOrganizationService.Execute(String operation, Byte[] serializedRequest) at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs) at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg) Exception rethrown at [1]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at Microsoft.Crm.Sandbox.ISandboxOrganizationService.Execute(String operation, Byte[] serializedRequest) at Microsoft.Crm.Sandbox.SandboxOrganizationServiceWrapper.ExecuteInternal(OrganizationRequest request) at Microsoft.Crm.Sandbox.SandboxOrganizationServiceWrapper.RetrieveMultipleInternal(QueryBase query) at RWB2016.Plugins.RibbonCustomisationsPlugin.GetSolutionRecord(LocalPluginContext localContext, String solutionUniqueName) at RWB2016.Plugins.RibbonCustomisationsPlugin.GetSolutionDetails(LocalPluginContext localContext, ITracingService trace, String inputData) at SparkleXrm.Plugins.Plugin.Execute(IServiceProvider serviceProvider) Stack Trace: Error: at Xrm_Sdk_OrganizationServiceProxy$endExecute (:5555/MyOrganisationName/%7B636242554040000079%7D/WebResources/rwb_/js/ClientUI.js:4673:13) at Anonymous function (:5555/MyOrganisationName/%7B636242554040000079%7D/WebResources/rwb_/js/ClientUI.js:19463:5) at delegate (:5555/MyOrganisationName/%7B636242554040000079%7D/WebResources/rwb_/js/ClientUI.js:2223:13) at xmlHttpRequest.onreadystatechange (:5555/MyOrganisationName/%7B636242554040000079%7D/WebResources/rwb_/js/ClientUI.js:4723:25) Trace: [RWB2016.Plugins: RWB2016.Plugins.RibbonCustomisationsPlugin] [ac49cdfa-aeef-e611-81d5-0800278d9765: Ribbon Workbench Action] Entered RWB2016.Plugins.RibbonCustomisationsPlugin.Execute(), Correlation Id: 3c465c94-a366-44ea-a659-74084d7275d1, Initiating User: 336f45d2-6ef0-e511-80c0-00155d00f300 RWB2016.Plugins.RibbonCustomisationsPlugin is firing for Entity: none, Message: rwb_CustomiseRibbon, Correlation Id: 3c465c94-a366-44ea-a659-74084d7275d1, Initiating User: 336f45d2-6ef0-e511-80c0-00155d00f300 Reading operation Running method Exception: System.ServiceModel.CommunicationObjectFaultedException: The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state. Server stack trace: at System.ServiceModel.Channels.CommunicationObject.ThrowIfDisposedOrImmutable() at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at System.ServiceModel.ICommunicationObject.Open() at Microsoft.Crm.Sandbox.SandboxClientBase`1.Open() at Microsoft.Crm.Sandbox.SandboxClientBase`1.get_Proxy() at Microsoft.Crm.Sandbox.SandboxCallbackService.ProcessException(Exception e, SandboxSdkClient client) at Microsoft.Crm.Sandbox.SandboxOrganizationService.Execute(String operation, Byte[] serializedRequest) at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs) at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg) Exception rethrown at [1]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at Microsoft.Crm.Sandbox.ISandboxOrganizationService.Execute(String operation, Byte[] serializedRequest) at Microsoft.Crm.Sandbox.SandboxOrganizationServiceWrapper.ExecuteInternal(OrganizationRequest request) at Microsoft.Crm.Sandbox.SandboxOrganizationServiceWrapper.RetrieveMultipleInternal(QueryBase query) at RWB2016.Plugins.RibbonCustomisationsPlugin.GetSolutionRecord(LocalPluginContext localContext, String solutionUniqueName) at RWB2016.Plugins.RibbonCustomisationsPlugin.GetSolutionDetails(LocalPluginContext localContext, ITracingService trace, String inputData) at SparkleXrm.Plugins.Plugin.Execute(IServiceProvider serviceProvider), Correlation Id: 3c465c94-a366-44ea-a659-74084d7275d1, Initiating User: 336f45d2-6ef0-e511-80c0-00155d00f300 Exiting RWB2016.Plugins.RibbonCustomisationsPlugin.Execute(), Correlation Id: 3c465c94-a366-44ea-a659-74084d7275d1, Initiating User: 336f45d2-6ef0-e511-80c0-00155d00f300

Forum Post: RE: How to auto-populate the lookup field depends on the selected- lookup

Forum Post: RE: How do I get a key for Data Loader for CRM?

$
0
0
Hi mdschock, As prt33k said, no key is needed for the Data Loader service. But to add to that, the service has been available globally since Dec 2015: blogs.msdn.microsoft.com/.../data-loader-december-release-notes Regards, Sean

Forum Post: RE: Can @MSDynamicsCRM be automated through HPSoftware #QTP?

$
0
0
Hi Gaurav, Thanks for your post. Can you please clarify what level of automation you have done using MS Dynamics CRM and have you faced any challenge in your real life project using UFT. I need to automate completely end to end using UFT hence, would like to clarify if you have faced any challenges while using UFT. Also, any suggestions or thoughts will be highly appreciable. Many thanks in advance. Thanks, Vinesh

Forum Post: CRM 2011 Organization import

$
0
0
Can we import an Organization unit of size 3.1 TB into CRM 2011 instance by deployment manager? Will the Application hangs? If no, what is other way to import this huge amount of organization unit into newly installed CRM 2011 instance? Regards , Raj

Forum Post: Return ActivityParty PartyId related entity using FetchXML

$
0
0
Hi I'm working on an Data Vault project and need to bring in the ActivityParty table. My problem is that each PartyId could have come from a different entity. I need to know which Entity that PartyId comes from. i.e. Is it a contact or an account ? There is probably a property that could be used. Does anyone know what I should add to the following FetchXML to add the entity that provided the partyid/partyname ? Thanks, Jason

Forum Post: RE: From where i can check my undelivered Mails

$
0
0
Nice. :) Thanks for the suggestion, Neeraj.

Forum Post: RE: dynamics crm 2016 does not send any email

$
0
0
The test messages got through but sending a message to a yahoo or Hotmail don't? Other than the "Delivery has failed" error, do you see any other error?

Forum Post: RE: Build vs Buy CTI Integrtaion Adapters for USD

$
0
0
I agree with Max, it really depends on what demands you're looking at. You need to evaluate the pros and cons based on the factors like budget, user, scope and volume to name few.

Forum Post: RE: CRM CTI integration

$
0
0
Hi Nagarajan. I'd recommend Tenfold as well, I saw your post last year and jenny's recommendation. I tried the free trial and it works great for what I need to achieve. Just in case that you haven't found a solution to this question yet, you can try Tenfold first. Here you go. www.tenfold.com/.../dynamics

Forum Post: RE: Help with CTI Functionality

$
0
0
Hi Sreekanth. I'd recommend Tenfold as well, I saw your post last year and jenny's recommendation. I tried the free trial and their click to dial functionality works great for me. Just in case that you haven't found a solution to this yet, why not try a third party CTI adapter like Tenfold first. Here you go. www.tenfold.com/.../dynamics

Forum Post: RE: Dynamic USD integration with Qgate CTI

$
0
0
Hi Dipali. Have you created a custom CTI adapter or you're planning to use OOB? Can you share more details? Thanks!

Forum Post: RE: Unified Service Desk for CRM 2015 Online - CTI Simulator using Generic Listener Adapter

$
0
0
Hi all! I've been following this thread but no further resolution was provided. The last that I read was the "Send to USD" error scenario. Can anyone update what happens next? Thanks in advance!

Forum Post: RE: I3 connectivity to Dynamics CRM 2015

$
0
0
Hi Mr Preview. Thank you for the update on this. :)

Forum Post: RE: Can I answer a Lync/Skype call via code?

$
0
0
Hi, Marjorie. How are things? I have a friend who'd want the same function, could you update if this was resolved? Thanks!

Forum Post: RE: Embed a External win32 application to USD (Unified Service Desk)

$
0
0
Hi. How are things? I agree with Srikanth, Skype forums would be best place to start your investigation.

Forum Post: RE: Using Unified Service Desk controls to orchestrate SAP

$
0
0
Hi Jacob. Based on your requirements, I think it would be easier if you'd go for a third party CTI instead. A screen pop-up or floating UI is one of Tenfold's main feature. Here you go. www.tenfold.com/.../dynamics

Forum Post: RE: What background is required to learn MS CRM developer?

$
0
0
thanks friends for all your help on this. Let me start learning Javascript and C# first and will move in to CRM.
Viewing all 71679 articles
Browse latest View live


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