Hi,
in CustomFormData, the ToggleInput control don't work. When i try to add it into the "Form" i have this error:
Message = Unexpected character encountered while parsing value: $. Path 'body[0].title', line 1, position 128.
Error = AdaptiveCards.AdaptiveSerializationException
Full-text = AdaptiveCards.AdaptiveSerializationException: Unexpected character encountered while parsing value: $. Path 'body[0].title', line 1, position 128. ---> Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: $. Path 'body[0].title', line 1, position 128.
in Newtonsoft.Json.JsonTextReader.ParseValue()
in Newtonsoft.Json.Linq.JContainer.ReadContentFrom(JsonReader r, JsonLoadSettings settings)
in Newtonsoft.Json.Linq.JContainer.ReadTokenFrom(JsonReader reader, JsonLoadSettings options)
in Newtonsoft.Json.Linq.JObject.Load(JsonReader reader, JsonLoadSettings settings)
in AdaptiveCards.AdaptiveCardConverter.ReadJson(JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer)
in Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable(JsonConverter converter, JsonReader reader, Type objectType, Object existingValue)
in Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
in Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
in Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
in Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
in AdaptiveCards.AdaptiveCard.FromJson(String json)
--- Fine della traccia dello stack dell'eccezione interna ---
in AdaptiveCards.AdaptiveCard.FromJson(String json)
in Microsoft.Flow.RPA.Desktop.Designer.UI.AdaptiveCardsDesigner.ViewModel.AdaptiveCardDesignerViewModel.RenderCard()
in Microsoft.Flow.RPA.Desktop.Designer.UI.AdaptiveCardsDesigner.ViewModel.AdaptiveCardDesignerViewModel.UpdateCard()
in Microsoft.Flow.RPA.Desktop.Designer.UI.AdaptiveCardsDesigner.ViewModel.AdaptiveCardDesignerViewModel.Drop(IDropInfo dropInfo)
in GongSolutions.Wpf.DragDrop.DragDrop.DropTargetOnDrop(Object sender, DragEventArgs e, EventType eventType)
in System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
in System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
in System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
in System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
in System.Windows.OleDropTarget.RaiseDragEvent(RoutedEvent dragEvent, Int32 dragDropKeyStates, Int32& effects, DependencyObject target, Point targetPoint)
in System.Windows.OleDropTarget.MS.Win32.UnsafeNativeMethods.IOleDropTarget.OleDrop(Object data, Int32 dragDropKeyStates, Int64 point, Int32& effects)
in MS.Win32.UnsafeNativeMethods.DoDragDrop(IDataObject dataObject, IOleDropSource dropSource, Int32 allowedEffects, Int32[] finalEffect)
in System.Windows.OleServicesContext.OleDoDragDrop(IDataObject dataObject, IOleDropSource dropSource, Int32 allowedEffects, Int32[] finalEffect)
in System.Windows.DragDrop.OleDoDragDrop(DependencyObject dragSource, DataObject dataObject, DragDropEffects allowedEffects)
in System.Windows.DragDrop.DoDragDrop(DependencyObject dragSource, Object data, DragDropEffects allowedEffects)
in GongSolutions.Wpf.DragDrop.DragDrop.DragSourceOnMouseMove(Object sender, MouseEventArgs e)
in System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
in System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
in System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
in System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
in System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
in System.Windows.Input.InputManager.ProcessStagingArea()
in System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
in System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
in System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
in System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
in System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
in MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
in MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
in System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
in System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
The error is generated both adding it to an empty or a full form
😭 any suggestions?

Report
All responses (
Answers (