About ReactJS in iframe.html

5 Comments

  • Eric Nelson
    Zendesk Developer Advocacy
    Hey Jesse, 
     
    Try adjusting your location parameter like the example below and let me know if you have any issues:
     
      "location": {
        "support": {
          "nav_bar": {
            "url": "assets/iframe.html"
          }
        }
      },
    1
  • Jesse Zuniga

    Any luck with this? I was able to get a React app working in the top bar but once I tried to move it to the nav bar on the side I get a "Tried to show an iframe with a location that is neither absolute nor an asset" error.

    0
  • Eric Nelson
    Zendesk Developer Advocacy
    Hey Jesse,

    Can you show me the manifest file for the app in the sidebar? I've encountered this error a couple times and I don't think is react related. 
    0
  • Jesse Zuniga
    {
    "name":"",
    "author":{
    "name":"",
    "email":"",
    "url":""
    },
    "defaultLocale":"en",
    "private":true,
    "location":{
    "support":{
    "nav_bar":"assets/index.html"
    }
    },
    "version":"1.0",
    "frameworkVersion":"2.0"
    }

    0
  • Jesse Zuniga

    That was it! Thanks a lot.

    0

Please sign in to leave a comment.

Powered by Zendesk