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

Provisioning ClientSidePages with FieldValues - Dates not working #639

Open
DmitriyVdE opened this issue Sep 18, 2024 · 0 comments
Open

Comments

@DmitriyVdE
Copy link

DmitriyVdE commented Sep 18, 2024

Hi,

I've been trying to provision pages to some sites and can't seem to get dates to work.
Other types of fields that I've tried seem to work.

I have added a custom field, let's call it 'SomeDate', to the Site Pages library and added the following to my provisioning template within a ClientSidePage:

<pnp:FieldValues>
  <pnp:FieldValue Key="SomeDate" Value="2024-09-18T22:00:00Z" />
</pnp:FieldValues>

But after checking the provisioned page, everything is there except the value for the 'SomeDate' field.

Am I formatting the value incorrectly? There's also no example for dates in the samples, so I'm kind of stuck here.

Greetings
-Dmitriy

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

No branches or pull requests

1 participant