Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
Hello is there is any way we can rename the primary content file using API
Following API can be used:
// Get Primary content holder
wt.content.ContentItem holder = ContentHelper.service.getPrimary(doc);
// Get Primary content stream
ApplicationData applicationdata = (ApplicationData)holder;
//Getter -Setter for fileName
getFileName() and setFileName(“String”)