File Metadata Reader

Supported by Publisher

Silver Certified

Custom Activity

1 reviews

1.5k

File Metadata Reader

Supported by Publisher

Silver Certified

Custom Activity

1 reviews

1.5k


Summary

Each file type contains different sets of attributes that are unique to their type. These attributes describe the file types. How about an activity that can extract all that information?

Overview

Every file we create and use each day in our computers have their own set of attributes that perfectly describe them. These attributes are usually unique to each file type apart from a couple of quite common attributes like the created date, modified date.

Why worry about these attributes?

These attributes come in very handy when we are working on file system-based automation solutions. This listing provides an activity that can easily access and retrieve all the properties of any given file. This activity will not only provide the standard and common attributes, but it will look for the extended attributes as well. Extended attributes are the attributes that are quite unique to each file type. For example, mp4 files have lots of unique attributes like bit rate, frame size, video length, directors, etc.

This activity provides all that information in a Dictionary<String>, <String> format. The activity will look for every attribute of a given file type and validate whether those attributes have any values defined. The attributes that do not have any defined value will be excluded from the output it generates. Every attribute that has a defined value will be added to a Dictionary type and will be returned to the user.

Arguments
Input: File path: provide the file path of the file you need to extract metadata from.
Output: Extracted Data (Dictionary<String>,<String>): All the extracted metadata will be returned in this format. The attribute name will be described in the Key of the dictionary and its value will be under the value segment of the dictionary.

Benefits


Published: 13 Jul 2019 | Updated: 18 Dec 2020

Trusted Source


License

MIT


Code Language

Visual Basic


Runtime

.NET Framework


Tags

data
directory
file
file-system

Compatibility

Component is built on .Net framework 4.6.1 Tested on UiPath Studio 2019.6.0 Compatible with previous and current versions of UiPath Studio


Dependencies

.Net Framework 4.6.1 UiPath.System.Activities 19.6.0 UiPath.UIAutomation.Activities 19.6.0


Support

Email: lahiru@boundaryless.com

Mon-Fri 8 AM to 9 PM IST; Response time: 1 business day; Resolution time: 10 days

Similar Listings