최근 검색
최근 검색 없음

Ned Petrov
가입한 날짜: 2024년 1월 16일
·
마지막 활동: 2024년 12월 02일
팔로잉
0
팔로워
0
총 활동 수
44
투표 수
7
플랜 수
16
활동 개요
배지
문서
게시물
커뮤니티 댓글
문서 댓글
활동 개요
님의 최근 활동 Ned Petrov
Ned Petrov님이 에 댓글을 입력함
Hello,
The scheduler in the new builder is missing the option to set a custom email subject. This is something we are using with the legacy tool and would like to know if there are any plans to implement it in the new one.
Thanks
댓글 보기 · 2024년 12월 02일에 게시됨 · Ned Petrov
0
팔로워
1
투표
0
댓글
Ned Petrov님이 에 댓글을 입력함
Hi Salman,
You can use POST /api/v2/users
to create a new user.
More details here: https://developer.zendesk.com/api-reference/ticketing/users/users/#create-user
Ned
댓글 보기 · 2024년 11월 04일에 게시됨 · Ned Petrov
0
팔로워
0
투표 수
0
댓글
Ned Petrov님이 에 댓글을 입력함
Hi PR,
I'm unable to figure out how the “Update Translation” endpoints should be used. Maybe someone else can explain.
What I can suggest is to go over all articles with the API and create a new article with the correct locale for each one, and then delete the one with the wrong locale.
Ned
댓글 보기 · 2024년 7월 04일에 게시됨 · Ned Petrov
0
팔로워
0
투표 수
0
댓글
Ned Petrov님이 에 댓글을 입력함
I managed to get it working somehow using the guide here:
https://developerblog.zendesk.com/making-modals-work-in-zaf-v2-251b7c940e58
Here are some snippets from my code as it might be useful to someone:
modal.html___________________
Calling the Modal______________
const openFileModal = useCallback(
async (url: string) => {
try {
const client = getZendeskClient()
const context = await client.context()
const parent_guid = context.instanceGuid
const modalContext = await client.invoke("instances.create", {
location: "modal",
url: `assets/modal.html#parent_guid=${parent_guid}`,
size: { width: "80vw", height: "70vh" },
})
const modalClient = client.instance(
modalContext["instances.create"][0].instanceGuid,
)
const setHtml = () => {
const modalContentString = renderToString(
fileType === "image" ? (
) : (
),
)
modalClient.trigger("drawData", modalContentString)
client.off("modalReady", setHtml)
}
client.on("modalReady", setHtml)
modalClient.on("modal.close", () => {})
} catch (error) {
console.error("Failed to open modal:", error)
}
},
[fileType],
)
Ned
댓글 보기 · 2024년 5월 30일에 게시됨 · Ned Petrov
0
팔로워
0
투표 수
0
댓글
Ned Petrov님이 에 댓글을 입력함
Hi,
I'm experiencing the same issue. Unfortunately, the solution was not shared here.
I have a similar code and everything is working fine, and the modal is getting populated with the expected data, but once I move to a different opened ticket tab and open a modal, the window appears, but it remains empty.
This is the code I'm using to open the modal:
const openFileModal = useCallback(async (url: string) => {
try {
const client = getZendeskClient()
const modalContext = await client.invoke("instances.create", {
location: "modal",
url: "assets/modal.html",
size: { width: "80vw", height: "70vh" },
})
const modalClient = client.instance(
modalContext["instances.create"][0].instanceGuid,
)
const setHtml = () => {
const modalContentString = renderToString(
fileType === "image" ? (
) : (
),
)
modalClient.trigger("drawData", modalContentString)
client.off("modalReady", setHtml)
}
client.on("modalReady", setHtml)
modalClient.on("modal.close", () => {})
} catch (error) {
console.error("Failed to open modal:", error)
}
}, [])
Ned
댓글 보기 · 2024년 5월 30일에 게시됨 · Ned Petrov
0
팔로워
0
투표 수
0
댓글
Ned Petrov님이 에 댓글을 입력함
Ned Petrov님이 에 댓글을 입력함
Hi Jacob,
Is the custom field ID the same in your request and in the error? Just wondering if you have other mandatory custom fields required to open a request. And make sure to put the value tag and not the value you see when viewing the ticket.
For testing purposes, you can try to disable the custom field and see if the request will work without it.
Ned
댓글 보기 · 2024년 5월 21일에 편집됨 · Ned Petrov
0
팔로워
0
투표 수
0
댓글