+1
Answered

When "Delete Record" set doesn't have index what it is going to delete while debugging ??

Murali Naidu 10 years ago in Studio / Toolbox updated by Gandalf 10 years ago 0
Delete Record input doesn't have index.
but when I debug It is showing the message as success so here actually what is deleting by the Delete Record ??
At least when I debug it should show some message as record set doesn't exist.

Answer
Gandalf 10 years ago
Hi Murali

If the recordset is being used as an Input and does not have an index specified [[rec().set]], then it will use the last record.

If the recordset is being used as an Output and does not have an index specified [[rec().set]], then it will add a new record.

So in your example above, the last record in the recordset was deleted. The debug output should show you the record number.

There is a Warewolf Language Help button at the top of the studio:

It has more detail on how the language works.
0
Declined

Hash-based Message Authentication Code Tool

anonymous 10 years ago in Studio / Toolbox updated by anonymous 10 years ago 0
It would be awesome if there was a tool to encrypt and decrypt data with HMAC like what is done in C# here http://msdn.microsoft.com/en-us/library/system.security.cryptography.hmacsha512(v=vs.110).aspx

I would like this because certain RESTful web services I need to consume in Warewolf require their payload to be signed this way and currently is not possible without writing a custom plugin. Which I then need to manage on the file system of my server... Not keen to go this route.
tool
Answer
anonymous 10 years ago
Unfortunately this tool is too specific for us to undertake at this time.
+2
Completed

Support for SFTP

GianPiero 11 years ago in Studio / Toolbox updated by Gandalf 10 years ago 0

Hi Guys, would it be possible to add support for SFTP based file transfers. I see that the write file tool has the ability to write to FTP & FTPS (which is great) but we use SFTP pretty much all over our system, could this be added as a new Toolbox item? Or could the existing Write File tool, be modified to incorporate this?

Answer
Gandalf 10 years ago

Cool idea. 

Done.

0
Completed

Text Delimiter Support for Reading CSV

GianPiero 11 years ago in Studio / Toolbox updated by Gandalf 11 years ago 0

Hi guys, would it be possible to introduce text delimeted support for reading CSVs?

For example, let's say I have the following CSV:


'Big,Branch','1','false' 

'Small Branch','2','true'

'Smallest Branch','1','false'


The CSV is comma separated and text delimited. When I split it however using WareWolf, the Big and Branch in the first line are being split because there is a comma between the 2 words.  If I could specify a text delimiter then this wouldn't be a problem.


This is a common occurrence for us, as Excel tends to use Text Delimiters when saving Excel files to CSV. Could this be added for us?

Answer
Gandalf 11 years ago

This is a great usage scenario.

You can achieve this quite simply:

As each header/field etc from the file has its own row to describe how it is split and the characters to split on can be verbose you can do this 


and then repeat the pattern as you see fit.

Also, the large view for the tool (which should be out soon!) has the ability to specify an escape character if you need it.

0
Completed

Tool short cut keys

Chas Digal 11 years ago in Studio / Toolbox updated by Gandalf 8 years ago 3

It would be great to have some short cut keys for each tool, or some custom keys that can be assigned. When you are working on the design surface, the slow part is finding the tool you want in the toolbox.

designer tool
Answer
Gandalf 8 years ago

Great thinking.