0

Just wanted to know if we can upload a .fbx file type in Tridion Docs 14 SP2. Is it supported? I couldn't give it a try as currently .fbx file type is not available with me.

1 Answer 1

1

In the Tridion Docs - OOTB .fbx file type extension not available. but it's possible to set up a new Electronic Document Type (EDT) file type using Tridion Docs Webservice API.

Apart from this backend EDT field setup, we also need to add this new EDTFBX file extension to MetadataConfig.xml and use Web Client/Web service to set up your new editor template for this type.

Here is the example powershell script to create the new EDT in Tridion Docs server:

#autodetect Webservices
$webBaseUrl = Get-ISHDeploymentParameters -Name baseurl -Value
$ishws = Get-ISHDeploymentParameters -Name infosharewswebappname -Value
$webServicesBaseUrl = $webBaseUrl + "/" + $ishws + "/"

$ishMetadata = Set-IshMetadataField -IshSession $ishSession -Name "EDT-CANDIDATE" -Level "none" -Value "fbx" `
                           | Set-IshMetadataField -IshSession $ishSession -Name "EDT-FILE-EXTENSION" -Level "none" -Value "fbx" `
                           | Set-IshMetadataField -IshSession $ishSession -Name "EDT-MIME-TYPE" -Level "none" -Value "application/octet-stream"

$createdEDT = Add-IshEDT -IshSession $ishSession -Name "FBX" -Metadata $ishMetadata
$id = $createdEDT.IshRef

Here you can find some of the document references:

1
  • Thank you Velmurugan for explanation. Dec 8, 2021 at 3:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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