Home
»
Microsoft Dynamics CRM
»
Microsoft Dynamics CRM Forum
»
All Tags
»
Javascript
Browse by Tags
Tags
#CRM
#CRM #CRM2011
#CRM #CRM2011 # plugins
#CRM2011
#MSDYNCRM
2011
4.0
activities
activity
case
contact
CRM
crm 2011
CRM 4
CRM 4.0
CRM 4.0 Customization
CRM 4.0 Error
CRM customization
crm2011
customization
Customizations in CRM 4.0
Dynamics CRM 2011
email
entity
IFD
Related Posts
Forum Post:
New Workflow influences functionality of external Javascripts
bilbo
Hello, Does anybody know about this voodoo issue: - write Javascripts that are embedded from /isv/ and embedded with the onload event of a form, others that are fired onchange. works fine - create a workflow on the same entity, publishing it. (no dependencies to the javascript, only the same entity)...
on
8 Jul 2008
Forum Post:
CRM3 lookup field
Gnapel
I have a problem regarding a lookup field. I made a entity, with a parental link to accounts. When i select an account, i want the industrycode to be brought along. so, i thought i could use the lookup function.This is what i have: lookupItem = crmForm.all.new_klantid.DataValue; if (lookupItem...
on
11 Aug 2008
Forum Post:
Use of JavaScript Multidimentional Array for validating attribute entry
Richard MG
I have 2 attributes: the first shows a primary choice from a pick list of 5. The second should show a secondary choice which can be any of the 5 but not include the primary one. The pick list for this contains every possible combination (31). I now need to set up an on-change event on the secondary attribute...
on
1 Nov 2008
Forum Post:
Re: hiding fields dynamically
Andrew Zimmer
I'm not sure what is going with your code, but it appears to be related to FireOnChange being called from OnLoad. I've had good luck by creating a function OnLoad and calling that function wherever I want to update the field visibility. Add this code to OnLoad: document.HideElement...
on
23 Feb 2009
Forum Post:
Re: Make an attribute invisible or invisible
Andrew Zimmer
For IFrame's you should be able to set the source to about:blank. There is likely a way to set it using style, but this should get you going. crmForm.all.IFRAME_ProductRanking.src = "about:blank"; As for hiding actual fields on the form, put these functions at the top of your OnLoad...
on
26 Feb 2009
Forum Post:
Re: Re: Re: Re: hiding fields dynamically
Andrew Zimmer
If you are talking about the print preview of the screen, it doesn't hide the fields. The javascript code is not ran when the print preview screen is displayed. I hadn't noticed that before. I don't know of a work-around. The best advice I can give is to put any fields that will always...
on
28 Feb 2009
Forum Post:
Re: Auto Filling Address Fields when selecting Parent Account
Andrew Zimmer
You will need to call the CRM web service using JavaScript. Try this reference: http://msdn.microsoft.com/en-us/library/cc150838.aspx I have also written some helper objects to work with the WS objects: http://blogs.inetium.com/blogs/azimmer/archive/2009/02/01/crm-4-0-javascript-web-service-helper...
on
5 Mar 2009
Forum Post:
Auto fill City, State, Country and other info based on ZIPCODE
Utsav Acharya
Hi Everybody, I need help on this logic which I have to set up. I have a customized Entity "Zip Code" which stores information like City,State Or Province, County, Country, PC Name, PC Number, SE Name, SE Number for each Zipcode. Whenever a user enters a ZipCode (eg 45102) then based...
on
8 Mar 2009
Forum Post:
Re: Default values
Andrew Zimmer
I don't know the second one off the top of my head, but here is the solution to #1: http://blog.customereffective.com/blog/2008/09/default-unit-of.html -Andrew http://blogs.inetium.com//blogs/azimmer
on
20 Mar 2009
Forum Post:
OnChange not firing consistently
Chris Lefsrud
We have encountered a situation with a couple of our CRM 4.0 installations. As a standard feature, we apply code to all entities that contain phone number fields, where the entered phone number for each attribute is automatically formatted. The formatting code is associated with the form's onLoad...
on
23 Mar 2009
Forum Post:
Email form OnLoad event
Pierre Joubert
I would like to have an email template inserted to the email OnLoad. So basically the normal procedure is the open the case, create a new email activity and click on the "insert template" button, select the Regard Object and then select the template. I would like to automate this process...
on
8 Apr 2009
Forum Post:
Display notes on tab (NotesCount) - new version
Thomas Roschinsky
Hello CRM-community, a new version of the client side customization NotesCount for CRM 4.0 is available. Some new features like type dependend counters within the notes tab and a tooltip function for more details are now implemented. I created a codeplex project for centralized maintenance and...
on
26 Apr 2009
Forum Post:
Re: Custom entity - "close" records
Andrii Butenko
Hi. You can use following approach: 1. Create some attribute with two states (Can Modify, Can not Modify) - for example bit attribute named new_readonly. If Value of new_readonly is false - this means that this record is not final and can be modified, otherwise - this is final version of record and it...
on
30 Apr 2009
Forum Post:
Urgent: Hide views from drop down list
Utsav Acharya
Hi Everybody, Coming straight to the point, there are list of different views available in Activites Entity. I want to hide some of the view from it. I don't want user to use them and I also don't want to remove it from database completely also. I need a solution on front-end side or...
on
25 May 2009
Forum Post:
Re: Re: Re: Re: Adding fields to the Close Opportunity form.
Chris Jackman
Ok. I'm trying something a little different and I think I can get it to work. I've added some script to the onLoad event. Basically: IF StatusReason == 4 or 5 (Canceled;Out-Sold) then display a Dialog box. This is where I hit the problems... Is there a way of having a Checkbox to the dialog...
on
9 Jun 2009
Forum Post:
Phone Number Masks
VJ Shah
Is there a simple way to create Masks for data types in CRM? In other words, we have to have an event on every single form in order to make sure that the phone number gets formatted properly. Is there a global way to doing this using j-script or any other customization tools and/or 3rd parties? Thanks...
on
18 Jun 2009
Forum Post:
Re: Re: Re: Set a default time in the Activity>Phone Call attribute
Grzegorz
Add following code to your phone call onload event if(crmForm.FormType==1) { var d=new Date(); d.setHours(d.getHours()+1); d.setMinutes(0); crmForm.all.scheduledend.DataValue=d; crmForm.all.actualdurationminutes.DataValue=15; }
on
22 Jun 2009
Forum Post:
Cache & CRM
Utsav Acharya
Hi Everyone, How are you doing ? I have a requirement that I need suggestion/advice on it. I have a Javascript file which holds functions it them. These file is set in the ISV folder on the CRM server. On required entitie I have appended this file on the OnLoad( ) event of the entity so that the...
on
18 Jul 2009
Forum Post:
Show/Hide fields - JS Problem
CRM user 2
hi, I'm trying to write a basic script that will make a field show/hide depanding on the Picklist choice. I wrote the following script, and it works for the onLoad function. i also put a call for that function on the onChange, but it doesnt work there, it gives me an error that says that...
on
30 Jul 2009
Forum Post:
onload fails to hide cells.
Jakob Kristiansen
I have 3 picklists: "off_udbud" "off_forlngelse" and the standard "opportunityratingcode". Depending on the value in picklist 4, one list is unhidden by the onload-klient skript I get this message: "Error, 'list 4' is not defined." salgsproces = list...
on
11 Nov 2009
Forum Post:
Problems with an empty LookUp field
Scholes
I created a form with 4 different LookUp fields: Contact Account VHE Complex When selected account 'A', it should filter the related VHE's Complexes and Contacts, which it does. Now here's the problem: There are 2 accounts, named Zeeman Real Estate and Zeeman...
on
2 Dec 2009
Forum Post:
hide section, if cell1=null & cell2=null
Jakob Kristiansen
Hi everyone. I thought this was easy, but I cannot get it to work... 4 cells emty will hide a section. { if( (mæglerhus=null | mæglerhus="")&&(Overordnet kunde=null | Overordnet kunde="")&&(Gruppeaftale=null | Gruppeaftale="")&&(Administrator...
on
12 Jan 2010
Forum Post:
Re: Resizing a crm form, choosing default lookup values and sync issues with crm contacts
Andrii Butenko
Answer for question 1: add following script to onLoad event handler of form: window.resizeTo(500,300); this will resize window to required size. Answer for question: check this article . You can hardcode identifier and name of price list or you can retrieve it using script from CRM. How to use RetrieveMultiple...
on
15 Jan 2010
Forum Post:
Re: Multi-Select Picklist in MS dynamics CRM
Andrii Butenko
Check following articles: http://jianwang.blogspot.com/2009/01/crm-40-checkbox-style-multi-select.html http://mscrm4ever.blogspot.com/2008/12/crm-40-supported-multi-select-picklist.html
on
16 Jan 2010
Forum Post:
Re: How to remove the print button from the quote form?
Andrii Butenko
Hi, Adriana. This can be done using JavaScript. Check this article .
on
17 Jan 2010
1
2
3