Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • S SharePoint Term Store Powershell Utilities
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • CodePlex
  • SharePoint Term Store Powershell Utilities
  • Issues
  • #1

Closed
Open
Created Jun 10, 2019 by Laurent Sittler@lsittler©Owner

If multiple Enterprise Keyword columns in the same list, only first column processed, other column data erased

As explained in the title, if you have a list with multiple enterprise keyword columns set and you run the script, the first column is processed correctly but when the script process the $item.update(), data of the other enterprise keyword columns are erased.

To fix this problem, you should exchange the order of the loops of the fields and the loop of the items of the list in your script. Then only one $item.update() would be executed by list item and no data would be lost.

Regards,

Benoit Pironet

Assignee
Assign to
Time tracking