cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

How to rename the Primary Content

adev
1-Newbie

How to rename the Primary Content

Hello is there is any way we can rename the primary content file using API

1 REPLY 1

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”)

Top Tags