0
Beantwortet

How do I turn off security?

Anonym vor 10 Jahren in Server / Execution aktualisiert von Gandalf vor 10 Jahren 0
Im working at home and my network is secure, I dont want to have to set permissions on everything all the time.
Antwort
Gandalf vor 10 Jahren
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
Beantwortet

Architecture design docs

Anonym vor 10 Jahren aktualisiert von Gandalf vor 8 Jahren 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?
Antwort
Gandalf vor 8 Jahren
We have an architecture document on our website that can be found here http://warewolf.io/architecture-documentation.php
+1
Beantwortet

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

Anonym vor 10 Jahren in Studio / Toolbox aktualisiert von Gandalf vor 10 Jahren 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.


Antwort
Gandalf vor 10 Jahren
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
Beantwortet

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

Murali Naidu vor 10 Jahren in Studio / Toolbox aktualisiert von Gandalf vor 10 Jahren 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.

Antwort
Gandalf vor 10 Jahren
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
Beantwortet

Can I return json from a service call?

Chas Digal vor 11 Jahren in Server / Execution aktualisiert von Gandalf vor 11 Jahren 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
Antwort
Gandalf vor 11 Jahren

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=...