Search found 5 matches

by MikeH
Wed May 11, 2022 8:33 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Allow insert xml fragment that is invalid
Replies: 1
Views: 753

Allow insert xml fragment that is invalid

Hi, I'm using JavaScript: I am copying some <iframe> tag from a site that doesn't format the tag correctly - some dubious attributes. But this will not allow the paste due to some minor attribute issues in the copied tag. So, I am using JavaScript: authorAccess.getDocumentController().insertXMLFragm...
by MikeH
Fri Apr 29, 2022 11:03 am
Forum: SDK-API, Frameworks - Document Types
Topic: Using Require with commons.js
Replies: 1
Views: 641

Using Require with commons.js

Inside our framework we are storing JavaScript code in the commons.js file. However the code is getting lengthy and I would like to break it up into multiple files. Can you provide example JS for how to include other JavaScript files. How do I require/import them into commons.js and do I have to put...
by MikeH
Tue Apr 19, 2022 5:02 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Filter unwanted side Panels
Replies: 2
Views: 728

Re: Filter unwanted side Panels

Hello Cosmin.

Thanks, that worked 100% :D
by MikeH
Tue Apr 19, 2022 2:16 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Elements Side Panel how to disable/enable (not hide)
Replies: 1
Views: 646

Elements Side Panel how to disable/enable (not hide)

When the caret is inside an element the Elements side panel displays the correct list of possible elements. But when the element is selected, the Elements side panel displays the possible elements for the element's parent - probably this is technically correct, but it is not intuitive for our users....
by MikeH
Tue Apr 19, 2022 1:46 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Filter unwanted side Panels
Replies: 2
Views: 728

Filter unwanted side Panels

I would like to restrict user access to specific side panels in our own framework. [Project, Model, Transformation Scenario, Open/Find Resource, and Entities] However Window > Load Layout > Default followed by Window > Reset layout will reveal the panels that we previously removed. Options: Ability ...