1

I want to remove Schema fields using a PowerShell script.

Any one have suggestion and solutions?

  • You want to remove a field from a schema, or from the components (or both?) – Nuno Linhares Apr 12 '17 at 22:42
6

You can establish a Core Service connection from Powershell to the CM and then use the Core Service API to perform the desired action.

Just one question though, why do you need to remove schema fields from Powershell in the first place, for me it doesn't seem the most logical way/place to do it.

  • it`s business requirement remove the schema fields. specific fields no more use in future. – Sudhakar Rao Apr 12 '17 at 22:37
  • 1
    Yeah, but any specific reason for choosing Powershell? – Atila Sos Apr 12 '17 at 22:44
  • Indeed, why not do this in the GUI? How many schemas do you have? – Rob Stevenson-Leggett Apr 13 '17 at 6:25
  • We have multiple teams and multiple release a month. we have nearly 300+ schemas. I dont want to revert other project changes in this schema. power-shell script just remove specific schema field without impact other fields and also best away. – Sudhakar Rao Apr 13 '17 at 18:29
-2

schema fields remove not possible using shell script. I removed schema field in development and content porting in production environment.

  • 4
    You most certainly can do this via powershell, we just don't seem to understand why you'd want to do this.. – Nuno Linhares Apr 14 '17 at 20:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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