# \#code

**URL:** https://forum.uipath.com/tag/code/2306.md

[Latest](https://forum.uipath.com/latest.md) · [Categories](https://forum.uipath.com/categories.md) · [Tags](https://forum.uipath.com/tags.md)

---

## [How to make Library Activities available in coded workflows](https://forum.uipath.com/t/how-to-make-library-activities-available-in-coded-workflows/5776992)

<div class="topic-metadata">

**Author:** [@Jon\_Smith](https://forum.uipath.com/u/Jon_Smith)\
**Replies:** 2\
**Last updated:** [September 15, 2026, 5:34pm UTC](https://forum.uipath.com/t/how-to-make-library-activities-available-in-coded-workflows/5776992 "2026-09-15T17:34:57Z")

</div>

Coded workflows are really useful, and becoming even more useful with the rapid rise of coding agents, however a gap (at least in knowledge) that has existed for a few years is how to make your custom library activities …

---

## [SapGui.Wrapper - strongly-typed SAP GUI scripting for Coded Workflows (feedback welcome!)](https://forum.uipath.com/t/sapgui-wrapper-strongly-typed-sap-gui-scripting-for-coded-workflows-feedback-welcome/5728237)

<div class="topic-metadata">

**Author:** [@AlexRivas](https://forum.uipath.com/u/AlexRivas)\
**Replies:** 3\
**Last updated:** [April 3, 2026, 9:40am UTC](https://forum.uipath.com/t/sapgui-wrapper-strongly-typed-sap-gui-scripting-for-coded-workflows-feedback-welcome/5728237 "2026-04-03T09:40:50Z")

</div>

Hey everyone :waving\_hand: I’ve just released SapGui.Wrapper v1.0.0, a NuGet library I’ve been building to make SAP GUI automation with Coded Workflows feel like proper C# instead of VBScript wrapped in COM. The probl…

---

## [Getting selector from UiElement is slow](https://forum.uipath.com/t/getting-selector-from-uielement-is-slow/5682732)

<div class="topic-metadata">

**Author:** [@rickard.nordstrom](https://forum.uipath.com/u/rickard.nordstrom)\
**Replies:** 1\
**Last updated:** [November 17, 2025, 10:00am UTC](https://forum.uipath.com/t/getting-selector-from-uielement-is-slow/5682732 "2025-11-17T10:00:32Z")

</div>

Hello I have to iterate over about 2k elements and get the elemewnts selector. How ever, I find it very slow to read the selector from the element. It takes between 700-1300ms for each elements. Code below shows how I …

---

## [Invoking Low-Coded Activities in Coded Workflows](https://forum.uipath.com/t/invoking-low-coded-activities-in-coded-workflows/771301)

<div class="topic-metadata">

**Author:** [@edevries](https://forum.uipath.com/u/edevries)\
**Replies:** 2\
**Last updated:** [October 4, 2024, 6:41am UTC](https://forum.uipath.com/t/invoking-low-coded-activities-in-coded-workflows/771301 "2024-10-04T06:41:50Z")

</div>

Hello, Has anyone discovered how to leverage UiPath low-code activities best in coded workflows? I know that within a coded workflow, you can invoke a low-code workflow. However, there does not seem to be a way to invok…

---

## [Errors when invoking coded workflows in libraries](https://forum.uipath.com/t/errors-when-invoking-coded-workflows-in-libraries/767897)

<div class="topic-metadata">

**Author:** [@Timothy\_Morris](https://forum.uipath.com/u/Timothy_Morris)\
**Replies:** 2\
**Last updated:** [September 19, 2024, 5:45am UTC](https://forum.uipath.com/t/errors-when-invoking-coded-workflows-in-libraries/767897 "2024-09-19T05:45:31Z")

</div>

Hi all, Example.zip (190.4 KB) Can someone please help me understand why I am getting this NullReferenceException when invoking this coded workflow (that is in a published library) from a coded workflow in a process? I…

---

## [How to register an instance for dependency injection?](https://forum.uipath.com/t/how-to-register-an-instance-for-dependency-injection/760923)

<div class="topic-metadata">

**Author:** [@Timothy\_Morris](https://forum.uipath.com/u/Timothy_Morris)\
**Replies:** 1\
**Last updated:** [September 9, 2024, 8:39am UTC](https://forum.uipath.com/t/how-to-register-an-instance-for-dependency-injection/760923 "2024-09-09T08:39:50Z")

</div>

Hi all, I am trying to register a service for dependency injection in my coded automation using the instructions described here: Studio - Registering custom services (uipath.com) Does anyone know why this code is not …

---

## [Inline Function for Delete All Files in a Folder](https://forum.uipath.com/t/inline-function-for-delete-all-files-in-a-folder/756910)

<div class="topic-metadata">

**Author:** [@Gowthaman\_Subramanian](https://forum.uipath.com/u/Gowthaman_Subramanian)\
**Replies:** 6\
**Last updated:** [July 30, 2024, 8:26am UTC](https://forum.uipath.com/t/inline-function-for-delete-all-files-in-a-folder/756910 "2024-07-30T08:26:30Z")

</div>

Hi, How to delete all file in folder? I need to check folder if the file is exists and delete all the files in the folder.

---

## [HTTP Request: Extract multiple data after deserialize](https://forum.uipath.com/t/http-request-extract-multiple-data-after-deserialize/735912)

<div class="topic-metadata">

**Author:** [@ashton.lalchan](https://forum.uipath.com/u/ashton.lalchan)\
**Replies:** 19\
**Last updated:** [May 1, 2024, 8:26pm UTC](https://forum.uipath.com/t/http-request-extract-multiple-data-after-deserialize/735912 "2024-05-01T20:26:25Z")

</div>

I am having trouble extracting all the “snippet” after I have deserialized json, how can I do this?

---

## [SURVEY - CODED AUTOMATION](https://forum.uipath.com/t/survey-coded-automation/726938)

<div class="topic-metadata">

**Author:** [@ThomasStocker](https://forum.uipath.com/u/ThomasStocker)\
**Replies:** 2\
**Last updated:** [April 16, 2024, 8:22am UTC](https://forum.uipath.com/t/survey-coded-automation/726938 "2024-04-16T08:22:19Z")

</div>

Hello esteemed colleagues! Feedback is fuel for our Product and Engineering and we heavily rely on your input to build great products. This is why we kindly ask you for 5 minutes of your busy schedule, to answer our…

---

## [Renaming a project does not trigger coded source files cleanup](https://forum.uipath.com/t/renaming-a-project-does-not-trigger-coded-source-files-cleanup/681992)

<div class="topic-metadata">

**Author:** [@Filip\_C](https://forum.uipath.com/u/Filip_C)\
**Replies:** 0\
**Last updated:** [November 6, 2023, 10:36am UTC](https://forum.uipath.com/t/renaming-a-project-does-not-trigger-coded-source-files-cleanup/681992 "2023-11-06T10:36:44Z")

</div>

Hi, I’ve got a project with custom source files in it. When I renamed the project UiPath Studio started throwing exceptions saying custom types are present in more than one assembly (both the old and the new name of th…

---

## [Is it possible to use different lanuguages (such as python and java) in the new coded workflow sequence available in uipath studio in 2023?](https://forum.uipath.com/t/is-it-possible-to-use-different-lanuguages-such-as-python-and-java-in-the-new-coded-workflow-sequence-available-in-uipath-studio-in-2023/645396)

<div class="topic-metadata">

**Author:** [@KARTHIK\_98](https://forum.uipath.com/u/KARTHIK_98)\
**Replies:** 2\
**Last updated:** [October 17, 2023, 5:09am UTC](https://forum.uipath.com/t/is-it-possible-to-use-different-lanuguages-such-as-python-and-java-in-the-new-coded-workflow-sequence-available-in-uipath-studio-in-2023/645396 "2023-10-17T05:09:26Z")

</div>

urrently, we use multiple scripts in UiPath Studio, and we utilize the “Invoke Python Method” activity. However, when there is an error in the Python script, we would like an alternative to navigate to the Python script …

---

## [Email forward with 2 criterias (respect subject string and those unread)](https://forum.uipath.com/t/email-forward-with-2-criterias-respect-subject-string-and-those-unread/635435)

<div class="topic-metadata">

**Author:** [@Ricchch](https://forum.uipath.com/u/Ricchch)\
**Replies:** 2\
**Last updated:** [October 11, 2023, 1:32pm UTC](https://forum.uipath.com/t/email-forward-with-2-criterias-respect-subject-string-and-those-unread/635435 "2023-10-11T13:32:22Z")

</div>

Good morning friends, Please , i would like to have suggestion to overcome this problem: I have a robot that and the end of its code it will receive an email in my email account. This email has a subject that contains …

---

## [I'm Building a Custom Activity Using C# But It Showing No Compatiple version for Windows Project?](https://forum.uipath.com/t/im-building-a-custom-activity-using-c-but-it-showing-no-compatiple-version-for-windows-project/592290)

<div class="topic-metadata">

**Author:** [@Prathamesh\_Trimurti\_Hulav](https://forum.uipath.com/u/Prathamesh_Trimurti_Hulav)\
**Replies:** 2\
**Last updated:** [September 17, 2023, 3:00pm UTC](https://forum.uipath.com/t/im-building-a-custom-activity-using-c-but-it-showing-no-compatiple-version-for-windows-project/592290 "2023-09-17T15:00:27Z")

</div>

I’m Creating a Custom Activity Using C# and .NET Framework 4.7.2 Whenever I’m Converting This .dll File to Nupkg Package and Installing Through the UiPath Manage Packages Its Showing me No Compatiple version for Window…

---

## [Getting Target Path string of a File Shortcut](https://forum.uipath.com/t/getting-target-path-string-of-a-file-shortcut/573730)

<div class="topic-metadata">

**Author:** [@chilled\_lad](https://forum.uipath.com/u/chilled_lad)\
**Replies:** 3\
**Last updated:** [August 18, 2023, 6:30am UTC](https://forum.uipath.com/t/getting-target-path-string-of-a-file-shortcut/573730 "2023-08-18T06:30:55Z")

</div>

Guys, I’m having a problem of getting a target path string of a particular shortcut file.Since the shortcuts are too many in a folder, I don’t want to use any UI automation. Is there any way to get the target path string…

---

## [Help with code](https://forum.uipath.com/t/help-with-code/545078)

<div class="topic-metadata">

**Author:** [@Ricchch](https://forum.uipath.com/u/Ricchch)\
**Replies:** 9\
**Last updated:** [May 17, 2023, 3:13pm UTC](https://forum.uipath.com/t/help-with-code/545078 "2023-05-17T15:13:03Z")

</div>

Hello wonderfull people, Please i need a help regarding this problem: i have a case where i need to filter some emails having excel attachments and save them. But just the attachement whose names are (“MMM” or “SSS”). …

---

## [Extract multiple strings enclosed in quotes in block of text](https://forum.uipath.com/t/extract-multiple-strings-enclosed-in-quotes-in-block-of-text/539090)

<div class="topic-metadata">

**Author:** [@rleonen](https://forum.uipath.com/u/rleonen)\
**Replies:** 2\
**Last updated:** [April 26, 2023, 4:06am UTC](https://forum.uipath.com/t/extract-multiple-strings-enclosed-in-quotes-in-block-of-text/539090 "2023-04-26T04:06:18Z")

</div>

I have a paragraph of text in a string variable. Embedded in the text are multiple instances of strings enclosed by double quotes ("). For example: I would like information on document “XYZ123” and also on part number …

---

## [Tip: Test Your Custom Activity with an Independent Console Application](https://forum.uipath.com/t/tip-test-your-custom-activity-with-an-independent-console-application/464298)

<div class="topic-metadata">

**Author:** [@StefanSchnell](https://forum.uipath.com/u/StefanSchnell)\
**Replies:** 1\
**Last updated:** [March 10, 2023, 8:21pm UTC](https://forum.uipath.com/t/tip-test-your-custom-activity-with-an-independent-console-application/464298 "2023-03-10T20:21:30Z")

</div>

In a discussion about creating a custom activity with C# in .NET 6 @Michael\_Halpin published a few code snippets to call activities of a Windows workflow. These days I worked very intensively on a customer activity and w…

---

## [How to get teams meeting messages without use of azure in uipath](https://forum.uipath.com/t/how-to-get-teams-meeting-messages-without-use-of-azure-in-uipath/517695)

<div class="topic-metadata">

**Author:** [@Mathkar\_kunal](https://forum.uipath.com/u/Mathkar_kunal)\
**Replies:** 1\
**Last updated:** [February 18, 2023, 4:00pm UTC](https://forum.uipath.com/t/how-to-get-teams-meeting-messages-without-use-of-azure-in-uipath/517695 "2023-02-18T16:00:57Z")

</div>

Hello, My requirement is to get teams meeting all chats once meeting is over. I tried with uipdath and azure integration to get teams messages. i created worklflow aslo suggested by @Cristian\_Negulescu b…

---

## [Help! Argument 'Value' cannot implicitly convert type 'void' to 'object' (C# datatype issue)](https://forum.uipath.com/t/help-argument-value-cannot-implicitly-convert-type-void-to-object-c-datatype-issue/486350)

<div class="topic-metadata">

**Author:** [@tae.park](https://forum.uipath.com/u/tae.park)\
**Replies:** 3\
**Last updated:** [November 2, 2022, 2:26am UTC](https://forum.uipath.com/t/help-argument-value-cannot-implicitly-convert-type-void-to-object-c-datatype-issue/486350 "2022-11-02T02:26:08Z")

</div>

Hello, Using C#, I made a variable with the List datatype under system.collections.generic as shown in the screenshot. I am adding a string to the list, but I got this error. Can someone please help me how I make it wor…

---

## [Download XAML without package](https://forum.uipath.com/t/download-xaml-without-package/473958)

<div class="topic-metadata">

**Author:** [@Sammie\_Fullmer](https://forum.uipath.com/u/Sammie_Fullmer)\
**Replies:** 13\
**Last updated:** [September 20, 2022, 7:00am UTC](https://forum.uipath.com/t/download-xaml-without-package/473958 "2022-09-20T07:00:08Z")

</div>

I need to retrieve my code from Orchestrator as my hard drive crashed and I lost everything. I see the posts saying that you can only download packages, but for some reason my package is 7 versions behind (I guess I didn…

---

## [Code Editor in Uipath](https://forum.uipath.com/t/code-editor-in-uipath/466342)

<div class="topic-metadata">

**Author:** [@yigit.aybey](https://forum.uipath.com/u/yigit.aybey)\
**Replies:** 1\
**Last updated:** [August 19, 2022, 8:36am UTC](https://forum.uipath.com/t/code-editor-in-uipath/466342 "2022-08-19T08:36:24Z")

</div>

Hi all, I’m learning UiPath using studio and i study on Vb.Net. I’m trying to some codes which i’m using invoke code but it does not work. The code works online compiler. What should i do or what i did mistake or wheree…

---

## [How to assign variable counter in ForEach Loop Linq C#](https://forum.uipath.com/t/how-to-assign-variable-counter-in-foreach-loop-linq-c/463927)

<div class="topic-metadata">

**Author:** [@gryan](https://forum.uipath.com/u/gryan)\
**Replies:** 4\
**Last updated:** [August 12, 2022, 8:13am UTC](https://forum.uipath.com/t/how-to-assign-variable-counter-in-foreach-loop-linq-c/463927 "2022-08-12T08:13:18Z")

</div>

I just try some UI Path stuff. I want to assign changes in excel by c#, it’s already works. But my problem is when I want to count how many changes that UI Path do for my excel. It always return 0. So my question is how …

---

## [How to extract html tags using uipath?](https://forum.uipath.com/t/how-to-extract-html-tags-using-uipath/451086)

<div class="topic-metadata">

**Author:** [@check\_account](https://forum.uipath.com/u/check_account)\
**Replies:** 13\
**Last updated:** [June 27, 2022, 8:55am UTC](https://forum.uipath.com/t/how-to-extract-html-tags-using-uipath/451086 "2022-06-27T08:55:21Z")

</div>

hi everyone, is it possible to extract html tags? like body,p,li,span,table tags from html file using UiPath? i need to extract only tags structure starting from tag to of the file.Please let me know the solutions/i…

---

## [6 use-cases of using LINQ in UiPath Studio | UiPath in 5 minutes | Ep:12](https://forum.uipath.com/t/6-use-cases-of-using-linq-in-uipath-studio-uipath-in-5-minutes-ep-12/394874)

<div class="topic-metadata">

**Author:** [@Cristian\_Negulescu](https://forum.uipath.com/u/Cristian_Negulescu)\
**Replies:** 0\
**Last updated:** [January 28, 2022, 7:02am UTC](https://forum.uipath.com/t/6-use-cases-of-using-linq-in-uipath-studio-uipath-in-5-minutes-ep-12/394874 "2022-01-28T07:02:52Z")

</div>

6 use-cases of using LINQ in UiPath Studio | UiPath in 5 minutes | Ep:12 UiPath linq 5minutes

---

## [Rename multiple files in a folder with date format](https://forum.uipath.com/t/rename-multiple-files-in-a-folder-with-date-format/393496)

<div class="topic-metadata">

**Author:** [@Sudheer\_Kumar\_S](https://forum.uipath.com/u/Sudheer_Kumar_S)\
**Replies:** 6\
**Last updated:** [January 24, 2022, 8:11am UTC](https://forum.uipath.com/t/rename-multiple-files-in-a-folder-with-date-format/393496 "2022-01-24T08:11:10Z")

</div>

Could you please help me with workflow, unable to rename multiple files. I am trying to save attachments from outlook to local with mail recieved date and time each attachment, i am able to download to folder but unable …

---

## [UiPath Studio: Where is the documentation about the functions inside the valid VB expressions?](https://forum.uipath.com/t/uipath-studio-where-is-the-documentation-about-the-functions-inside-the-valid-vb-expressions/369035)

<div class="topic-metadata">

**Author:** [@veruttigianpier](https://forum.uipath.com/u/veruttigianpier)\
**Replies:** 2\
**Last updated:** [December 11, 2021, 11:42pm UTC](https://forum.uipath.com/t/uipath-studio-where-is-the-documentation-about-the-functions-inside-the-valid-vb-expressions/369035 "2021-12-11T23:42:13Z")

</div>

Problem: Can’t find developer documentation about UiPath functions syntax and arguments Note: File Exists is just an example, usually this happend to me when trying to manipulate other kind of objects (arrays, Datatabl…

---

## [Cannot verify file exists with File.Exists when check file in SharePoint using SSL](https://forum.uipath.com/t/cannot-verify-file-exists-with-file-exists-when-check-file-in-sharepoint-using-ssl/357017)

<div class="topic-metadata">

**Author:** [@jacchr](https://forum.uipath.com/u/jacchr)\
**Replies:** 1\
**Last updated:** [October 29, 2021, 9:30pm UTC](https://forum.uipath.com/t/cannot-verify-file-exists-with-file-exists-when-check-file-in-sharepoint-using-ssl/357017 "2021-10-29T21:30:37Z")

</div>

Hi Experts I am writing a code block where I need to check if a file exists in SharePoint. I am using the File.Exists method to check if the following file exists in SharePoint: \\contoso.sharepoint.com@SSL\\DavWWWRoot\\s…
