Upload primary content to EPMDocument by API Rest
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Upload primary content to EPMDocument by API Rest
Hi
I trying to add the primary content to a emp document that i created using the api rest service
There is a method in the API rest service to do this?
Thanks in advance
- Labels:
-
CAD Data Mgmt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@NC_10068031.. There is not rest endpoint to add primary content to CAD.
Using API.. Try checkout CAD to workspace, add content, checkin. Refer following article.
https://www.ptc.com/en/support/article/cs348427
Note: Please note that use of such constructors are a bit risky. Please do not create EPMDocuments in this manner unless you know exactly what data is required by the application, as incorrect usage can result in data corruptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Are you going to relate the file to a WTPart, or manage it in the future using Windchill Workgroup Manager? If no to both, you could consider storing DWG files in a regular Document. You could still get a number and revision control - but no BOM structure. I'm not familiar with the rest API, so I don't know if that's any easier.