Adding Days to Date
You need to wrap the field name in a call to field(). For example: field('File Open Date') + days(3)
View ArticleAcross an array of data, how to require a particular value appear once?
I am am trying to generate data such as the following [{ "id": 1, "company": "Doogle", "contacts": [{ "primary": true, "first_name": "John", "last_name": "Doe" }] }, { "id": 2, "company": "Bahoo",...
View ArticleHow to return blank rather than "null"?
I'm generating an array of phone number like the following: { "phones": [ { "phoneNumber": "694-440-4539", "phoneType": "FAX", "extension": "1234" }, { "phoneNumber": "412-450-4989", "phoneType":...
View ArticleHow to restrict view to only a project's schemas or datasets?
On the UI, I can see all schemas or all datasets or click on projects which shows me schemas and datasets for a project; is there a way to filter such that i see only schemas related to a project or...
View ArticleHow to restrict view to only a project's schemas or datasets?
If you go to the project itself it will show only those resources assigned to the project.
View ArticleHow to return blank rather than "null"?
Use the inline formula (the f(x) button) to replace nil with "". if this.nil? then "" else this end
View ArticleAcross an array of data, how to require a particular value appear once?
It takes a bit of trickery: https://mockaroo.com/a32da740 The trick is to create a custom list for the "primary" field where the first value is true and the subsequent values are false (repeated as...
View ArticleHow to restrict view to only a project's schemas or datasets?
Sorry, maybe I wasn't clear enough. If I go the project, I see all resources. I would future like to restrict (filter) such that after clicking a project and can further click/filter to see only that...
View ArticleHow to return blank rather than "null"?
Hasn't worked for me. Here's my field field defintion { "field": { "name": "phones.extension", "type": "Regular Expression", "regEx": "\d{4}", "formula": "if this.nil? then '' else this end" } }
View ArticleBest approach to represent bi-directional relationships?
How best to represent the following: // array of parent objects [{ "id": 1, "name": "Bob Smith", "children": [ 3 ] }, { "id": 2, "name": "Jane Smith", "children": [ 3 ] }] // array of children objects...
View ArticleHow to return blank rather than "null"?
Ah, I see what's going on. When a blank is generated it skips the inline formula. You can get around this by making two fields: A hidden source field (hide any field by naming it starting with "__")...
View ArticleBest approach to represent bi-directional relationships?
Generally you use datasets to create relationships. See https://www.youtube.com/watch?v=XATDlwG1azU&list=PLKMZcxOsC3u0Y-4CHg5SDpVjTcrvGttTt&index=1
View ArticleHow to restrict view to only a project's schemas or datasets?
No, there isn't a way to just show the schemas for a project. That would be a good feature, though. I'll put it on my list.
View ArticleHow to create multiple sets of data all
I want to create multiple versions of the same underlying test data.Step 1 is easy - define the data in a schema.Step 2 - I want to have output that is largely the same as Step 1 but with some rules...
View ArticleNo 1 or 0 in Phone Number Prefix
I've been trying to figure out how to avoid getting a 1 or a zero in the first spot of the phone number (i.e. 904-023-1221 654-123-5555) I have a regex I can use to replace the numbers between the...
View ArticleSchema Import into Specific Project
Currently there is no Schema Import into a Project. Is this functionality supported? If Not, then when is it going to be available?
View ArticleSchema Import into Specific Project
You can add a schema to a project using from the schema page. There is an add to project menu in the top right.
View ArticleGenerate only US locations checked, still got Canada with a Kentucky address
Got a weird batch of data in one of my tests"firstname": "mason", "lastname": "chow", "phone": "721-387-9027", "street": "6405 college ave", "city": "georgetown", "state": "prince edward island",...
View ArticleNested mongodb ObjectId from dataset
Hi there, is there a way to create data where one of the nested field is a nested ObjectId, however the objectid value will be randomly picked from a dataset of objectids strings and when generated it...
View ArticleNested mongodb ObjectId from dataset
got it working just added a formula to return the values as mongodb obejctid mongo_object_id(this) and voila i get it n the {"createdBy": {"$oid":"59e102b3682f0d57f049c27b"},using random objectids...
View Article