최근 검색
최근 검색 없음

Wilhelm Lenz
가입한 날짜: 2022년 5월 31일
·
마지막 활동: 2023년 4월 20일
팔로잉
0
팔로워
1
총 활동 수
24
투표 수
0
플랜 수
7
활동 개요
배지
문서
게시물
커뮤니티 댓글
문서 댓글
활동 개요
님의 최근 활동 Wilhelm Lenz
Wilhelm Lenz님이 에 댓글을 입력함
Hi Greg,
I have been able to solve my problem in a different way. But now I have another question...
When I replace the primary email address with a sub email address using "make_primary", it doesn't show up directly in the ticket fields and user data unless I refresh the browser. The same is when I start the reset function to reset the primary email address. The reset function always starts when I open a ticket and it works. Only the display in the UI is not updated directly, only when refreshing the browser. Sometimes the browser has to be refreshed two or three times to see the correct result in the UI.
The question is:
Is there a way to see the refresh directly without doing a browser refresh in the code? This is not very user friendly otherwise.
댓글 보기 · 2023년 4월 20일에 게시됨 · Wilhelm Lenz
0
팔로워
0
투표 수
0
댓글
Wilhelm Lenz님이 에 댓글을 입력함
Is it generally possible in Zendesk to change the Primary Email Address through the Support App (which I already do with my app) and then reset it again after submitting the ticket (which is not working right now)? When changing the primary email address through the app, a secondary email address of the end user becomes the primary email address and the primary email address becomes the secondary email address. What can I do to reset this after the agent sends the message on a ticket? I use the /users endpoint for requests. Should I rather use the endpoint /end_user? And if I should use the /end_user endpoint, do I need to change only this url parameter or also all other parameters?
Also, I can't save the Primary Email Address to a fixed point when reading to be able to access it again to reset the Primary Email Address, since the Primary Email Address reading is done from the created field. But since I change the primary email address, the field is also updated. Is it possible to lock fields against updates?
Thanks a lot for your help
댓글 보기 · 2023년 4월 12일에 게시됨 · Wilhelm Lenz
0
팔로워
0
투표 수
0
댓글
Wilhelm Lenz님이 에 댓글을 입력함
Hi Greg, I have run through this with a debbugger. This breaks after I send the ticket as an agent to the requester. However, I want it to reset the Primary Email Address right after sending the message.
댓글 보기 · 2023년 4월 12일에 게시됨 · Wilhelm Lenz
0
팔로워
0
투표 수
0
댓글
Wilhelm Lenz님이 에 댓글을 입력함
Hello Greg,
but I want to save the email to a ticket field, the code before the "client.on("ticket.submit.done")" works fine too, I have no problems with that. The problem is...
when I open a ticket as an agent and select the correct requester address in the app to send my message to the correct person, the sub email address becomes the primary email address. So that works. But if I then send the message using the "Submit as New" or "Submit as Open" or similar button in the ticket, then the Primary Email Address should be reset to the original state. Unfortunately this doesn't work and I can't currently understand why. My code after the "submit.done" works elsewhere. Inside the "submit.done" it doesn't seem to be executed though, which I find strange. Some functions or even console outputs seem to be executed, just not what I have implemented there at the moment. But as already said, the code itself works elsewhere outside of the "submit.done".
댓글 보기 · 2023년 3월 30일에 편집됨 · Wilhelm Lenz
0
팔로워
0
투표 수
0
댓글
Wilhelm Lenz님이 에 게시물을 만듦
Hi, I have developed a Zendesk Support App that overwrites the primary email address of the end user with a sub email address of the actual requester. The sub email address is an identity of the end user. The app also works fine, I can change the email addresses, at a button click in the app, and switch back. However, I am currently trying to create a reset that will automatically reset the email addresses back to their original state. This reset should be triggered after the agent replies to the requester's ticket and clicks „Submit as new".
Here is my code from the main.js:
Currently I save the original primary email address, hard coded into the ticket field "OriginalPrimaryAddress". Of course I don't want to have this. Unfortunately, I'm not sure how to restore the original primary email address!
The issue is that our customer has multiple identities for one end user. Depending on the identity from which a ticket is created, a message should also be sent to this identity from the agent. For this purpose, the support app is developed to provide this functionality and to restore the original state after each response from the agent.
Can you maybe help me there somehow or show me another possibility?
Best Regards
Wilhelm Lenz
2023년 3월 30일에 편집됨 · Wilhelm Lenz
0
팔로워
4
투표 수
6
댓글
Wilhelm Lenz님이 에 댓글을 입력함
Hello, I would like to use a self-developed support app to query the source email address of the requester from within a ticket. Could this problem be solved already? I can access the identities of the end user and get a sub email address. But I need the source to compare this with the primary email address. I want to send emails to the source email address when it does not match the primary email address of the end user.
Can someone please help me with this? Even if it just means it doesn't work.
댓글 보기 · 2023년 2월 27일에 게시됨 · Wilhelm Lenz
0
팔로워
0
투표 수
0
댓글
Wilhelm Lenz님이 에 댓글을 입력함
Hello,
maybe someone can help me with my last described problem? That would be great! I'm not getting anywhere with it right now.
댓글 보기 · 2022년 11월 04일에 게시됨 · Wilhelm Lenz
0
팔로워
1
투표
0
댓글
Wilhelm Lenz님이 에 댓글을 입력함
Hi Tipene Hughes,
Changing things from within style.css is not a problem. We have a client who runs a website for a brand. For this brand there are 3 sub-brands which all together should have a single help center. But we want to change the color of the help center depending on the URL from which it is accessed. Thereby a URL parameter should be delivered. Depending on the parameter the color of the help center should be changed. I want to do this dynamically from script.js. So far it works. But I don't want to change the color of every single block, because that would take too long and I would have to change the color every time new content is added. Therefore I would like to access the settings of the manifest.json from the script.js file to change the global colors. Now the question is, can I do this somehow?
And secondly I would like to know if I can query URL parameters from within the template? I would also like to change the logo depending on the parameters supplied. The files for this are in the assets folder. Is there a helper with which I can achieve this?
If both are possible, can you help me get this done?
댓글 보기 · 2022년 10월 26일에 게시됨 · Wilhelm Lenz
0
팔로워
1
투표
0
댓글
Wilhelm Lenz님이 에 댓글을 입력함
Hello, can I change the brand colors of a guide theme from javascript? And if so, how exactly do I do that? I haven't found anything yet how exactly I can access the manifest.json in the in the script.js to then change the colors. Can someone help me there?
댓글 보기 · 2022년 10월 24일에 게시됨 · Wilhelm Lenz
0
팔로워
1
투표
0
댓글
Wilhelm Lenz님이 에 댓글을 입력함
Hello,
I am trying to replace the logo from the script.js. I have different logos in the assets folder that I want to output depending on the URL parameters. Checking for parameters works, but unfortunately the logo image is not displayed to me because when I ask for the logo from the assets folder, the code is processed weirdly. Can someone help me?
header.hbs
script.js
And this is what comes out
댓글 보기 · 2022년 10월 19일에 게시됨 · Wilhelm Lenz
0
팔로워
0
투표 수
0
댓글