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

Notifications

Announcements

No record found.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 81 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 49 Most Valuable Professional

#3
#ManoVerse Profile Picture

#ManoVerse 40

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans