DEV Community

Sadhna Mishra
Sadhna Mishra

Posted on

FAQ — Bloomer Mock Data Generator

Listing out frequently asked questions around bloomer mock data generator site.

Question: How to generate id for records ?
Answer: Two types of id generation is supported : Row Number and UUID

a. Row Number — Row number assign unique row number to each record in sequence of generation.
b. UUID — UUID assign unique random uuid to each record in output file.

To select id, open attribute value selection screen and in search box type — id. In property list click on id which will list — UUID, Row-number.

Question: How to save in-progress work ?
Answer: To save data definition click on [+] icon placed at bottom right screen.
Click on Download Schema to save the data definition.

Download Schema

To restore data definition later, click on Upload Schema. All fields will be visible in data definition screen and preview pane will show 10 preview records.

Question: Can I provide custom list of values for an attribute ?
Answer: Yes you can provide custom list of values.
a. Click on more icon for the selected attribute
b. Provide custom values in Override Attributes text box
c. Click on Save

Custom Attribute Values

Custom Attribute Values

Question: Advanced function to transform values such as lowerCase, upperCase
Answer: To transform output data javascript functions can be used, provided in Advanced Section.
Example — To transform attribute to upper case
a. Click on more icon for the selected attribute
b. Click on Advanced : Javascript Generation checkbox to open javascript code panel
c. In code panel type value.toUpperCase()
d. Click on Save button.
e. Preview screen will show selected attribute value in upper case.

Javascript Generation

Advanced : Javascript Function

Above function is applied to each value, be sure to click on Apply per row

Question: Generate attribute value through Generative AI
Attribute values can be generated from AI. To generate value through AI -
a. Open attribute value selection screen.
b. Click on robot icon in the top search bar
c. Let’s say you want to generate list of cities in Australia. In search bar type cities in Australia.
d. Preview will show generated values for the search

GenAI Generation

Question: How many file output formats supported ?
Answer: Currently four output formats are supported — JSON, CSV, XML and HTML.

Bottom of screen contains output format selection button. Click on Type select button to select desired output format.

Question: Submit suggestion or issue
Answer: To submit any suggestion, improvement or issue send email to mail@bloomer-mock.org

Link to Bloomer mock functionalities - Bloomer Mock Functionalities
Link to website - Bloomer mock

Top comments (0)