ToastContentBuilder AdaptiveText wrapped in curly braces #4594
Replies: 4 comments 4 replies
-
FYI @vaheeshta to help with this question. |
Beta Was this translation helpful? Give feedback.
-
Hi @clemvdm, thank you for your question. You are missing one step after creating your Adaptive Text. You should be adding your Adaptive Text to an Adaptive Subgroup. Once you've done that, you can add that Adaptive Subgroup to the Adaptive Group. Let me know if that helps! |
Beta Was this translation helpful? Give feedback.
-
Hi @vaheeshta ... I had over simplified my example, but adding the Adaptive Text to an Adaptive Sub Group results in the same issue. See below:
|
Beta Was this translation helpful? Give feedback.
-
Your code flow is correct, I double checked in C# and there are no extra brackets. Powershell looks to be the suspect in adding the extra brackets here. @andrewleader, do you have any idea what may be wrong? |
Beta Was this translation helpful? Give feedback.
-
When running the below code in PowerShell:
The code results in the AdaptiveText being wrapped in curly braces. See below image:
Any help in displaying the AdaptiveText without the curly braces would be greatly appreciated :)
Beta Was this translation helpful? Give feedback.
All reactions