Recherches récentes


Pas de recherche récente

About ReactJS in iframe.html



Publication le 18 janv. 2022

Using iframe.html of Zendesk is it possible ReactJS can be integrate or will be use in iframe.html? I tried to use iframe.html only and it is working without react. But after I installed react, npm start my app is not working on the apps sidebar. I want to achieve is to run reactjs application in iframe.html.


0

5

5 commentaire

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


image avatar

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


{
"name":"",
"author":{
"name":"",
"email":"",
"url":""
},
"defaultLocale":"en",
"private":true,
"location":{
"support":{
"nav_bar":"assets/index.html"
}
},
"version":"1.0",
"frameworkVersion":"2.0"
}

0


image avatar

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


That was it! Thanks a lot.

0


Vous devez vous connecter pour laisser un commentaire.

Vous ne trouvez pas ce que vous cherchez ?

Nouvelle publication