Customized Numbering List via Word JavaScript API

Sanket 0 Reputation points Microsoft Employee
2023-08-28T22:48:22.0933333+00:00

Hi Team,

I want to generate customized numbering in JS code as mentioned below -

User's image

https://www.officetooltips.com/word/tips/customizing_numbered_lists.html

As you can see, I have prefixed Helo to Numbered bullet list via MS word UI.
Is it possible to achieve same functionality via word JavaScript API ?
https://learn.microsoft.com/en-us/javascript/api/word/word.contentcontrol?view=word-js-preview

#office-addins-dev #office-js-dev

Microsoft 365 and Office | Development | Office JavaScript API
Microsoft 365 and Office | Development | Other
Microsoft 365 and Office | Word | For business | Windows
0 comments No comments
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.