web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Suggested Answer

ReferenceError: crmCreate is not defined

(0) ShareShare
ReportReport
Posted on by 10

Hi everyone,

I am new to using Dynamics 365 and am just trying to get the basics set up.  Is anyone able to help with this error please?

Thanks,

Elysia

I have the same question (0)
  • Guido Preite Profile Picture
    54,086 Moderator on at

    where exactly did you get the error?

    can you post a screenshot?

  • Elysia Wanakore Profile Picture
    10 on at

    Morning,

    Sorry, I didn't realise you had posted.  

    Hope this helps

    pastedimage1659122170135v1.png

    Also some error details.

    Error Details:
    Event Name: onload
    Function Name: Mscrm.Form_onload
    Web Resource Name: ConvertRuleItem_main_system_library.js
    Solution Name: System
    Publisher Name: MicrosoftCorporation

  • Elysia Wanakore Profile Picture
    10 on at

    I'm currently working in 'Record Creation and Update Rule' in Customer Service Admin Center

  • Guido Preite Profile Picture
    54,086 Moderator on at

    looks like an internal error to me, you will need to open a support ticket with Microsoft

  • Elysia Wanakore Profile Picture
    10 on at

    Ok, will do.  Thank you.

  • Suggested answer
    KK-365 Profile Picture
    1,010 on at

    Hi,

    Looks like there is a script written on the form which is checking few parameters on load of the form.

    If you are system admin, you can check the scripts written on the form and try deactivating for testing, however to investigating further you will have to provide more details. (like the script code.)

  • Suggested answer
    CRMJetty Profile Picture
    3,514 on at

    Hello,

    https://www.inkeysolutions.com/blogs/resolve-the-error-in-the-automatic-record-creation-rules-of-the-queue-entity-when-the-sender-of-the-email-is-a-contact-as-well-as-a-user-in-the-microsoft-dynamics-365/

    I hope it helps,

    Thanks.

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365.

  • nickmanny Profile Picture
    136 on at

    If you are using a script file and receive the error message "Uncaught ReferenceError: crmCreate is not defined," it means that 'crmCreate' is either a variable or a method that you are attempting to use before declaring it using the var keyword. This error indicates that there is a reference to a non-existent variable somewhere in the code. To fix this error, you need to declare the variable or ensure that it is available in the current script or scope. If the variable is not available, it may indicate that the library is not loaded, and JavaScript does not recognize 'crmCreate'.

    To solve this error: Load your library at the beginning of all your scripts.

    There can be multiple other reasons for this issue:

    • Conflict with Other Libraries
    • Path to your library included is not correct
    • Llibrary file is corrupted
    • Working offline (when you use CDN)
  • Suggested answer
    Shawnsauve Profile Picture
    1,100 on at

    The error message you're seeing indicates that the function "crmCreate" is not defined or cannot be found in the current context. This function is typically used to create new records in Dynamics 365.

    Here are some possible reasons why you might be seeing this error:

    1. Incorrect function name: Double-check that the function name is spelled correctly and that the correct case is used. It should be "crmCreate" with a lowercase "c".

    2. Missing library reference: Make sure that the necessary library references are included in your code. The crmCreate function is part of the Dynamics 365 client-side SDK, so you'll need to reference the SDK in your code to use it.

    3. Timing issue: If you're running the code before the necessary scripts have loaded, you may see this error. Make sure that your code is executed after the necessary scripts have finished loading.

    If you're still having trouble after checking these items, please provide more context about when and where the error is occurring, as well as any relevant code snippets. This will help me provide more specific guidance.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 51 Super User 2026 Season 1

#1
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 51 Most Valuable Professional

#3
Nagaraju_Matta Profile Picture

Nagaraju_Matta 50

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans