facebook
Hugo Herrera
Java Developer for SDC and soccer player on Sunday nights!
Posted on Oct 15th 2015

Are you an SDC user who is ready to push the boundaries and provide more value to fill your team’s specific needs?  Don’t know how to start? No worries, we’ve got you covered!

We released a package that includes example projects to help you customize SDC. Download the package from http://gosecure.genuitec.com/SDC-Extended-Examples/. Once running, it configures your workspace with example projects that show you how to extend SDC capabilities. These projects provide a good starting point to create a custom workspace task, provide your custom authentication mechanism, or modify the sequence of an installer.

sdcexample1

Use Example Projects to Customize SDC

Creating Custom Workspace Tasks

This collection of com.genuitec.pulse.client.delivery.example.mechanic.moti projects exemplifies how to extend SDC’s workspace mechanic libraries. The Message Of the Install example reads .moti files and upon installation, displays the first line of each .moti file in a popup.

The com.genuitec.pulse.client.delivery.example.launch.library.executable project has a custom task file with the extension .launchexe. This custom tag is designed to execute a binary file distributed via ThirdParty library using the Package binary contents for delivery feature when importing a library.

Refer to the SDC Learning Center for more information on Advanced Workspace Tasks.

Authenticating Users with an External User Extension

The project com.genuitec.pulse.server.delivery.example.adminauthentication example illustrates how to authenticate users via an external authentication mechanism. In this example, the user names all follow the form “user” + number, for example, user1, user2, and user101. The password for each of these users is “password” + number, so the respective passwords for the users given are password1, password2, and password101. No administrators are managed by the system, so make sure you create an administrator before you enable this example, for example, user100.

Refer to the SDC Learning Center for more information on the External Users Extension.

Customizing Installers

You can extend the installers generated by SDC to suit your needs. The examples on this package show you how to modify the installers and set a custom install location where the installer will get installed and how to use the installer to modify the default workspace directory of the installed package. The project com.genuitec.pulse.installer.example.path.overrides provides a good start point to achieve this

Refer to the SDC Learning Center for more information on Advanced Installer Customization.

Acknowledgements

I want to offer a special thanks to Salvador Cabrera and Ignacio Moreno for their help in bringing you this information.

Let Us Hear from You!

If you have any comments or a favorite SDC example you have used, we would love to hear from you @Genuitec_SDC on twitter or via the SDC forum. Happy coding!