0
Beantwoord

How do I turn off security?

Anoniem 10 jaar geleden in Server / Execution bijgewerkt door Gandalf 10 jaar geleden 0
Im working at home and my network is secure, I dont want to have to set permissions on everything all the time.
Antwoord
Gandalf 10 jaar geleden
From release 0.4.2.3 onwards we have introduced a Public group.

It is not a windows group, its internal to Warewolf.

1. Open Security Settings
2. Under the Windows Group heading, you will see a Public group.
3. Give this group Administrator rights.
4. Click Save

Any user can now do anything on that Warewolf.
0
Beantwoord

Architecture design docs

Anoniem 10 jaar geleden bijgewerkt door Gandalf 8 jaar geleden 5
I downloaded the software, have been looking for architectural design docs or such (e.g. on the wiki's) to no avail. Any suggestions as to where I can find the architecture?
Antwoord
Gandalf 8 jaar geleden
We have an architecture document on our website that can be found here http://warewolf.io/architecture-documentation.php
+1
Beantwoord

Using a find Index tool how can I find a character Index in different record set inputs

Anoniem 10 jaar geleden in Studio / Toolbox bijgewerkt door Gandalf 10 jaar geleden 1
When I try find index of character 2 in all record set using find Index tool
In fields as [[rec(*).a]],
Index “All Occurrence”
Character 2
And I want to put my output values in [[rec(*).b]] 
Output is coming as [[rec(1).b]]=2, [[rec(2).b]]=4, [[rec(3).b]]=6, [[rec(4).b]]=8, [[rec(5).b]]=2, [[rec(6).b]]=4, [[rec(7).b]]=2,[[rec(8).b]]=4,[[rec(9).b]]=6,[[rec(10).b]]=8.
Now output is coming in record set but how would I know 2 is at index 2,4,6,8 in [[rec(1).a]] = h2f2f2f2 .
And 2 is at index 2 and 4 in [[rec(2).a]]=h2f2.
And 2 is at index 2,4,6,and 8 in [[rec(3).a]] = h2f2f2f2.


Antwoord
Gandalf 10 jaar geleden
Great example and good question.

The For Each tool is designed for this. Try dropping the Find Index tool into the for each and put the result into [[rec(*).b]].
+1
Beantwoord

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

Murali Naidu 10 jaar geleden in Studio / Toolbox bijgewerkt door Gandalf 10 jaar geleden 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.

Antwoord
Gandalf 10 jaar geleden
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.
+2
Beantwoord

Can I return json from a service call?

Chas Digal 11 jaar geleden in Server / Execution bijgewerkt door Gandalf 11 jaar geleden 1

Most API's these days allow a variety of return types. What types can I offer without having to build it into everything I do and still have it as XML

service execution
Antwoord
Gandalf 11 jaar geleden

You can return XML or JSON. By default the system will return XML from any service call. The caller can define the response type as json by placing a .json after the name of the service they are calling. eg
http://127.0.0.1:1234/services/BringBackTheATeam.json?VoteMail=...