Converting Sheet Variable(SmartSheet) to DataTable

I just recently started working with the SmartSheet Activity Package, and had to perform some Data Manipulation with it.

I am used to pulling data out in the form of DataTables, after which I can either pull them into a For Each Row, or LINQ, but I am not able to do so with the outputs from SmartSheet activities, since the Data is stored inside a Sheet Variable.

LINQ doesn’t work since AsEnumerable is not a member of SmartSheet APIs.

I tried to convert it into a DataTable, but wasn’t able to.

Any idea how this conversion can be performed?

Help would be most appreciated, and thanks in advance!

Kind Regards,
Ashwin A.K

Hello @ashwin.ashok!

It seems that you have trouble getting an answer to your question in the first 24 hours.
Let us give you a few hints and helpful links.

First, make sure you browsed through our Forum FAQ Beginner’s Guide. It will teach you what should be included in your topic.

You can check out some of our resources directly, see below:

  1. Always search first. It is the best way to quickly find your answer. Check out the image icon for that.
    Clicking the options button will let you set more specific topic search filters, i.e. only the ones with a solution.

  2. Topic that contains most common solutions with example project files can be found here.

  3. Read our official documentation where you can find a lot of information and instructions about each of our products:

  4. Watch the videos on our official YouTube channel for more visual tutorials.

  5. Meet us and our users on our Community Slack and ask your question there.

Hopefully this will let you easily find the solution/information you need. Once you have it, we would be happy if you could share your findings here and mark it as a solution. This will help other users find it in the future.

Thank you for helping us build our UiPath Community!

Cheers from your friendly
Forum_Staff

Hi Ashwin,

Were you able to do it?

Hi @cldt ,

No I wasn’t able to do it.
I completed the project using API Calls instead, without using the Custom Activity.
It’s not really useful if I can’t retrieve the Sheets as Tables, because you have to then reference them by their Indexes, which can change if they decide to add columns in between.

Kind Regards,
Ashwin A.K

1 Like

Can You send me the API File at chirag@flowrobotics.nl