최근 검색


최근 검색 없음

Sending a ticket from Ticket list screen the custom fields configuration is ignored.



2022년 3월 16일에 게시됨

Hello,

We have multiple integrations between our Mobile Apps and Zendesk via Zendesk SDK, while also using the Zendesk Guide Help Center. We found a problem using HelpCenterActivity in Android.

We set a RequestActivityConfig to add some custom fields to our tickets, but found that the next code works only when sending a ticket from "Help Center Articles list" screen and "Help Center Article Detail" screen, but  sending a ticket from "Ticket list" screen.

If the user navigate to the ticket list screen then this configuration is ignored.

val requestActivityConfig:

Configuration =
    RequestActivity.builder()
        .withCustomFields(
            listOf(
                CustomField(customFieldApp, context.getString(R.string.zendesk_app_name)),
                CustomField(customFieldZone, getSelectedZoneIdUseCase()),
                CustomField(customFieldMobileOs, "Android"),
                CustomField(customFieldDeviceModel, Build.MODEL),
                CustomField(customFieldAppVersion, context.packageManager.getPackageInfo(context.packageName, 0).versionName),
                CustomField(customFieldOsVersion, Build.VERSION.SDK_INT.toString())))
        .config()val categoryId = Long.parseLong(context.getString(R.string.zendesk_category_id))

    HelpCenterActivity.builder()
        .withArticlesForCategoryIds(categoryId)
        .show(context, requestActivityConfig)

Thanks and regards,

Fernando


0

2

댓글 2개

image avatar

Greg Katechis

Zendesk Developer Advocacy

Hi Fernando! Can you confirm that you don't have another request builder elsewhere that is being used instead of this one? That would be the most likely reason that I could see. 

0


Hi Greg Katechis we confirm that we do not have any other builder and we only use the .show() method on the HelpCenterActivity builder.

0


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

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

새 게시물