Anybody have a dependent picklist system that works in UR 12 on other browsers? The one I'm using works in IE on UR12 but not in any other browser (undefined error)
Dependent picklist problem UR12
Debugging Javascript in Firefox and Chrome
Hi,
I'm having a complete nightmare trying to debug some Javascript that is working in IE but not in Firefox and Chrome. This is CRM online, R12 (Polaris) with cross browser support.
In terms of functionality what I'm trying to achieve is to add Contacts to an Event (custom entity), so:
- I added a button to the homepage ribbon for Contacts (i.e the list of contacts).
- When the button is clicked it opens a lookup which allows me to chose a single event (which is a custom entity).
- Once an event is chosen the Javascript code calls the web service, once for each contact, using an AssociateRequest to create a relationship between the event and the chosen contacts.
- Once the service calls have completed I display an alert (if there's a better CRM way to do this then please tell me). The alert displays the the number of contacts added, the number of contacts that are already going to the event (duplicates) and in the event of any other failure the number of service call failures.
In IE9 this is all working absolutely fine, however in both Firefox and Chrome, whilst functionally it is working OK, the bit where I'm checking for the duplicate message returned by the service call in the responseXml ("Cannot insert duplicate key.") isn't working. This means that my alert shows "x added, x failed" instead of "x added, x duplicates".
I'm not (at this stage) asking for help with the code, but I cannot figure out a way to debug my Javascript. I've tried using the built in Firefox tools and Firebug, and although I can see my Javascript file breakpoints are not being hit. I'm not totally surprised at this because when debugging in IE I have to click "Start Debugging" and look for my code in the code blocks listed under "Other", but I'm not sure how I can replicate this using FireBug.
I've also tried adding "debugger;" to my Javascript but FireBug is still not stopping.
So my question is, how the hell do you debug a javascript web resource (not on an entity page) from Firefox or Chrome, and if you can't do it, how on earth do I work through cross-browser problems?
Thanks,
LJ
P.S Although a .Net developer for many years, I'm very much new to Javascript, so go easy on me :)
Problems with Custom Code Validation Tool -- Silverlight InitializeError code 2103
I am having some trouble running the custom code validation tool. At this point I have a new org with no custom code or data in it (I was thinking the problem was related to our rather large solution so I created a new org which has nothing in it). Anyway, I import the custom code validation tool into the org and try to run it. Unfortunately, I am simply greeted with a blank white window (due to an exception thrown by Silverlight).
I have uninstalled/reinstalled Silverlight (both the version 4.0.xxx linked from the page if Silverlight is not installed as well as the most recent version) and no luck. I have also tried using multiple browsers, multiple computers, and reducing all internet security settings to low. Is anybody else having this problem and/or is there anything else I should try?
This is the exception when I open the error console for the page:
SCRIPT5022: Unhandled Error in Silverlight Application Code: 2103 Category: InitializeError Message: 2103 An error has occurred. CustomCodeValidationTool.html, line 41 character 13
javascript code to calculate 4 fields interchangeably
Hi
I need a javascript that can help me to calculate 4 fields interchangeably as in i can put a value in any to of the field and it can calculated without giving me errors
CRM 2011 - How to create an XML or JavaScript Language file for Multiple Languages
Trying to import the default solution developed on CRM on-premise, to CRM Online - getting one error.
Trying to import the default solution developed on CRM on-premise, to CRM Online - I'm getting an error:
CRM 2011: CRM Dev. Tools (version 1.0 vs. version 1.1)
Hi community,
I installed Visual Studio 2012 and the “Dynamics CRM 2011 Developer Tools” (version 1.1).
When I open a VS-solution that was created with Visual Studio 2010 and the previous version of the crm-dev-tools the tools itself are working. I can see and access my organization directly from VS. But when I hit “Deploy” on the CrmPacakge-project I receive
the following error:
Error connecting to CRM Server. [A]Microsoft.CrmDeveloperTools.CrmClient.Entities.Solution cannot be cast to [B]Microsoft.CrmDeveloperTools.CrmClient.Entities.Solution. Type A originates from 'Microsoft.CrmDeveloperTools, Version=1.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' in the context 'LoadFrom' at location 'C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\Extensions\Microsoft\Dynamics CRM 2011 Developer Tools\1.0\Microsoft.CrmDeveloperTools.dll'. Type B originates from 'Microsoft.CrmDeveloperTools.CrmClient, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' in the context 'LoadFrom' at location 'C:\Program Files (x86)\MSBuild\Microsoft\CRM\Microsoft.CrmDeveloperTools.CrmClient.dll'. C:\Program Files (x86)\MSBuild\Microsoft\CRM\Microsoft.CrmDeveloperTools.CrmClient.targets 176 4 CrmPackage
So it seems that version 1.0 of the crm-dev-tools is not compatible with crm-dev-tools 1.1. Is this a known issue and does someone knows a solution to this problem?
Regards,
Daniel
delete the same record when creating the record in msccrm 2011 through plugin
Dear all ;
i have a situation i have a plugin which is registered on create of appointment as a post operation . what i am doing in the plugin if the appointment is being created i want to delete the same record becasue the plugin i think it should delete the record but is not it is giving me the following error
here is the error
Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Generic SQL error.Detail:<OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
<ErrorCode>-2147204784</ErrorCode>
<ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
<Message>Generic SQL error.</Message>
<Timestamp>2013-03-15T13:16:57.6235071Z</Timestamp>
<InnerFault i:nil="true" />
<TraceText i:nil="true" />
</OrganizationServiceFault>
here is my code
public void Execute(IServiceProvider serviceProvider)
{
// Obtain the execution context from the service provider.
Microsoft.Xrm.Sdk.IPluginExecutionContext context = (Microsoft.Xrm.Sdk.IPluginExecutionContext)
serviceProvider.GetService(typeof(Microsoft.Xrm.Sdk.IPluginExecutionContext));
if (context.InputParameters.Contains("Target") && context.InputParameters["Target"] is Entity)
{
if (context.MessageName == "Update")
{
if (context.Depth > 1)
{
return;
}
}
IOrganizationServiceFactory serviceFactory = (IOrganizationServiceFactory)serviceProvider.GetService(typeof(IOrganizationServiceFactory));
IOrganizationService service = serviceFactory.CreateOrganizationService(context.UserId);
Entity entity = (Entity)context.InputParameters["Target"];
Entity appointment = service.Retrieve(entity.LogicalName, entity.Id, new ColumnSet(true));
//service.Delete("appointment", new Guid("238A13A7-718D-E211-8B75-984BE16D9F11"));
service.Delete("appointment", appointment.Id);
}
}
CRM 2011: Problem when registering custom workflow activity
Hi all,
Currently I have a problem that when I try to update a custom workflow activity using plugin registration tool the following error occurred:
Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: 'PluginType' entity doesn't contain attribute with Name = 'customworkflowactivityinfo'.Detail: <OrganizationServiceFault xmlns="http://schemas.microsoft.com/xrm/2011/Contracts" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<ErrorCode>-2147217149</ErrorCode>
<ErrorDetails xmlns:a="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
<Message>'PluginType' entity doesn't contain attribute with Name = 'customworkflowactivityinfo'.</Message>
<Timestamp>2013-03-15T15:21:18.1818272Z</Timestamp>
<InnerFault>
<ErrorCode>-2147217149</ErrorCode>
<ErrorDetails xmlns:a="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
<Message>'PluginType' entity doesn't contain attribute with Name = 'customworkflowactivityinfo'.</Message>
<Timestamp>2013-03-15T15:21:18.1818272Z</Timestamp>
<InnerFault i:nil="true" />
<TraceText i:nil="true" />
</InnerFault>
<TraceText i:nil="true" />
</OrganizationServiceFault>
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 System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.Xrm.Sdk.IOrganizationService.Update(Entity entity)
at Microsoft.Xrm.Sdk.Client.OrganizationServiceProxy.UpdateCore(Entity entity)
at Microsoft.Crm.Tools.PluginRegistration.RegistrationHelper.UpdateAssembly(CrmOrganization org, String pathToAssembly, CrmPluginAssembly assembly, PluginType[] type)
at Microsoft.Crm.Tools.PluginRegistration.PluginRegistrationForm.btnRegister_Click(Object sender, EventArgs e)
After googling the error message I have found that it was an error fixed in rollup 10, and I have rollup 12 installed in the server !!
Please advise..
CRM 2011 : Advanced find tricky question.
Hello,
Is there any way I can set up advanced find to show me all the records before given date time by providing the date and time stamp as input ?
Appreciating your inputs.
Thanks and regards,
Hiren Solanki.
Please vote or mark as a answer if it helped you.
Customizing CRM SDK sample - Filtered Picklist
I am going back to fix a broken picklist filter from pre-Polaris and wanted to make sure it would be less likely to break in the future. To do that, I utilized the SDK sampleprovided here. I imported the sample solution, then customized the XML to fit my picklists (xml code posted below) and added the Form properties as necessary as well as the Field Properties but it's not working and i've been messing with it all day trying to get it up and running. My eyes are now crossed and I can't find what i'm missing...I have gone back to the link above and confirmed that it does say I shouldn't need to manipulate the jscript.
"The filtering of dependent options is set in an XML web resource. This allows for changing the option mappings without changing the code."
Here are two screenshots of my Form & Field properties which should help anyone to see where I am missing.
Form Properties:
Field Properties:
Lastly, here is my XML:
<DependentOptionSetConfig entity="incident" ><ParentField id="new_casetype" label="Case Type"><DependentField id="new_casetypesub" label="Sub-Category" /><Option value="100" label="New Order"><ShowOption value="10001" label="Order Placed" /><ShowOption value="10002" label="Order Placed (Hold)" /></Option><Option value="200" label="Hardware"><ShowOption value="200001" label="POD" /><ShowOption value="200004" label="Modify Order" /><ShowOption value="200002" label="Order Cancellation" /><ShowOption value="200003" label="Missing Item(s)" /></Option><Option value="300" label="Item Research / Stock Check"><ShowOption value="300001" label="Item Research" /><ShowOption value="300002" label="Item Price Check" /><ShowOption value="300003" label="Item Stock Check" /><ShowOption value="300004" label="Other" /></Option><Option value="400" label="Blanket PO"><ShowOption value="400001" label="Blanket PO Submitted" /><ShowOption value="400002" label="Blanket PO Inquiry" /></Option><Option value="500" label="Return / Credit"><ShowOption value="500001" label="Return Request/Processed" /><ShowOption value="500002" label="Return Status" /><ShowOption value="500003" label="Credit Request/Processed" /><ShowOption value="500004" label="Return Process Training" /><ShowOption value="500005" label="Audit" /><ShowOption value="500006" label="Manual Markout" /><ShowOption value="500007" label="UPS Refusal" /><ShowOption value="500008" label="Duplicate Order" /></Option><Option value="600" label="Operational Issue"><ShowOption value="600001" label="Manifest Issue" /><ShowOption value="600002" label="Order/Facility Error(s)" /><ShowOption value="600003" label="Leave Behinds" /><ShowOption value="600004" label="Other Operational Issue" /><ShowOption value="600005" label="Packing Slip" /></Option><Option value="700" label="Account Maintenance"><ShowOption value="700001" label="Add User" /><ShowOption value="700002" label="Add Ship To" /><ShowOption value="700005" label="Modify User/Ship To" /><ShowOption value="700006" label="Acct Setup Status" /><ShowOption value="700003" label="Modify Route Code(s)" /><ShowOption value="700007" label="Add/Modify Billing Code" /><ShowOption value="700004" label="Other Acct Maintenance" /></Option><Option value="800" label="Website Issue"><ShowOption value="800001" label="Username/Password Reset" /><ShowOption value="800002" label="Website Training" /><ShowOption value="800003" label="Website Feedback" /><ShowOption value="800004" label="Misc Website Issue" /></Option><Option value="900" label="Billing"><ShowOption value="900001" label="Invoice Request" /><ShowOption value="900002" label="Invoice/Statement Help" /><ShowOption value="900003" label="Credit Card / P-Card Issue" /><ShowOption value="900004" label="Credit (Order) Status" /><ShowOption value="900005" label="Credit Memo" /><ShowOption value="900006" label="Payment" /></Option><Option value="910" label="Backorder Item"><ShowOption value="91004" label="B/O Status" /><ShowOption value="91001" label="B/O Notification" /><ShowOption value="91002" label="B/O Cancellation" /><ShowOption value="91003" label="Replacement Item Requested" /></Option><Option value="920" label="Future Order Processing"><ShowOption value="92001" label="Future Order Entry" /><ShowOption value="92002" label="Future Order Modification" /><ShowOption value="92003" label="Future Order Cancellation" /></Option><Option value="930" label="Catalog Order"><ShowOption value="93001" label="Direct Customer to Website (-10)" /><ShowOption value="93002" label="Contacted Dealer (10+)" /><ShowOption value="93003" label="Dealer Handling (Dlr has Stock)" /><ShowOption value="93004" label="Placed Order (Dlr has no Stock)" /></Option><Option value="940" label="eCom Administration Only"><ShowOption value="94001" label="Support" /><ShowOption value="94002" label="Setup" /><ShowOption value="94003" label="Maintenance" /><ShowOption value="94004" label="Project" /><ShowOption value="94005" label="Non-Billable" /></Option></ParentField></DependentOptionSetConfig>
Service Appointment - Ribbon Error after UR 12 on IE9
Hello everyone,
After upgrading to UR 12 I started having a weird error in the Service Appointment ribbon. The error happens in a custom button which called some JS script function. I stripped all JS from the forms and the buttons and created a function for testing:
function test()
{
alert("test");
}
This function is the custom action of a custom button in the ribbon, everything works fine when the page loads but when i press the button "Error On Page" is displayed in the status bar and the alert works as expected. The error seems to happen on IE9, on IE8 everything works fine...
Has anyone got any clues on this??
Thanks in advance!
The error message isn't very helpful:
Microsoft Dynamics CRM Error Report Contents<CrmScriptErrorReport>
<ReportVersion>1.0</ReportVersion>
<ScriptErrorDetails>
<Message>Syntax error</Message>
<Line>1</Line>
<URL>/userdefined/edit.aspx?_gridType=4214&etc=4214&id=%7b69DED566-66E1-E111-9444-005056990019%7d&pagemode=iframe&preloadcache=1362671277873&rskey=805303598</URL>
<PageURL>/userdefined/edit.aspx?_gridType=4214&etc=4214&id=%7b69DED566-66E1-E111-9444-005056990019%7d&pagemode=iframe&preloadcache=1362671277873&rskey=805303598</PageURL>
<Function>anonymous(container,scriptContent,id){if(IsNull(container))container=this.get_headElement();var$v_0=container.ownerDocument.createElement("script");container.appendChild($v_0);!isNullOrEmptyString(id)&&$v_0.setAttribute("id",id);$v_0.setAttribute("type","</Function>
<CallStack>
<Function>anonymous(container,scriptContent,id){if(IsNull(container))container=this.get_headElement();var$v_0=container.ownerDocument.createElement("script");container.appendChild($v_0);!isNullOrEmptyString(id)&&$v_0.setAttribute("id",id);$v_0.setAttribute("type","text/javascript");$v_0.text=scriptContent}</Function>
<Function>anonymous(container,scriptFile){var$v_0=scriptFile.toString();if(this.$4R_1($v_0))return;var$v_1=this.fetchExternalFile($v_0);this.addIncludeInline(container,$v_1,$v_0)}</Function>
<Function>anonymous(uri,useInlineScripts,scriptLoaded){if(uri.get_path().toUpperCase()==="/_STATIC/_COMMON/SCRIPTS/GLOBAL.JS")uri=Mscrm.CrmUri.create("/_common/global.ashx");if(useInlineScripts)Mscrm.CrmHeader.get_scriptLoader().addIncludeExternalSync(null,uri);elseMscrm.CrmHeader.get_scriptLoader().addIncludeExternalCallback(null,uri,scriptLoaded)}</Function>
<Function>anonymous($p0,$p1,$p2,$p3){Mscrm.CrmHeader.setScriptFile(Mscrm.CrmUri.create($p1),true);for(var$v_0=window,$v_1=$p0.split("."),$v_2=0;$v_2<$v_1.length;$v_2++)if($v_0)$v_0=$v_0[$v_1[$v_2]];if(!IsNull($v_0)&&typeof$v_0===Mscrm.TypeNames.functionType){var$v_3=this.$CN_1($p2,$p3);return$v_0.apply(null,$v_3)}returnnull}</Function>
<Function>anonymous($p0,$p1,$p2,$p3){var$v_0=this.getCommandDefinition($p0,$p1);if(IsNull($v_0)||IsNull($v_0.Actions))returnfalse;for(var$v_1=0;$v_1<$v_0.Actions.length;$v_1++){var$v_2=$v_0.Actions[$v_1];switch($v_2.ActionType){case2:this.$DF_1($v_2.Attributes);break;case3:var$v_3=$v_2.Attributes;this.$9w_1($v_3.FunctionName,$v_3.Library,$v_2.Parameters,$p2);break;case1:this.$DG_1($v_2.Attributes,$v_2.Parameters);break}}returntrue}</Function>
<Function>anonymous($p0,$p1,$p2){var$v_0=this.parseCommandFromRibbon($p0),$v_1=this.$7s_1($v_0.command,$v_0.entityLogicalName,$p1,$p2),$v_2=$p1;if(!IsNull($v_2)&&!isNullOrEmptyString($v_2.PopulationXML)&&!$v_2.SuppressCommandIncludes){var$v_3=null;if($v_0.entityContext==="Form"){var$v_4=$find("crmFormSelector");if($v_4)$v_3=$v_4.get_currentFormId()}$v_2.PopulationXML=this.$Ep_1($v_2.PopulationXML,$v_0.entityLogicalName,$v_3)}return$v_1}</Function>
<Function>anonymous($p0,$p1,$p2){if(this.$1w_1&&!this.$1w_1.$3k_1)returnthis.$1w_1.handleCommand($p0,$p1,$p2);returnfalse}</Function>
<Function>anonymous(handler,commandId,properties,sequenceNumber){returnhandler.handleCommand(commandId,properties,sequenceNumber)}</Function>
<Function>anonymous($p0,$p1,$p2){var$v_0=this.$2R_0[$p0];if(CUI.ScriptUtility.isNullOrUndefined($v_0))returnfalse;elseif(Array.isInstanceOfType($v_0)){for(var$v_1=$v_0,$v_2=false,$v_3=0;$v_3<$v_1.length;$v_3++){var$v_4=$v_1[$v_3];if(this.callCommandHandler($v_4,$p0,$p1,$p2))$v_2=true}return$v_2}elsereturnthis.callCommandHandler($v_0,$p0,$p1,$p2)}</Function>
<Function>anonymous(commandId,properties){returnthis.$DE_0(commandId,properties,this.getNextSequenceNumber())}</Function>
<Function>anonymous(commandId,properties,commandInfo,root){returnthis.$10_1.executeCommand(commandId,properties)}</Function>
<Function>anonymous($p0){if(CUI.ScriptUtility.isNullOrUndefined($p0.$4_1))return;$p0.$7Q_1=this.$DU_1();var$v_0=$p0.get_commandInfo();$v_0.CommandId=$p0.$4_1;$v_0.RootId=this.$4_0;$v_0.RootType=this.get_rootType();!CUI.ScriptUtility.isNullOrUndefined(this.$26_1)&&this.$26_1.executeRootCommand($p0.$4_1,$p0.$32_1,$v_0,this)}</Function>
<Function>anonymous($p0){this.$7s_1($p0);returntrue}</Function>
<Function>anonymous($p0){if($p0.$I_1!==11){$p0.get_commandInfo().RootLocation=$p0.$I_1===2?"UpperRibbon":"LowerRibbon";if($p0.$I_1===2){var$v_0=$p0.$32_1;$p0.get_commandInfo().TabId=$v_0.NewContextId}}returnCUI.Root.prototype.$2n_0.call(this,$p0)}</Function>
<Function>anonymous($p0){this.$2n_0($p0)&&!CUI.ScriptUtility.isNullOrUndefined(this.$M_0)&&this.$M_0.$Ay_0($p0);this.$Am_0($p0)}</Function>
<Function>anonymous($p0){this.$2n_0($p0)&&!CUI.ScriptUtility.isNullOrUndefined(this.$M_0)&&this.$M_0.$Ay_0($p0);this.$Am_0($p0)}</Function>
<Function>anonymous($p0){this.$2n_0($p0)&&!CUI.ScriptUtility.isNullOrUndefined(this.$M_0)&&this.$M_0.$Ay_0($p0);this.$Am_0($p0)}</Function>
<Function>anonymous($p0){this.$2n_0($p0)&&!CUI.ScriptUtility.isNullOrUndefined(this.$M_0)&&this.$M_0.$Ay_0($p0);this.$Am_0($p0)}</Function>
<Function>anonymous($p0){this.$2n_0($p0)&&!CUI.ScriptUtility.isNullOrUndefined(this.$M_0)&&this.$M_0.$Ay_0($p0);this.$Am_0($p0)}</Function>
<Function>anonymous($p0){this.$2n_0($p0)&&!CUI.ScriptUtility.isNullOrUndefined(this.$M_0)&&this.$M_0.$Ay_0($p0);this.$Am_0($p0)}</Function>
</CallStack>
</ScriptErrorDetails>
<ClientInformation>
<BrowserUserAgent>Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E)</BrowserUserAgent>
<BrowserLanguage>en-us</BrowserLanguage>
<SystemLanguage>pt</SystemLanguage>
<UserLanguage>pt</UserLanguage>
<ScreenResolution>1364x768</ScreenResolution>
<ClientName>Web</ClientName>
<ClientTime>2013-03-07T16:20:19</ClientTime>
</ClientInformation>
<ServerInformation>
<OrgLanguage>1033</OrgLanguage>
<OrgCulture>2070</OrgCulture>
<UserLanguage>1033</UserLanguage>
<UserCulture>2070</UserCulture>
<OrgID>{234A1262-71F4-4B4B-BA30-95DAB575ABFF}</OrgID>
<UserID>{36234189-5F78-DE11-B2CE-0016358022EC}</UserID>
<CRMVersion>5.0.9690.3236</CRMVersion>
</ServerInformation>
</CrmScriptErrorReport>
Dynamics NAV-CRM Intergartion
Hi,
I'm not experienced with Dynamics Nav and it's inetgrations capabilities. But I have a question about it:
I have Navision already installed, I want the some sales data to be visible with my CRM.
Is it possible to do it without performing a data synchronisation? I dont want the Navision data to be duplicated in the CRM database.
Need: crm 4 360 view organization chart
I need to create a 360 view chart like this one
http://blogs.msdn.com/b/paf/archive/2009/04/08/test.aspx
but I don't know how to proceed ?
Unsupported customization is fun..keep it running..is a challenge
Assigning users to teams inside a dialog
Is there any way to access a many to many relationship inside a crm dialog process? Currently I have it so that once you create a new user a script is fired off that launches a dialog to allow you to selected a team and a user, is there anyway to perhaps inercept the flow of operations inside the dialog in a plugin so I can create the associated inside the plugin? Maybe there is a more simple method I am missing?
Thanks.
FetchXml results count - Subgrid rows count in JavaScript
Hi! I have a fetchXml query and after do that, I send it to a sub grid, that should be hide if there are not returned records.
I have seen in many blogs that can be added the returntotalrecordcount='true' property in the FetchXml query, but no one of them explains how to get the returned number. So it is worth this property?
As I couldn't find out anything, I'm just trying to get the number of rows after doing the refresh to the grid, but all options that I have found, like these, doesn't give me back the number of rows.
.get_selectedIds(); .getRecordsFromInnerGrid(); .getElementsByTagName("span");
I found other solutions like donwload the SDK Daniel Cai JavaScript, but do I have to modify my CRM solution just for this?
crm 2011 javascript and multiple instances of an entity forms
Hi,
I have an entity called product. There is a field called item price.
now i have created 100 products. I want to SUM (mathematical operation) all the products "item price" field and display it in an other entity called opportunity field called "total items price".
Besides this if i create 101 product and it's "item price", "total items price" field in opportunity automatically up date itself.
so for i have SUMMED to fields of a form. e.g there is a field A and field B adding (mathematical operation) the values of these fields and displaying result in field C.
Needed Crm Developers
Good day all, we are currently working in our crm 4.0 and trying to restructure it and make it more robust. Any crm developers for suggestions and how difficult will it be to migrate to a more current version or another platform.
Thank you.
norman f castillo
Retrieving Fetch XML in Rollup 12
We have a Ribbon button displayed on our Contact entity that we use to launch an ASP.NET webpage. Before Rollup 12, we could use document.getElementById('FetchXml') to retrieve the Fetch XML that was being ran for a particular Advanced Find and then in turn pass that as a query string parameter to our ASP.NET webpage. We used this to loop through all of the results of the Advanced Find and perform a certain action. This functionality no longer works as document.getElementById('FetchXml') now returns null/undefined. I've tried to dig through the DOM using the IE Dev Tools to try to find another way to pull back that Fetch XML but have been unsuccessful. Does anyone have a way to do this? If not, what alternatives do I have to pass the FetchXML to an ASP.NET page.
Thanks
How to create XML or JavaScript library web resource to support multiple languages?
We have a project which must support both English and Spanish users. We used HTML web resources in place currently for English users for some of the field labels since the out of the box lengths for CRM labels were too short. Instead of having to re-create the HTML web resources in Spanish and show/hide based on the user's language settings, I would like to create a centralized XML or JavaScript library which stores the labels in both English and Spanish. Can anyone guide me on the following?:
1. The schema structure of the XML/JavaScript library--What should it look like?
2. How to reference the XML file using JavaScript when the form loads (I am planning to use Xrm.Page.context.getUserLcid()to check the user's language and then show the label based on that)?
I am very new to the concept of creating an XML library for this, but if someone could guide me, I'm sure I could pick it up from there. Thanks!