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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

Web to case setup

(1) ShareShare
ReportReport
Posted on by 8
Hi
 
I am unable to setup web-to-case in crm. Dont we have optin in dynamics crm. Can some help on that...
 
 
Thanks
Phani.
 
 
I have the same question (0)
  • Dengliang Li Profile Picture
    Microsoft Employee on at
    Hi,
     
    Could you clarify in detail what the web is referring to?
    The automatically create of update records supports the conversion of the following activities to cases.
     
    Best Regards,
    Dengliang Li
     
     
     
     
  • phanikumar Profile Picture
    8 on at
    Hi Dengliang Li,
     
    Something similar to web to lead. just to have html code and on submission case to be created on CRM.
     
  • Verified answer
    Dengliang Li Profile Picture
    Microsoft Employee on at
    Hi,
     
    In my test, I created a static HTML form page locally.
    In CRM, request data is accepted via flow and transformed into case records.
     
    The code is shown below:
    <body>
        <form action="#" method="post">
            <div><label for="subject">Subject: </label><input type="text" name="subject" id="subject"></div>
           <div><label for="customer">Customer: </label><input type="text" name="customer" id="customer"></div>
            <br>
            <button type="submit">submit</button>
        </form>
    </body>
     
    <script>
        var form = document.querySelector("form");
     
        form.addEventListener("submit",(e)=>{
            e.preventDefault();
     
            //This URL comes from the flow trigger when an HTTP request is received.
            const url="<HTTP POST URL>";
           
            const xhr = new XMLHttpRequest();
            xhr.open("POST",url);
            xhr.setRequestHeader("Content-Type","application/json");
     
            let body={
                "subject":document.forms[0]['subject'].value,
                "customer":document.forms[0]['customer'].value
            }
            xhr.send(JSON.stringify(body));
        })
    </script>
    The flow is shown below.
     
    Additionally, if you want to convert marketing form submission data into custom entity records, you can refer to the following link.
     
    If my answer was helpful, please click Like, and if it solved your problem, please mark it as verified to help other community members find more.
    If you have further questions, please feel free to contact me .
     
    Best Regards,
    Dengliang Li
     
  • Dengliang Li Profile Picture
    Microsoft Employee on at
    Hi,
     
     
  • phanikumar Profile Picture
    8 on at
    Hi Dengliang Li,
     
    Thanks for your idea of html and sample code, its working.
     
     
  • phanikumar Profile Picture
    8 on at
    Hi Dengliang Li,
     
    I have one issue posted on community, can you please suggest for the below question.
     
    Thanks 
    Phani.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 193 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 128

#3
CU11031447-0 Profile Picture

CU11031447-0 100

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans