Recent searches


No recent searches

zendesk support app (react to nav_bar)



Posted Oct 30, 2024

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 comments

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


Please sign in to leave a comment.

Didn't find what you're looking for?

New post