Daniel_H-E
(Daniel H-E)
January 17, 2023, 8:57pm
1
Hi
I have a Dictionary(Of String, String) in my solution which im using to manage variables.
I’m trying to use the Dictionary activities shown below:
Watching youtube videos on youtube and reading fourm posts e.g. how-to-clear-the-dictionary-using-clear-dictionary-activity
I should be expecting the following popup when using this Dictionary Activities:
But i never get this popup instead these activities default to
With no option to change the TKey or TValue.
My project is in Windows-Legacy, looking to convert to Windows shortly.
The Microsoft Activities package is included in my project
Yoichi
(Yoichi)
January 17, 2023, 11:55pm
3
Hi,
It seems problem in Studio 22.10 or later.
We can set desired Type editing xaml file directly as the following.
My project is in Windows-Legacy, looking to convert to Windows shortly.
If you are going to convert it to Windows project, it’s better to use other way instead of AddDictionary activity because Microsoft.Extensions.Activities package doesn’t support Windows project. The following post also helps you.
Introduction
When changing from Windows Legacy to Windows target framework the package: Microsoft.Activities.Extensions is no longer available. This package offered a few Activities for working with Dictionaries.
[grafik]
Issue
As the package is not available, so also the offered activities are no longer available and alternate handling is needed.
Workaround
Instead of using the activities from above, the same result can be achieved with the following options, mostly done on .Net API base.
…
Regards,
1 Like
Daniel_H-E
(Daniel H-E)
January 18, 2023, 12:18am
4
Thanks for the solution, for now I’ll continue using the Assign activities
1 Like
alexandru
(Alexandru Roman)
January 29, 2023, 11:14am
7
This sounds like a bug. Will look into fixing this.
Hi Alexandru,
Has the bug in UiPath Studio been fixed?