Forum Discussion
mbul74
21 days agoCommunity Member
The only way I have found is to catch the data as it's being loaded in the exported HTML, using JavaScript.
Look for the line (around line 116 on a web export)
const courseData = deserialize(encoded)
And then you can set the course title like this
courseData.course.title = "YOUR TITLE HERE"
It's a bit hacky but has saved us on an export of 500+ pieces with descriptive titles that shouldn't be in the published item. The description was all in the part leading up to the predictable word "Unit" so instead of using a string when setting the title, we were able to read the value, strip out the beginning up to the word "Unit"and set it to that.
But I wholeheartedly agree, the project title and the display title should definitely be separated.