Question
When I'm creating a new object in the Skuid page is there anyway for the model to pull in the defaults values for the object? For example, if I've set the default value for the field, Date__c
to be TODAY()
, I'd like the skuid page to load new records with that value.
Is this possible with native skuid functionality?
Best Answer
In general, Skuid uses a Field's default Value when setting values on fields in new records, but Skuid currently does NOT support default value formulas, such as
TODAY()
.When attempting to set a default for Fields in new records, Skuid looks for information from the following sources:
So if you have a Skuid Page that is, say, used for creating a new Contact record, you can add a Condition on your New Contact Model that achieves something similar, e.g.
Skuid supports a number of Date / Datetime Literals, but only Today, Yesterday, and Tomorrow can currently be used for setting default field values on new records.