Hello,
I want to implement the @tag user functionality in the conversation (comment section). I am new to Appian. Can you please help me with this?
Discussion posts and replies are publicly visible
https://appian.rocks/2023/06/05/highlighting-stuff-in-text/
If you're thinking of the @tag style functionality that exists in, for example, this discussion forum, then there isn't an out-of-the-box method for this. You could so something like this (it's a bit basic but may give you an idea):
a!localVariables( local!users: { "A Aardvark", "B Bat", "C Cheetah", "D Dingo", "E Elephant" }, { a!paragraphField( refreshAfter: "KEYPRESS", label: "Notes", value: ri!paragraphText, saveInto: { ri!paragraphText } ), a!buttonArrayLayout( align: "START", buttons: { a!buttonWidget( label: "Refesh to substitue @ for list of users", icon: "REFRESH", showWhen: fn!find("@", ri!paragraphText) > 0, saveInto: { a!save( ri!paragraphText, substitute( ri!paragraphText, "@", fn!joinarray(local!users, "|") ) ) } ) } ) } )
prashantk3550 said:I want to implement the @tag user functionality in the conversation (comment section)
When you say functionality, do you expect the tagged users to receive any emails or update regarding that mention?
Hello Konduru,Not really requirement from business to send any notification on email we just wanted to tag user using the @ symbol as we can do it on social media like Linked In