Refresh parent form after subgrid record is added
I have a plugin that gets triggered after a subgrid record is added to a parent form. This plugin modifies fields in the parent form.How can I refresh the parent form to show my new field values after...
View ArticleProbleme with related entities inside FetchXml query
Hi Everybody,I met a problem about the construction of a FetchXML query :My need is to get the result of this SQL Query : SELECT DISTINCT Contact.ContactId FROM Contact LEFT OUTER JOIN...
View ArticleCRM 2011: How can I show a hidden web resource using JScript?
Quick one: How can I show a hidden web resource using JScript?I triedXrm.Page.ui.controls.get("WebResource_name").setVisible(true);but it didn't work...Thanks for the help!P.
View ArticleTable for users in MS Dynamics CRM 4.0
Hi AllI need to know the SQL to extract users of my MS Dynamics CRM 4.0 application by querying SQL server database for CRM application when I dont want to go through Active Directory.Thanks in advance:)
View ArticleSQL for User Info with Roles in MS Dynamics CRM 4.0?
Hi AllHow to form a SQL to get users information along with roles assigned to them in MS Dynamics CRM 4.0?Or can anyone share the table name where mapping between SystemUserBase and RoleBase is...
View ArticleWhat is the master table to know AccessMode?
Hi AllSystemUserBase table has one field with the name "Accessmode" and values are like 0 and 2. I would know the master table so that I know what they exactly means.thank you very much in advance.Cheers
View Articleclose Incident plugin
I try to update the field "new_caseresolvedon" on the case form when the case is closed but i get this error: Unhandled Exception:...
View ArticleCRM 2011 Plug-in Update (Post-Oper): retrieving and updating a single record
On Update of an <account> record, the plug-in must update a related record (new_port) having a one-to-one relationship with account through new_accountid.The code below doesn't do it! I debugged...
View ArticleUpdate plugin throws exception "The given key was not present in the dictionary"
Greetings.I have a plugin to update entity B when entity A gets updated. I registered this plugin with a step for Update, Post-Operation, Synchronous. Any idea why the code below fails at the line "var...
View ArticleJavascript to populate lookup field crashing
Hi everyone,What I have is a script for Account create/update that when the zipcode is entered it then auto-populates the sales Territory lookup. Everything works fine and dandy; I enter the zip code,...
View ArticleSilverlight Refresh/Reload
We have been using the following lines of code to reload a Silverlight Web resource on a form. The code is triggered by an onchange of a lookup field. Its been working well until Rollup 12 was...
View ArticleRun plugin when Email status is Sent
Hi,I am trying to write a plugin that will run when the email status is changed to "Sent" but when I register the plugin for the "SetState" message or the "SetStateDynamicEntity" message it never...
View ArticleThe authentication endpoint Username was not found on the configured Secure...
We have crm 2011 and IFD installed and working. We are deploying some code that will update records.we are gettting the following error messageThe authentication endpoint Username was not found on the...
View Article"PrincipalObjectAttributeAccess" does not work
Hi!I want to use the "PrincipalObjectAttributeAccess" in CRM 2011 Online to change the users rights on secured_field. At the moment I'm using this code:...
View ArticleCRM 2011: Editable Subgrid
hy allI have a custom entity with a 1:N Relationship to another custom entity (children) and I show the children on the parent in a subgrid. It would be very nice, if the user could edit directly the...
View Articleobject doesnt support property or method getselectoption on form onload
function Form_onload() {var selectedOptionSet = Xrm.Page.getAttribute("new_guideline12answer2");alert(selectedOptionSet.getSelectedOption().text); alert(selectedOptionSet.getSelectedOption().value);...
View ArticleCRM 2011 - Value cannot be null.\r\nParameter name: detail
Trying to create a simple winform app with below code... when I come to saving am getting an error "{"Value cannot be null.\r\nParameter name: detail"}"Anyone knows what am doing wrong, something...
View ArticleQuery email by From field
Hi,I am trying to get all the email messages sent by the address assigned to a queue. When I open the email I see the queue in the From field, but the Sender field value is populated with a user, so I...
View ArticleStuck on this OData, would appreciate some help
Hi guys, I'm having major problems with this OData/Jscript. I'm a beginner and have spent weeks trying to research and get this working. Essentially I have a custom Entity called "PhoneLog". In that...
View ArticleChanging the value of an option set based on the value of another option set
Hello all,I'm a novice when it comes to JScript coding. The requirement is that when a user changes the label of the "new_priority" option set field on the Opportunity form to "high" or 100000002, then...
View Article