Can I create dictionary in UiPath studio and add items to it?

0 votes
I want to create dictionary in UiPath and also wants to manipulate it by adding items to it. Can I do it in UiPath Studio?
Mar 13 in RPA by Rumani
1,638 views

1 answer to this question.

0 votes

Hey @Rumani, you can definitely create dictionary in UiPath using Add To Dictionary. But for that you need Microsoft.Activities.Extension package, as all the dictionary activities are a part of this package. To install the Microsoft.Activities.Extension package and create dictionary, follow these steps:

1. Create a new Process and then click on Manage Packages. Now search for Microsoft.Activities.Extension in search bar. Install this package and click Save.

2. Then create a Sequence and inside it call Add to Dictionary activity. Create dict variable using CTRL + K. 

3. Now simply enter the Key and Value which you want in pair and similarly add more Add to Dictionary activities to add more items to the dictionary.

Finally you have your dictionary in which you can perform any action you want like Looping through the dictionary or Key Exists in Dictionary etc.

answered Mar 13 by Abha
• 22,960 points

Related Questions In RPA

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Automation in Uipath

you can use the Database package for connecting  ...READ MORE

answered Apr 17, 2018 in RPA by wrecker
• 3,110 points
316 views
0 votes
1 answer

UiPath vs Workfusion

in WorkFusion, you can create a script ...READ MORE

answered Apr 17, 2018 in RPA by wrecker
• 3,110 points
1,017 views
0 votes
1 answer

Surface automation in rpa?

Surface automation is a visual automation that is done using ...READ MORE

answered Apr 20, 2018 in RPA by wrecker
• 3,110 points
456 views
0 votes
1 answer

Private Chrome window open UiPath

To open the browser in private mode, ...READ MORE

answered Apr 25, 2018 in RPA by wrecker
• 3,110 points
386 views
0 votes
1 answer
0 votes
1 answer

What is Get Attribute activity and how it can be used in UiPath Studio?

Hey @vaani, Get Attribute activity in UiPath ...READ MORE

answered Mar 20 in RPA by Abha
• 22,960 points
445 views