IAPI command - change format
How can I change the format of the primary rendition through IAPI?
Chatgpt tells me to destroy the primary rendition but as far as I know, this is not permitted.
Best Answers
-
Then you just need to change the a_content_type attribute for the object
1 -
Or setfile,c,0901ece38255f410,E:\converted\0901ece38255f410.pdf,pdf and drop the following command
1
Answers
-
when you say change the format, do you mean the a_content_type of the object or do you mean the file itself, with another format?
1 -
Check in from file should. What client are you using?
If D2, you might need to check with the admin if the option is not configured out.
1 -
Then you just need to change the a_content_type attribute for the object
1 -
You need to issue setfile command with the new file path and the new format. And then you can checkin (if you checked out before) or save (if you didn't checkout).
1 -
Or setfile,c,0901ece38255f410,E:\converted\0901ece38255f410.pdf,pdf and drop the following command
1 -
You can also do this in client UIs
D2Classic/SmartView - Import New Version, navigate to the file you want to replace with (any format) and it will check it in
DA/Webtop - Checkin from file, choose the new file.
Not really an answer to your question, just an expansion on the options to do the same via an existing client UI in case it is useful 😃
1
Categories
- All Categories
- 121 Developer Announcements
- 52 Articles
- 148 General Questions
- 144 Thrust Services
- 56 OpenText Hackathon
- 35 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 917 Cloud Fax and Notifications
- 83 Digital Asset Management
- 9.4K Documentum
- 30 eDOCS
- 178 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 7 XM Fax