1

I have a variable that contains column-value (terms) from a page/list

 $terms = $page.FieldValues["Terms"];

where "$page" is a variable containing the site page.

I get another site page as a list item:

$transformedItem = Get-PnPFile -Url $myUrl -AsListItem

The above list item has a column "Keyword". How do I populate that column "keyword" with the variable "$terms"?

1
  • What value do you want to put into "Keyword" from $terms ?? because $terms has many fieldvalues. Commented Dec 12, 2019 at 10:18

1 Answer 1

0

You could update the item via the following pnp cmdlets: Set-PnPListItem

thanks

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.