최근 검색


최근 검색 없음

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


댓글을 남기려면 로그인하세요.

원하는 정보를 못 찾으셨나요?

새 게시물