最近搜索


没有最近搜索

zendesk support app (react to nav_bar)



已于 2024年10月30日 发布

Hello. I am trying to develop a Zendesk support app in react. However, when I create a project with zcli apps:new – scaffold=react, Manifest.json has "location": 

        { "support": 

                  { "ticket_sidebar": { 

                         "url": "http://localhost:3000/", 

                          "flexible" : true } } },

 but I want to create an app with nav_bar, not ticket_sidebar. 

Q1. If I set it to nav_bar, should I set the option to "location": { "support": { "nav_bar": “http:localhost:3000” } },? 

Q2. If you write like Q1 and run npm run build, it will be written like this: "location": { "support": { "nav_bar": { "0": "h", "1": "t", "2": "t", " 3": "p", "4": "s", "5": ":", "6": "/".

  Q3. Should I write nav_bar like this: Assets/index.html?


0

3

3 条评论

image avatar

Erica Girges

Zendesk Developer Advocacy

Hello! Thank you for posting your questions in the community! By default, ticket sidebar is set as your location. You can change this as shown in our docs here. The url should point to wherever the content lives you want displayed in the iFrame of your app. If this is a server side app you would put the url of that resource from the external server.  If this isn't a server side app and UI/functionality will be developed directly in your app then you can list assets/index.html. Hope this helps!

0


请先登录再写评论。

找不到所需的内容?

新建帖子