ISHRemote
ISHRemote copied to clipboard
Add read cmdlets *-IshTranslationJob and *-IshTranslationJobItem
TranslationBuilder uses the CMS IshTranslationJob object as leading container to identify which translation stubs need to be created on the CMS side, in which language and which metadata. To then pass control over to TranslationOrganizer who will create the necessary artifacts in the connected translation management system and pass along the translation stubs with the requested workflow per language.
Goal here is to query the generated synchronization artifacts like IshTranslationJob that holds total status of the job and IshTranslationJobItem that tracks individual stubs and their potential retrieved remote errors.
- [ ] Add
Get-IshTranslationJobof a singleIshTranslationJobalways fully initializes by several API calls, and returns-
IshTranslationJobrespectingIshTypeFieldSetup -
IshTranslationJob.IshTranslationJobContainer[], so no explicitGet-cmdlet but still an object with matchingISHRemote.Format.ps1xml -
IshTranslationJob.IshTranslationJobWorkflow[], so no explicitGet-cmdlet but still an object with matchingISHRemote.Format.ps1xml -
IshTranslationJob.IshExternalTranslationJob[], so no explicitGet-cmdlet but still an object with matchingISHRemote.Format.ps1xml
-
- [ ] Add
Find-IshTranslationJobreturningIshTranslationJob[]only initializesIshTranslationJobrespectingIshTypeFieldSetup - [ ] Add
Get-IshTranslationJobItemof a singleIshTranslationJobin turn requiresIshTranslationJobItem-
IshTranslationJobItemrespectingIshTypeFieldSetup - Especially columns error/externalstatus allow debugging, available since (TS-10305)
- Can a
IshTranslationJobItembe promoted to aIshDocumentObj? An extra client-side cmdlet, beware of in-memoryNew-IshDocumentObjconsistency.
-
- [ ] IshTranslationJob public objects for rendering
- output.xml rendering the columns: ...
- [ ] IshTranslationJobItem public objects for rendering
- output.xml rendering the columns: ...
- [ ] Optionally add
Find-IshTranslationJobItemwhich is shorthand to debug problematic retries/rollbacks (like SRQ-17158).- Key problem is that there is no direct
Findoperation onIshTranslationJobItemfor-LogicalId,-Version,-Lngand optional-Resolution; so the only option/workaround is to loop allFind-IshTranslationJob(in a given status) and retrieve all items overGet-IshTranslationJobItemwhich will be quite slow. The compare operator is equal, and as it has to happen client-side there is no richness of-MetadataFilter
- Key problem is that there is no direct
- [ ] Close ISHREMOTE-033
Remarks...
- None-scope is Creating/Updating/Deleting
IshTranslationJob - None-scope is Creating/Updating/Deleting
IshTranslationJobItem - Tip:
TranslationJobItemhas LogicalId=Version=Language=Resolution as key, and not language card id. There is no API call that takes batches using the readable identifiers. Trick is to create a temporary baseline report (LogicalId=Version) and pass that for completion using Language/Resolution as that will return you language card ids in group.