0
Résolu

How do I turn off security?

Anonyme il y a 10 ans dans Server / Execution mis à jour par Gandalf il y a 10 ans 0
Im working at home and my network is secure, I dont want to have to set permissions on everything all the time.
Solution
Gandalf il y a 10 ans
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
Résolu

Architecture design docs

Anonyme il y a 10 ans mis à jour par Gandalf il y a 8 ans 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?
Solution
Gandalf il y a 8 ans
We have an architecture document on our website that can be found here http://warewolf.io/architecture-documentation.php
+1
Résolu

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

Anonyme il y a 10 ans dans Studio / Toolbox mis à jour par Gandalf il y a 10 ans 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.


Solution
Gandalf il y a 10 ans
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
Résolu

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

Murali Naidu il y a 10 ans dans Studio / Toolbox mis à jour par Gandalf il y a 10 ans 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.

Solution
Gandalf il y a 10 ans
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
Résolu

Can I return json from a service call?

Chas Digal il y a 11 ans dans Server / Execution mis à jour par Gandalf il y a 11 ans 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
Solution
Gandalf il y a 11 ans

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