Forums

Forums / Developing Portals / Retrieve the Response from dynamics CRM

Retrieve the Response from dynamics CRM

Thread is closed for posting
2 posts, 1 answered
  1. mallikarjun H
    mallikarjun H avatar
    2 posts
    Registered:
    04 Feb 2019
    04 Feb 2019
    Link to this post
    Currently we want to get the response back from an entity form on click of submit . The post submit event is not giving the exact information. if there is an error from the crm side we are unable to get the exact error back on the post submit event in portal connector, as it gives generic error telling "There was problem with the firm submission,Your submission will be queued manually.  Please suggest if there is any possible way to solve this?
    Last modified on 07 Feb 2019 09:02 by mallikarjun H
  2. Josh
    Josh avatar
    47 posts
    Registered:
    01 Jun 2018
    Answered
    29 Oct 2019 in reply to mallikarjun H
    Link to this post

    Hello Mallikarjun,

    If a form submission fails on The Portal Connector, it provides the user with the generic message you have noted. This is intentional as it prevents the user from seeing information regarding your CRM. As a Backend User on Sitefinity, you can view the exact cause of the Form Submission error by navigating to The Portal Connector – Error Log.

    In order to get to the Portal Connector – Error Log, under the Administration link in the Sitefinity Backend click on Portal Connector Configuration. You will see a secondary Navigation on the left, and under The Portal Connector heading click Error Handling. There will be a button labelled View Error Logs, which will open all of the errors thrown by The Portal Connector.

    Administration -> Portal Connector Configuration -> The Portal Connector -> Error Handling -> View Error Logs

    In this list of errors you should see an error with a title similar to Form Submission Error: Dynamics CRM. You can open up this record to view more information on the error and the stack trace.

    Additionally, if you would like to show the CRM errors on the TPC Form front-end or a custom error message of your choice, this can be accomplished through the TPC Form Manager. If you click Edit on the TPC Form Manager, click the tab labeled Error Handling. Within this tab, you can enable the checkbox titled Show Error. This will show CRM errors in the TPC Form submission error message. You can also enable the checkbox labeled Show Custom Error which will allow you to explicitly define the error message that is shown when the form processing fails.
     
    {TPC Form Manager} -> Edit -> Error Handling -> Show Error -> (optional) Show Custom Error

    If you have any other questions please feel free to reply to this thread, or for more complex issues you can email support@crmportalconnector.com.

    Cheers,

    Josh

    Last modified on 30 Oct 2019 14:10 by Josh
2 posts, 1 answered