-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Word.Range.insertContentControl(type) will always insert RichText content control regardless of type argument #5407
Comments
Hi @Metab0i, Thank you for reporting this issue. @ElizabethSamuel-MSFT, could you please investigate? |
@Metab0i Thanks for reaching out. Can you let us know what client and build/version of Word is being used? Thanks. |
@Metab0i The following are a few samples you can try in our Script Lab tool that use Range.insertContentControl(type).
Also let us know the outcome of your trying these out. Thanks. |
@ElizabethSamuel-MSFT, thank you for a prompt response. "... what client and build/version of Word is being used?" "...let us know the outcome of your trying these out."
Script
Outcome: Media1.mp4 |
Hi @Metab0i , I tried the three insert content control function type. When I inserted the DropDown list content controls it shows below control. It's expected.
When I inserted the Checkbox list content controls it shows below control. It's expected. All the above content control added from Api side is same as the content control added from the developer tab like below picture: About the content control properties dialog, it doesn't show the specific content control properties when you selected a content control and open the dialog, the same as the behavior when you added a content control from the developer tab. Feel free to add more comments here. |
I see.. From the looks of it, problems seems to be contained to my environment; I will investigate and see if I can find the cause of this. Thank you for your time everyone |
Article URL
Describe the problem
Regardless of what API consumer passes to Word.Range.insertContentControl(…), it will always insert a RichText content control.
What was attempted to arrive at this conclusion:
API version: ^1.1.86
Screenshots
-/-
The text was updated successfully, but these errors were encountered: