Skip to content

Conversation

@StefanSosic
Copy link

@StefanSosic StefanSosic commented May 12, 2025

image
image

Copy link
Collaborator

@TheDoubleH TheDoubleH left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice and on point

@AndreasMoth
Copy link

AndreasMoth commented May 13, 2025

Looks great, do we want to mention you can SetAutoCalcFields on OnOpenPage as far as I recall (do double check), to have the field pre-calculated. Especially useful for lists if you really do need to calculate a field. This is only needed for fields not on the page however, as a FlowField shown on a page will always be calculated.
Maybe we also want to mention that CalcFields should only be used if you already have the record, if you're fetching it, always use SetAutoCalcFields.

@StefanSosic
Copy link
Author

Looks great, do we want to mention you can SetAutoCalcFields on OnOpenPage as far as I recall (do double check), to have the field pre-calculated. Especially useful for lists if you really do need to calculate a field. This is only needed for fields not on the page however, as a FlowField shown on a page will always be calculated.
Maybe we also want to mention that CalcFields should only be used if you already have the record, if you're fetching it, always use SetAutoCalcFields.

Double-checked and added both :)

Copy link
Collaborator

@JeremyVyska JeremyVyska left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed, a must-have.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants