Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance FieldDefinition provision - investigate DefaultFormula property support #783

Closed
SubPointSupport opened this issue Feb 11, 2016 · 2 comments

Comments

@SubPointSupport
Copy link
Contributor

NumberFieldDefinition can be set to display default value as "formula".

Seems to be DefaultFormula property on the SPFIeld.

Is not available with the CSOM (maybe we can hit it with the firs provision constructing field's XML), and can be adjusted with OnProvisioned event on the real field instance. A further investigation is needed.

@SubPointSupport
Copy link
Contributor Author

SPField.DefaultFomula should be used for SSOM.
CSOM does not support that property, initial XML provision should be used.

Must be covered by the regression tests.

@SubPointSupport
Copy link
Contributor Author

Added FieldDefinition.DefaultFormula support for SSOM as straight mapping to SPField.DefaultFormula field. Not supported in CSOM yet, a separate task is created:

#842

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

No branches or pull requests

1 participant