Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I am working with a social integration app that the user can message to our facebook page and it will create a ticket in zendesk console. However I added some condition for the end user to not let the api trigger by using this tag : {^%endusers%^}} . Zendesk navigation will show the name of the facebook user follow by the last message. Here is what happen:

enter image description here

Inside the console itself the text was hidden:

enter image description here

I already set the display to none for it and here is the code:

   public static final String hiddenTriggerText = "<span style='display:none'>{{^%endusers%^}}</span>"

and here is the json body that will append the tag to every end-user message to not let the api trigger:

 {
                    "ticket": {
                        "tags": ["$GeneralConstant.TicketTag","$GeneralConstant.ticketFacebookTag"],
                        "requester_id": ${passedFacebookJsonDataReq.zendeskId},
                        "external_id": "${passedFacebookJsonDataReq.userId}",
                        "status": "${zendeskFormattedTicketStatus}",
                        "comment": {
                        "html_body": "${commentRemarks} ${GeneralConstant.hiddenTriggerText} ${facebookInputMessageTextFormatted}", "author_id": ${passedFacebookJsonDataReq.zendeskId}
                        }
                    }
                }

question from:https://stackoverflow.com/questions/66057165/zendesk-console-header-showing-hidden-string

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
166 views
Welcome To Ask or Share your Answers For Others

1 Answer

Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share

548k questions

547k answers

4 comments

86.3k users

...