Understanding chat canvas attributes in package.json

banner

In my previous post – Developing a custom feedback card, I had shown how to develop a custom survey / request-response card. The package.json had a bunch of attributes. In this brief post, I would like to cover some of the commonly used attributes ChatCanvasCardView. (This post does not provide an exhaustive list of attributes in ChatCanvasCardView – refer the official documentation here.)

Sample package.json

For convenience, I have numbered the attributes, which are then shown in the card screens.

package

Card UX

labelled cards

Hope that was quick and helpful!

APPENDIX

I have added this section to capture information that I add after the initial post.

labelAnotherResponse

The property for button text is labelRespondToForm (#5 in image in above section). However, when you accept multiple response and have already submitted a response – you can use the property labelAnotherResponse to have a string for subsequent responses. For example, this could have a string like “Respond Again“.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s