Open Raj-Dev1 opened 1 week ago
Thank you for reporting this issue, I can repro it. It has been put on our backlog #9486941, the team will investigate and we will reply to you as soon as there is any progress. Thank you for your patience.
hi @Raj-Dev1 thanks for reporting this issue, unfortunately currently there are no Shape and related API for JS API. We track Office Add-in feature requests on our Microsoft 365 Developer Platform Ideas Forum. Please add your request there. Feature requests on are considered when we go through our planning process. At the same time, you may want to check whether Ooxml related API can meet your requirements. Thanks.
Hi @jipyua and @RuizhiSunMS, I raised this issue on Microsoft 365 Developer Platform Ideas Forum. https://techcommunity.microsoft.com/t5/microsoft-365-developer-platform/unable-to-insert-content-controls-on-numbers-within-a-shape/idi-p/4282599#M2769
Ack. Thx for your submit.
Platform: PC desktop Host: Word Office version number: Microsoft® Word for Microsoft 365 MSO (Version 2404 Build 16.0.17531.20140) 64-bit Operating System: Microsoft Windows 11 pro.
I'm unable to insert content controls on numbers within a shape. Is there a way to do this? I'm attempting to search for numeric patterns (e.g., [0-9.,]{1,}) throughout the document, including inside tables or shapes.
While this code successfully returns results for regular tables, it does not work for tables that are embedded within shapes. Are there any specific properties, methods, or techniques that should be used to handle this scenario?
Expected Behavior: The searchResults should return matches for numeric patterns within both regular tables and tables inside shapes.
Actual Behavior: The searchResults return no matches for content inside tables embedded in a shape, even though numeric patterns are present in those tables.
Additional Information: I have attached the Word document containing the specific table in shape format where the issue occurs for further investigation. Shape Issue.docx