random-name-generator
Service icon

Random Name Generator

Stable version 1.0.0 (Compatible with OutSystems 11)
Uploaded
 on 31 May 2023
 by 
0.0
 (0 ratings)
random-name-generator

Random Name Generator

Documentation
1.0.0

NameRandomizer Component Documentation: Generate Random/Fake Names

Each of the following actions shares the same structure and consumes variations of methods from api.namefake.com. These actions allow you to generate random/fake names.


- GetRandomName

The next steps will guide you on how to use the GetRandomName server action. This action allows you to get a random/fake name. At the end you will be able to retrieve a random name using this server action.


1. Making the component available in your application

After installing the component from the OutSystems Forge, manage the dependencies in your application and search for the RandomNameGenerator component. You will find three server actions available. Select the GetRandomName server action.

2. Using the server action in your screen

As mentioned earlier, our goal is to get a random name in two different ways. The first method is by using this server action directly in a client action. To do this, simply create a client action and drag and drop the GetRandomName server action into its flow.

This action has two mandatory output parameters: Output, which contains the generated name and ErrorCode, which contains the error code in case of exceptions or unexpected errors during execution. Utilize these outputs as needed in your application. For example, you can display the generated name on the screen.


- GetRandomFemaleName and GetRandomMaleName


The next steps will guide you on how to use the GetRandomFemaleName and GetRandomMaleName server actions. These actions allow you to get a random/fake female and male name, respectively. By the end of these steps, you will be able to retrieve random names using these server actions.


1. Making the component available in your application

After installing the component from the Forge, manage the dependencies in your application and search for the RandomNameGenerator component. You will find three server actions available. Select the corresponding server action based on your requirement: GetRandomFemaleName or GetRandomMaleName.

2. Using the server action in your screen.

As mentioned earlier, our goal is to generate a random name in two different ways. This method consists by using the server action directly in a client action. To do this, simply create a client action and drag and drop the corresponding server action (GetRandomFemaleName or GetRandomMaleName) into its flow.

These actions have two mandatory output parameters: Output, which contains the generated name, and ErrorCode, which contains the error code in case of exceptions or unexpected errors during execution. Utilize these outputs as needed in your application.