Network Automation Software We are currently migrating this forum
over to our HelpSystems domain. Please
post all new threads in our new
HelpSystems Community Portal.
Post to the HelpSystems Forum
You are not currently logged on. You must be logged on in order to post. Log on
Or Create a new account
AutoMate Discussion
Decrease font size
Increase font size
Topic Title: Working with Datasets
Topic Summary: How to Search dataset, how to delete row in dataset
Created On: 04/09/2013 06:33 AM
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
View similar topics View similar topics
View topic in raw text format. Print this topic.
 04/09/2013 06:33 AM
User is offline View Users Profile Print this message

Author Icon
CarlLance
Student (5-19 posts)

Posts: 6
Joined: 07/01/2011

How can I search a dataset for a matching row? Is there anything faster than looping thru the dataset row by row?

How can I remove a row from a dataset?

Thanks!
Carl Lance


 Category Survey
 04/09/2013 02:29 PM
User is offline View Users Profile Print this message

Author Icon
Leonard Amabile
HelpSystems

Posts: 5454
Joined: 05/15/2007

Hi Carl,

How are you creating the dataset? Perhaps a filter can be used prior to creating the dataset so that it only returns the results you want.



 Category Survey
AutoMate 9 version:
Windows version:


-------------------------

Leonard Amabile | Director, Cross Platform Support
AutoMate | InterMapper | Skybot | Divisions of HelpSystems
T: +1.213.738.1700 | F: +1.213.738.7665
 04/15/2013 07:08 AM
User is offline View Users Profile Print this message

Author Icon
CarlLance
Student (5-19 posts)

Posts: 6
Joined: 07/01/2011

The dataset is a query from SharePoint. Of course I can modify the CAML query.

The key is that I need to be able to process things from the query in a specific way, which requires searching the dataset to find matching items. I can change the query to retrieve only the matching items, but that is actually slower because then I move the CAML query into the loop and must repeatedly query SharePoint, which in this case is slower than looping the dataset.

I don't mean this to sound snotty, honestly, but I am aware of alternative methods to code my task, but specifically I wanted to know:

1. Is there a way to search a dataset integrated into Automate other than looping the dataset?

2. Is there a way to remove a row from a dataset integrated into Automate?

The answers to these questions will allow me to evaluate other methods, which are less desirable for code maintenance or performance reasons.

Thanks!
Carl


 Category Survey
 04/16/2013 12:24 PM
User is offline View Users Profile Print this message

Author Icon
Liz Casale
AUTOMATE EMPLOYEE

Posts: 940
Joined: 05/23/2011

Hi Carl,

Thank you for your post. Currently, the answer to both questions is no. We have added these requests to our Feature Database to be added to an upcoming release of AutoMate/BPA Server. We apologize for the inconvenience.

 Category Survey


-------------------------
Liz Casale
Technical Support Representative
(213) 738-6966
Network Automation, Inc.

--------------------------------------------------------------------------------

AM5 5.5.5.1; AM6 6.2.8.0; AM7 7.1.3.0; AM8 8.0.9.0; AM9 9.0.3.4
BPA7 7.1.3.0; BPA8 8.0.9.0; BPA9 9.0.3.4
 06/28/2018 10:53 AM
User is offline View Users Profile Print this message

Author Icon
PatrickMarshall
Student (5-19 posts)

Posts: 13
Joined: 06/14/2016

5 years have passed since this was added to the feature requests. Is it still pending? I'm on BPA11 and it would be great if it was available now.

 Category Survey


-------------------------
Automate 11 BPA Standard
Windows Server 2016
 07/02/2018 04:46 PM
User is offline View Users Profile Print this message

Author Icon
Devin Cannon
HelpSystems

Posts: 398
Joined: 03/17/2016

Hi Patrick,

No, sorry, this has not been added.

 Category Survey


-------------------------

Devin Cannon | Support Analyst
AutoMate | Division of HelpSystems
HelpSystems, LLC | T: +1.213.738.1700 | F: +1.213.738.7665
Statistics
18258 users are registered to the AutoMate Discussion forum.
There are currently 0 users logged in.
The most users ever online was 5551 on 01/08/2018 at 11:11 AM.
There are currently 383 guests browsing this forum, which makes a total of 383 users using this forum.

FuseTalk Enterprise Edition v4.0 - © 1999-2019 FuseTalk Inc. All rights reserved.

Sitemap Network Automation Software Blog