Quantcast
Channel: Mockaroo Community Forum - Latest posts
Browsing all 2665 articles
Browse latest View live

Error getting a value from a nested JSON array

Hello, I’m getting the following error when attempting to get a value from a nested JSON array: error: Could not access blank value: Use || to provide a default value for blank fields. Example:...

View Article


Error getting a value from a nested JSON array

Figured this one out, instead of: values[0]['type'] you have to do: field('values')[0]['type']

View Article


Create Master-Detail Datasets

I just finished making this myself I gave each customer an id field RowNumber type - I’m using the free account so I get 1000 records. I then saved this as a Dataset setting up a static set of data....

View Article

Unable to use from_dataset in any way

When I set up my field, I kept getting that error. I eventually changed my dataset to CSV type and it seemed to fix the problem. Not sure why other formats weren’t working.

View Article

Creating columns of random numbers within a range that do not add to over a...

I’m assuming that each field is a number? Since there are 5 columns, give each a range from 0 to 20, the total will be 100 or less.

View Article


Regular Expression Help

I’m trying to come up with a Regular Expression that will give me **.####****.(L|M|R|O|S|Z) EX: AS.0123AM02.L “*” = Any Uppercase or Digit I can get the following The 2 beginning charaters:...

View Article

Create Master-Detail Datasets

Still new to all this, apparently there’s a DataSet type I’ve made an updated schema: Details From Master Datasets Even though I have it set to random, it seems to pull numbers sequentially. My first...

View Article

Image may be NSFW.
Clik here to view.

How to create a time interval of 5 minutes with a starting time 00:00

Here’s my solution: mockaroo.com Mockaroo - Random Data Generator and API Mocking Tool | JSON / CSV / SQL / Excel

View Article


Step Interval of Sequence

Is it possible to grab the ‘Step’ value of a Sequence field?

View Article


Get First/Last Day of Month from DateTime

I first made a formula field for my test date TestDate = date(‘12/1/2021’) Then two Formula Fields First_Of_Month Formula:= field(“TestDate”) - days(day(field(“TestDate”)) - 1) End_Of_Month Formula:=...

View Article

Error: Some headers in the query are missing from the file. Please check the...

Hi, Please help me figure out why my schema does not work? I’ve created a schema f.e “projects_1” that works fine. Then I created another schema like “observations_1” where I refer to the...

View Article

Sequence distribution over a Dataset

If I’m right, Sequence Distribution over a Dataset is meant to sequentially distribute the selected column value row after row up to the end of the Data set then restart from the very first row of the...

View Article

Error: Some headers in the query are missing from the file. Please check the...

Looks like it’s a bug that’s caused by using a hidden field with row number data type

View Article


How to restrict view to only a project's schemas or datasets?

I see you put it on your list on Oct '17. I’m using this page, I think it has an awesome potential. Since I’m using several schemas and I have more than one project, it will be awesome if you can add...

View Article

Time type - custom distribution example?

Hi Folks Does anyone have a TIME type - custom distribution example they can share please ?. I am trying to generate a dataset for a retail use case that shows more data in the morning’s and...

View Article


How can I escape dot "." in nested field names

I have the following Json that I want to mock data based on: { "name": "A12345", "objectType": "PMDM.PRD.ExternalSourceRecord", "parent": "EXT.PL-KaraffenDekanter", "values": { "PMDM.AT.SKU": {...

View Article

How can I escape dot "." in nested field names

Looks like you found a bug! This is now fixed. Your original design should work as expected.

View Article


Image may be NSFW.
Clik here to view.

Custom distribution not working as expected despite all expressions being...

Hi All, I have a custom distribution for a list, and I want certain values to show up more often or not at all depending on the date range. I noticed the custom distribution wasn’t working with the...

View Article

Internationalization/language support?

Hi, was wondering if there were any plans to add internationalization support? Generating data in other languages? How could this be supported? Thank you …

View Article

Can you please help with regex for LinkedIn, Facebook and Twitter URLs?

Hi there, I’d like to have fake social accounts as part of my Mockaroo random data. I don’t know RegEx well enough to define it. For example, what I’d like is...

View Article
Browsing all 2665 articles
Browse latest View live