locked
After CRM Upgrade to 2011 Error creating new users RRS feed

  • Question

  • Whenever we attempt to create a new user in our new CRM 2011 implementation (upgrade from 4.0) we get a javascript error:

    "There was an error with this field's customized event.

    Field:window

    Event:onload

    Error:Unable to get value of the property 'Options': object is null or undefined."

     

    I went to customize -> form -> form properties and there are no events under form libraries or event handlers. 

     

    Any ideas?

    Friday, May 27, 2011 4:58 PM

Answers

All replies

  • Hi Andrew,

    I would suggest you to Create New Form in user entity and verify is it also giving the same message because this problem is rarely occuring during upgrade from CRM 4.0 to 2011, i saw many post with different entities. If you will not face any problem with the new user form then prirotize its Form Order for a work around and I would recommend you to contact your CRM licensing/implementaiton Microsoft Partner or open a ticket via Microsoft Dynamics Customer Source http://www.microsoft.com/en-us/dynamics/customersource.aspx (On Purchasing Dynamics CRM, every customer recieves a 1 year support plan customer source account from Microsoft)

    If any other users are also using the User Form then assign the new created form to the users securiety role.

    I hope this will help.


    Thank You,
    Jehanzeb Javeed,
    http://worldofdynamics.blogspot.com
    Linked-In Profile |CodePlex Profile



    If you find this post helpful then please "Vote as Helpful" and "Mark As Answer".
    Saturday, May 28, 2011 4:45 PM
  • I don't see a way to create a new user form, all i see is how to create a view for seeing all of the existing users.

     

    Where would i find that?

     

    thanks!

    Tuesday, May 31, 2011 6:12 AM
  • Hi Andrew,

    Perform the following steps:

    1. In CRM main page click on Settings->Customizaiton->Cusotmizaitons

    2. In Customizaiton page click on Customize the System (System will open the default solution page)

    3. Expand Entities node and click on User

    4. In User click on Forms, in user Forms section click on New button to create a new User Form 


    Thank You,
    Jehanzeb Javeed,
    http://worldofdynamics.blogspot.com
    Linked-In Profile |CodePlex Profile



    If you find this post helpful then please "Vote as Helpful" and "Mark As Answer".
    Tuesday, May 31, 2011 6:37 AM
  • Hi Jehanzeb,

     

    Thank you for your help, we're getting closer (i'm a CRM noob).  When i create a new user form i have an option for new main, or new mobile form.  If i select new main form it doesn't do anything, and if i select new mobile form i get the popup window to create the form.

     

    Is this because you are only allowed to have one main form at a time?  Is there a danger to backing up the system, and simply deleting the old main form and attempting to create a new one?

     

    Thanks!

    Tuesday, May 31, 2011 4:38 PM
  • Hi,

    Create new Main Form (clicking on the new form button will open the form in new designer with all default fields) and prirotize its Form Order. Please find teh question of your anser below:

    Is this because you are only allowed to have one main form at a time? Is there a danger to backing up the system, and simply deleting the old main form and attempting to create a new one?

    Answer) it is not a danger way because Dynamics CRM 2011 supports multiple forms out of the box and it is a safe way and you may leave the old form instead of deleting. With this multiple form feature you can create any number of form for any entities. I hope this will help.

     


    Thank You,
    Jehanzeb Javeed,
    http://worldofdynamics.blogspot.com
    Linked-In Profile |CodePlex Profile

     
    If you find this post helpful then please "Vote as Helpful" and "Mark As Answer".

    Tuesday, May 31, 2011 4:45 PM
  • Odd, it works in IE8 but not in IE9.  Having done that i have my new form, I set the display element on one so i would know for sure which form i was looking at, and i'm still getting the old form, with the old JS error.  If I go to form order my new form is above the old one, and i have assigned all security roles to the new form for simple testing.

     

    any thoughts as to why i setill get the old form?   

     

    Thank you for all your help.

    Tuesday, May 31, 2011 5:22 PM
  • Hi,

    Make sure to publish the User entity and Open User record just below the save button you will see a informaiton text with down arrow just above the tab navigaiton pane. Click on it and select the new created form. System will mark the form as default form and when you will open again the record the system will use the new created form.


    Thank You,
    Jehanzeb Javeed,
    http://worldofdynamics.blogspot.com
    Linked-In Profile |CodePlex Profile



    If you find this post helpful then please "Vote as Helpful" and "Mark As Answer".
    Tuesday, May 31, 2011 5:29 PM
  • Okay, I went through and clicked every publish button I could find, and then went and there is no information text w/ a down arrow below a save button.  I've been fumbling around for a bit making sure i'm not completely blind but am unable to locate this.

     

    Ideas?

    Tuesday, May 31, 2011 5:56 PM
  • Hi,

    Check the following image for form selecter.

    http://1.bp.blogspot.com/-nH0gqyAxeAk/TeUs-SKcDYI/AAAAAAAAAM0/ZuaoAwmFCto/s1600/Uploaded.png

    I hope this will help, have you customized the form entity? if no then i would also suggest you to get user entity standard customization file and import it into the system.


    Thank You,
    Jehanzeb Javeed,
    http://worldofdynamics.blogspot.com
    Linked-In Profile |CodePlex Profile

     



    If you find this post helpful then please "Vote as Helpful" and "Mark As Answer".
    Tuesday, May 31, 2011 6:04 PM
  • Got it, I wasn't in the actual create a new user dialog, my fault.  Having done that, setting it to new form, i still get the same Javascript error.  

     

    Here's what i get:

    http://citywok.me/files/files/1/crmerror.png

     

    p.s. thank you very much for your help.


    Tuesday, May 31, 2011 6:09 PM
  • Hi,

    I would suggest you the following:

    1. Recommend approch is to contact your CRM licensing/implementaiton Microsoft Partner or open a ticket via Microsoft Dynamics Customer Sourcehttp://www.microsoft.com/en-us/dynamics/customersource.aspx (On Purchasing Dynamics CRM, every customer recieves a 1 year support plan customer source account from Microsoft)

    2. If you have not customized the user entity, CRM base langauge is english then you may import the standard CRM 2011 user entity to overwrite the entity form user custom script (hopefully your old crm 4 script will be overwritted)

    You may downlioad from: http://cid-06f61fc8aa6032c9.office.live.com/self.aspx/CRM%202011%20Solutions/UserEntity%5E_1%5E_0%5E_0%5E_0.zip

    Please Vote as Helpful if it helps.

     


    Thank You,
    Jehanzeb Javeed,
    http://worldofdynamics.blogspot.com
    Linked-In Profile |CodePlex Profile

     



    If you find this post helpful then please "Vote as Helpful" and "Mark As Answer".

    Tuesday, May 31, 2011 6:29 PM
  • I'm using our MSDN provided copy, and i doubt any user customizatins were made by the person that originally set up the 4.0 instance.  I don't see any where to install the UserEntity zip file.  I can't find corresponding files anywhere in my Program Files\Microsoft Dynamics CRM install flder.

     

    Sorry for all the seemingly obvious questions.  You're teaching me quite a few tips and tricks about CRM as we go.

    Tuesday, May 31, 2011 8:35 PM
  • Hi Andrew,

    Follow the steps for importing the file into CRM.

    1. In CRM main page, click on settings

    2. In naigation pane click on Solutions option under Customization

    3. In Solutions page click on import butotn and select the zip file. 

    If you find this post helpful then please "Vote as Helpful" and "Mark As Answer".


    Thank You,
    Jehanzeb Javeed,
    http://worldofdynamics.blogspot.com
    Linked-In Profile |CodePlex Profile



    If you find this post helpful then please "Vote as Helpful" and "Mark As Answer".
    Tuesday, May 31, 2011 8:40 PM
  • EDIT: Okay, holy crap.  I went back and went to the Information view, instead of my New Form View.  Now I don't get the error.  You are a god among men.  will vote & mark. 

     

    TYVM.

     

    Gothca, i was in the absolute wrong place.  

    I ran the import, it gave me an error when i published, sorry for the bad formatting it was an excel spreadsheet logfile.  I then went to users and clicked new and got the same error again.

           Solution   Name UserEntity Display Name User Entity Description   Version 1.0.0.0 Package Type Unmanaged   Publisher Name DefaultPublisherBahrainDevelopmentBank Display Name Default Publisher for BahrainDevelopmentBank Description Default publisher for this organization E-mail   Web Site   City   Country/Region   Street 1   Street 2   ZIP/Postal Code   State/Province   Phone     Status Processed Message Customizations have been imported successfully. Progress [%] 100.00 Duration [s] 14.9

     

     

     

      Date/Time ItemType Id Name Localized Name Original Name Description Status ErrorCode ErrorText 13:46:59.24 Labels           Processed 0x80048026 Translated labels for the following languages could not be imported because they have not been enabled for this organization: 1025 13:46:59.26 Labels           Processed     13:47:04.74 Solution   UserEntity User Entity     Processed     13:47:04.88 Entity   SystemUser User User   Processed     13:47:04.90 System Views   SystemUser       Processed     13:47:08.93 Form   SystemUser User User   Processed     13:47:08.94 Messages   SystemUser       Processed     13:47:09.57 Entity Ribbon   SystemUser User User   Processed     13:47:09.62 Entity Relationships           Processed     13:47:13.26 Chart   SystemUser       Processed     13:47:13.33 Root Components Insertion           Processed     13:47:13.87 Dependencies Calculation           Processed    


    Tuesday, May 31, 2011 8:48 PM