I am unable to install Microsoft.Activies.Extension. Showing No comaptiable version with windows projects. Not able to find Windows-Legacy in Compatability. Using UiPath 2024 edition. Guide me.
Thankq.
ppr
(Peter Preuss)
April 30, 2024, 4:13pm
2
have a look here introducing into the topic of Legacy-to-Windows Conversion
About this [InfoSet] - LegacyToWindows Migration series
The [InfoSet] series summarise a topic and offer information resources of different kinds. The topic of Legacy-to-Windows migration was chosen for the [InfoSet] series to provide initial help.
This information index is the landing page that lists all the different information resources.
Blogs
Tools & Guides
Blueprint Block
Topic
Registration / Inventorisation / Prototyping
Jump Start Guide - A series of questions and a check…
when it is related to Dictionary have a look here
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. …
Otherwise let us know which activities were focussed, so we can check the alternates
lrtetala
(Lakshman Reddy)
April 30, 2024, 4:13pm
3
Hi @Suguneswari_Veeramalla
Please check below thread
Regards,
Thanks Anil,
Actually I want to use Add to Dictionary Activity( key, value). It is not visible in 2024 edition. Can you Guide me how to install Add to Dictionary with out using Microsof.Acctivities.Extensions.
lrtetala
(Lakshman Reddy)
May 1, 2024, 8:06am
6
Hi @Suguneswari_Veeramalla
Please check this
HI @Carla_Munoz
you can do this way
Take assign activity and Initialize the dictionary
invoiceDictionary = New Dictionary(of string,string)
Take invoke method activity and pass like this
[image]
in the properties of invoke method you can pass like this
[image]
output : -
[image]
note : invoiceDictionary variable type is System.collections.generic.Dictionary(Of String, String)
Regards,
Anil_G
(Anil Gorthi)
May 1, 2024, 8:12am
7
@Suguneswari_Veeramalla
Just use an assign activity and
Dict("key") = "value"
To initalize use New Dict(Of String,String) dependinng on type change string and object if that is the case
Cheers
what about Add to Collection activity. Any alternativie for this too.
Thankq.
ppr
(Peter Preuss)
May 1, 2024, 12:41pm
9
Code Option
myCollectionVar = myCollectionVar.Append(myItem).ToList | or toArray
This HowTo gives an introductory overview of the conjunction operators: Concat, Append, Prepend
Introduction
The conjunction operators are used to add the item(s) to a particular set of items.
Concat, Append, Prepend Operator
The Concat Operator combines a set of items with another set of items
The Append Operator adds an item to a set of items on the end
The Prepend Operator adds an item to a set of items on the begin
Overview
I – Input
P – Processing
O – Output
{"A","B"} / {"C",…
Activity option:
The UiPath Documentation Portal - the home of all our valuable information. Find here everything you need to guide you in your automation journey in the UiPath ecosystem, from complex installation guides to quick tutorials, to practical business...
OR
The UiPath Documentation Portal - the home of all our valuable information. Find here everything you need to guide you in your automation journey in the UiPath ecosystem, from complex installation guides to quick tutorials, to practical business...