RWS/ISHRemote

Refresh Services References Proxies and Extend `Get-IshTypeFieldDefinition` to support DataType ISHMetadataBinding

Closed this issue · 2 comments

Adapt ISHRemote to support the modified Settings25.RetrieveFieldSetupByIshType holding ISHMetadataBinding information available since 14SP4/14.0.4

Make sure to look at the shelved code changes of #58

  • Add extra DataType ISHMetadataBinding in the enum DataType at \Objects\Enumerations.cs
  • Initialize DataType in the IshTypeFieldDefinition creation using the xml element
  • Add extra property allowonsmarttagging to the IshTypeFieldDefinition class at \Objects\Public\IshTypeFieldDefinition.cs
  • Add property initialization at IshTypeFieldDefinition constructor
  • - Adapt CompareTo method that is needed for comparing objects
  • Check Compare-IshTypeFieldDefinition is working
  • Add/Adapt Pester tests

@OlegTokar

  1. Issue #58 explains how to implement ISHMetadataBinding visibility in Get-IshTypeFieldDefinition across all supported versions. Starting in 14SP4/14.0.4, the Settings25 API call will be extended, see issue #106 so make sure to align implementation between these two issues.
  2. So after implementation of #106, issue #58 serves as backfilling for the older versions so Get-IshTypeFieldDefinition works the same on any version by explicitly getting and parsing the extension configuration.
  3. Next the "Field has configured metadata binding and it's value type can only be 'id' or 'element'" bug can be fixed, as the field can now be filtered on a write operation. Also covered under #58