How can I specify entries for array elements individually
something like this - https://www.mockaroo.com/507e59f0 so I can specify the individual objects within the array, as some objects will be different e.g. subjectpredicateobject subjectpredicateobject -...
View ArticleBlank Values while using Random(a,b) function in formula field
I'm trying to create a similar formula.
View ArticleBlank Values while using Random(a,b) function in formula field
You need "elsif" instead of "elseif" because Ruby
View ArticleHow can I specify entries for array elements individually
Perhaps something like this: https://www.mockaroo.com/schemas/50857 It always generates both a simple value and an object, then randomly switches between them for the actual value. Naming a field...
View ArticleFew data fields not found- region, UOM, Hobbies, GEOLOCATION
You can upload your own csv files as datasets and then reference them in your schemas. This is the most common way of creating custom data types that include a finite number of choices. For small...
View ArticleHow can I specify entries for array elements individually
Sorry about that, here you go: https://www.mockaroo.com/57964730
View ArticleCustom list field not found in formula
Hi - What a great tool Mockaroo is, only just found it today. Got a problem with a formula. if field('SMETS Version') == 'S2' then ' ' end The field is definitely there, I copied and pasted the name...
View ArticleCustom list field not found in formula
Is there an error message in the output, or is it just evaluating differently than expected?
View ArticleCustom list field not found in formula
For example, I'm using a custom list here and it seems to work fine: http://mockaroo.com/fa9a7970
View ArticleCustom list field not found in formula
Thanks for having a look. We're doing slightly different things - maybe I've got the wrong end of the stick. I have a field: Device Serial NumberWhich is a RegEx of "MSNG\d{4,15}" then the fx button...
View ArticleCustom list field not found in formula
Ah, I've updated the example to use an inline formula. Here's the formula I used: if field('SMETS Version') == 'S1' then nil else this end That returns a null for S1, you could also return a blank...
View ArticleCustom list field not found in formula
Ah ha! In your example - when I switch the fields around, so Code is before SMETS Version, thats when you get the field not found error. Just reproduced it now. So it seems that fields are processed...
View ArticleHow to create YYYY-MM-DD hh:mm:ss?
Hi Expert, How can I create format YYYY-MM-DD hh:mm:ss ?For example 2016-12-24 01:59:59. Happy Holidays ! Yasuo
View ArticleIssue with from_dataset() formula when calling schema via REST API
I have a schema that works fine if I use the Mockaroo UI and download to CSV, JSON, whatever. But when I call the Schema using REST API, any fields using from_dataset() return an error string of...
View ArticleIssue with from_dataset() formula when calling schema via REST API
Interesting... are you sure you're using the API key associated with your account? If not, it might be a permissions issue. If you are I'll need to dig a little deeper.
View ArticleIssue with from_dataset() formula when calling schema via REST API
I'm definitely using my api key. I've validated this on both this Mockaroo site and the heroku version that Salesforce has internally.
View ArticleIssue with from_dataset() formula when calling schema via REST API
Here is simple schema I have. https://www.mockaroo.com/77adca10 If I don't include the API key in the REST request, I get following error that cannot even get to my Schema {"error":"API Key required....
View ArticleIssue with from_dataset() formula when calling schema via REST API
Yep, there was a bug in the from_dataset implementation. It should now be fixed. Thank you for reporting it!
View Article