Skip to content

ListItemAllFields string converted to a date #1571

Discussion options

You must be logged in to vote

As I'm learning PnP.Core from scratch, I tried to replicate this issue and I can see @sabrinadeveloper2023's issue as well.

Steps to replicate the issue:

  1. Add a blank list in a site collection (I called mine "CustomList")
  2. In the new list, add a column that takes a single-row string (mine was called "CustomCol")
  3. Add a list item, set title to "ItemA" and value in the CustomCol field to "0004603-4-1" (the value in sabrinadeveloper2023's example above)
  4. In the code, fetch the list and iterate through the list items.
  5. For each list item, load the FieldValuesAsText property
  6. Compare FieldValuesAsText and Values properties
  7. FieldValuesAsText does not contain any of the columns that Values contains?

M…

Replies: 5 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@Magnus-K-work
Comment options

Answer selected by jansenbe
@Magnus-K-work
Comment options

Comment options

You must be logged in to vote
1 reply
@Magnus-K-work
Comment options

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