To post a new topic, please Log in or register

FAQ: TeamWox Groupware installation

Shafigullin
113
Shafigullin 29/08/2011 14:20 | #

Adding a custom module by the example of using SDK.

Suppose that we have a TeamWox server and approximately ten employees that actively use the system.

After some time you feel the necessity to modify TeamWox by adding a template that concerns only your company.

What should you do in such a case? Do not get upset, we have a solution! And that is TeamWox SDK.

First you should download Software Development Kit module from the TeamWox web site.

Run the downloaded file. Agree with the license agreement and select installation path during the installation process and click "Finish" in the end.

Now we have our working material and need a tool. Microsoft Visual C++ 2008 Express Edition will be used as the latter.

This product is free and you can download it easily from the Microsoft company website. Microsoft Visual C++ distributive size comprises 198 Mb. Size of the necessary disk space is 1.6 Gb. After the download is finished you may start installation.After the installation process is complete open Microsoft Visual C++ 2008 Express Edition. Go to the "File" menu - "Open" - "Project/Solution...".

Then open HelloWorld sample project using SDK TeamWox installation path by default:
С:\Program files\TeamWox SDK\Modules\HelloWorld\HelloWorld.vcproj "Visual Studio transformation wizard" window will emerge, where you must click "Finish" at once.

HelloWorldModule

Here you at last can do anything you want beginning from the simplest tables and ending by the most complicated calculation templates.

Unfortunately for you, we are not describing work in Microsoft Visual C++ environment here, therefore, let's go on.

To ease the debugging process specify a saving path for a new template into the folder where TeamWox server is installed.

To achieve this copy the files from the default folder C:\Program Files\TeamWox SDK\Modules\HelloWorld\final to the folder where TeamWox server is installed.

Do not forget to create a separate folder for the current project beforehand, for example C:\Program Files\TeamWox\modules\HelloWorld\

Specify the path to the copied file C:\Program Files\TeamWox\modules\HelloWorld\HelloWorld.dll in MS Visual C++ project settings.

Project TeamWox SDK - HelloWorld

Now, reload TeamWox server, move to the "Administration" - "Modules" tab and find "helloworld" pluggable module there.

The module status is "Not loaded".  Therefore, click "Turn on" and reload TeamWox server again.

Now, move to the "Administration" - "Groups" tab, select, for example, "All" - "Permissions" tab and select all possible permissions for HelloWorld (at the very end) and click "Update". Refresh the web page in your browser and the newly added tab called HelloWorld will become available.
How To Quickly Become a Profitable SaaS Provider?

The recently released TeamWox SaaS Agent offers wide opportunities to all who want to distribute the system in the "Software as a Service" mode. With this application you can rapidly become a SaaS provider with minimal expenses and start profiting from this offering!

Shafigullin
113
Shafigullin 29/08/2011 14:35 | #

How can I reset TeamWox user password?

  1. Stop TeamWox service at the current computer through the command line. To achieve this run the file updater.exe with the /stop parameter in the directory where TeamWox server is installed. For example:
    C:\Program Files\TeamWox>updater.exe /stop

  2. Run teamwox.exe file with the /resetpassword <login> <password> parameter. Set a new password for this login as a <password>. It is recommended to use not less than 6 letters and figures. For example:
    C:\Program Files\TeamWox>teamwox.exe /resetpassword admin newpassword1

    In case your login consists of two words (for example, Iliya Kolesnikov), login and password must be put in quotes
    C:\Program Files\TeamWox>teamwox.exe /resetpassword "Iliya Kolesnikov" "newpassword1"

  3. Start TeamWox service using the following command:
    C:\Program Files\TeamWox>updater.exe /start
Shafigullin
113
Shafigullin 29/08/2011 14:38 | #

How to change a password for a user imported from Active Directory?

In case the following parameter is set at the "Security" tab of the "Administration" module

Authentication

and the user was imported from Active Directory, you won't be able to change the password for that user in the TeamWox system itself. That is because user authentication will be performed in the Active Directory domain in that case ('GN' domain at the example above). It means that TeamWox system password will have no power.

We can suggest the following solution: change a password of the user's domain record. Correctness of a domain name in the "Authentication" section must be noted. Lower and upper-case letters differ. It is recommended to check domain availability from TeamWox after domain's name is specified. To achieve this go to the users import operation from AD and try to get data on the domain users.
Back to topic list  | 12345678

To add comments, please Log in or register