SDL Trados Studio
SDL Trados GroupShare
SDL Trados Business Manager
SDL Trados Live
SDL MultiTerm
SDL Passolo
SDL Speech to Text
SDL Managed Translation - Enterprise
SDL MultiTrans
SDL TMS
SDL WorldServer
Translation Management Connectors
SDL LiveContent S1000D
SDL Contenta S1000D
SDL XPP
SDL Tridion Docs
SDL Tridion Sites
SDL Content Assistant
SDL Machine Translation Cloud
SDL Machine Translation Connectors
SDL Machine Translation Edge
Language Developers
Tridion Developers
Tridion Docs Developers
Xopus Developers
Community Help
SDL User Experience
Language Products - GCS Internal Community
SDL Community Internal Group
SDL Access Customer Portal
SDL Professional Services
SDL Training & Certification
Style Guides
Language Technology Partner Group
SDL Academic Partners
SDL Enterprise Technology Partners
XyUser Group
ETUG (European Trados User Group) Public Information
Machine Translation User Group
Nordic SDL Tridion Docs User Group
SDL Tridion UK Meetup
SDL Tridion User Group New England
SDL Tridion West Coast User Group
SDL WorldServer User Group
Tridion Docs Europe & APAC User Group
Tridion User Group Benelux
Tridion User Group Ohio Valley
SDL MultiTerm Ideas
SDL Passolo Ideas
SDL Trados GroupShare Ideas
SDL Trados Studio Ideas
SDL Machine Translation Cloud Ideas
SDL Machine Translation Edge Ideas
SDL Language Cloud TMS Ideas
SDL Language Cloud Terminology Ideas
SDL Language Cloud Online Editor Ideas
SDL Managed Translation - Enterprise Ideas
SDL TMS Ideas
SDL WorldServer Ideas
SDL Tridion Docs Ideas
SDL Tridion Sites Ideas
SDL LiveContent S1000D Ideas
SDL XPP Ideas
Events & Webinars
To SDL Documentation
To SDL Support
What's New in SDL
Detecting language please wait for.......
Hello,
I'm trying to retrieve all the documents in a folder that have a version set to 0. When I call the cmdlet Get-IshFolderContent -IshSession $ishSession -IshFolder $folder it normally ignores all of these documents with version 0.
I tried the following code, but I get the error that the value "0" is invalid for the parameter.
foreach($folder in $allFolders){ $objects = Get-IshFolderContent -IshSession $ishSession -VersionFilter "0" -IshFolder $folder $objects}
Another approach I tried was to find all DocumentObjs that have their version set to 0; however, this returned no files.
$metadataFilter = Set-IshMetadataFilterField -IshSession $ishSession -Name "VERSION" -Level "Version" -FilterOperator "equal" -Value "0" $files = Find-IshDocumentObj -IshSession $ishSession -IshTypeFilter ISHModule -MetadataFilter $metadataFilter$files
Are there any other approaches I could try?
Thank you!
Sorry ISHRemote cannot do that. I would guess that at last 4+ major releases of Tridion Docs expect a full logical-version-language to be there to offer a more consistent UX. Just logicals is an outdated…
Hi Madison,
I think I need your definition of "having a version set to 0". To my knowledge the system always starts with version "1", so zero never exists. Or do you mean that you have Logical objects (so GUIDs) where there are no versions underneath. Perhaps a screenshot from the Web Client with an arrow on what you try to retrieve could help.
Best wishes,Dave
Hi Dave,
Sorry for the confusion. I meant that I have GUIDs where there are no versions underneath.
For example, I am trying to retrieve files like the ones shown in the following picture:
Madison
Sorry ISHRemote cannot do that. I would guess that at last 4+ major releases of Tridion Docs expect a full logical-version-language to be there to offer a more consistent UX. Just logicals is an outdated idea.
I wonder which process still creates these version-less logical ids actually
You can still use the DocumentObj API for that. You could attempt something over $ishSession which offers you a DocumentObj proxy to do a Find or RetrieveMetadata call
-Dave