Announcement

Collapse
No announcement yet.

Error description after sync with google calendar

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Error description after sync with google calendar

    Hi guys,
    Please help to solve this problem.Since after we sync with google calendar the description have error as picture attached.
    Thanks
    Attached Files

  • #2
    Hello,

    an Integration doesn't support a new Google Calendar feature Formatting Text and attachments

    Comment


    • #3
      So,what will we do now to solve this?

      Comment


      • #4
        The problem is in the difference in field type of description field. In EspoCRM it is a text (simplified markdown). Google made it html some time ago. If we strip the tags while synchronization and after you update this field in EspoCRM, you will lose text formatting in Google. So we're not sure of doing this.

        Maybe is better to change Events description field type from text to wysiwyg
        custom/Espo/Custom/Resources/metadata/entityDefs/Meetting.json
        https://forum.espocrm.com/forum/gene...wysiwyg-editor


        Last edited by tanya; 04-30-2018, 09:16 AM.

        Comment


        • #5
          Hi Tanya,
          I have just tried as attached picture.
          Please correct if I'm wrong since it's still not working.
          Attached Files

          Comment


          • #6
            missed comma after parent section, missed one } in the end.
            Your json file has to be valid. The are a lot of online json validators, you can use.

            Comment


            • #7
              Dear Tanya,
              I have correct it, but now when I click to meeting even it's loading and unable to open.
              Below is my code:
              {
              "fields": {
              "parent": {
              "entityList": [
              "Account",
              "Lead",
              "Contact",
              "Opportunity",
              "Case",
              "TSA"
              ]
              },
              "description": {
              "type": "wysiwyg",
              "view": "views/meeting/fields/description"
              }
              }
              }

              Comment


              • #8
                try "view": "views/fields/wysiwyg"

                Code:
                {
                    "fields": {
                        "parent": {
                            "entityList": [
                                "Account",
                                "Lead",
                                "Contact",
                                "Opportunity",
                                "Case",
                                "TSA"
                            ]
                        },
                        "description": {
                            "view": "views/fields/wysiwyg"
                        }
                    }
                }

                Comment


                • #9
                  Dear Tanya,
                  I have changed as your code.But description is still display as HTML like this:
                  <span style="font-size:12.0pt;font-family:&quot;Calibri&quot;,sans-serif;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-bidi-font-family:&quot;Times New Roman&quot;;color:#002060;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA">Son 0989 880 852</span>
                  Any other solution

                  Comment


                  • #10
                    Rebuild, Clear the cache and refresh the page.
                    It works, just tested

                    Comment


                    • #11
                      It’s worked.
                      Thanks Tanya

                      Comment

                      Working...
                      X