Accessing calculated fields

#1

I have a type with unstored calculated fields and stored calculated fields. When I run a c3Grid(TypeName.fetch()) method on this type, only the unstored calculated fields appear.

If i run: TypeName. the value of that field is returned
But,
If i run: TypeName. the console tells me this field is undefined.

How do I access my stored calculated fields?

0 Likes

#2

Type.fetch({include: “fieldYouWant”})

also when you want to look at the docs do:

c3ShowType(Type) not c3ShowType(Type.fetch())

0 Likes