最近搜索


没有最近搜索

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


请先登录再写评论。

找不到所需的内容?

新建帖子