Error on Create Form

Getting this below error on while click on Create Form option. Please help to resolve on same.

Error as below -
Method not found: ‘UiPath.Form.ActivityLibrary.Contracts.FormModel UiPath.Form.ActivityLibrary.FormLibrary.DesignForm(System.String, UiPath.Form.ActivityLibrary.Contracts.FormOptions.FormDesignOptions)’.

Logs as below -
23.10.0+Branch.master.Sha.e038c5a32a4f890ba12a3c04ac465dc8811521e0

Method not found: ‘UiPath.Form.ActivityLibrary.Contracts.FormModel UiPath.Form.ActivityLibrary.FormLibrary.DesignForm(System.String, UiPath.Form.ActivityLibrary.Contracts.FormOptions.FormDesignOptions)’.

Error: System.Exception: Method not found: ‘UiPath.Form.ActivityLibrary.Contracts.FormModel UiPath.Form.ActivityLibrary.FormLibrary.DesignForm(System.String, UiPath.Form.ActivityLibrary.Contracts.FormOptions.FormDesignOptions)’.
at UiPath.Form.Activities.Design.FormActivityDesigner.OpenFormDesigner(Object sender, RoutedEventArgs e)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
at System.Windows.Controls.Primitives.ButtonBase.OnClick()
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler), HResult -2146233069

Try updating packages & studio to latest version.

Hi @amitbhuvad2,

Please use the Dependancy to Utilize the Form Task,

UiPath.Form.Activities: 2.0.2,
UiPath.FormActivityLibrary.Contracts: 2.0.5,
UiPath.Persistence.Activities: 1.4.6

Hope it will be helpful

Thanks in advance,
Jayavignesh G

Hi,

Yes, All are updated till latest versions (Packages and setup ver 23.10.0.0).

Hi Jayavignesh,

I have updated this above two versions but last one not found same there having 1.4.0 only but after updating that as well getting same error.

Please help to resolve.

Hi @amitbhuvad2 ,

Could you maybe provide Screenshot of the Dependencies used along with the Studio version ?

Hi Arpan,

Please find the error ss and Logs in attachment for ref. and Studio Version 23.10.0.0

Dependencies means packages?? Please confirm on this point.Processing: SS2.PNG…

Yes. Do share the screenshot of the same.

Hi,

PFA SS.

@amitbhuvad2 ,

Could you try uninstalling the FormActivityLibrary and FormActivityLibrary.Contracts packages and check ?

I believe these are not required as you are using Local Form Activities and not the Action Center Forms.

If uninstall this UiPath.Form.Activites getting below error

@amitbhuvad2 ,

Is it possible for you to provide that workflow in here? We can test the same at our end with your workflow.

Hi Jay,

That previous issue resolved as downgrade the package versions as you suggested in your email.

I made one module where I design 3 pages from login to data entry using use application/browser then all are opening correctly but all are used to new browser tab to open.

I need to open this pages only in one browser tab like Login page → Index page → Inventory Page.

How it possible. Please suggest.

Thanks and regards,