Search found 42 matches

by Srinarayan
Thu Feb 24, 2022 4:48 pm
Forum: Other Issues
Topic: Trigger update/refresh in oxygen web author
Replies: 5
Views: 1236

Re: Trigger update/refresh in oxygen web author

Hi Michael, Thanks for the help. It worked. Just a thought-> can we create another thread apart from the main one that loads the documents and toolbar actions so that we could call our API synchronously but on another thread. For Example : the main thread would load all the toolbar actions and docum...
by Srinarayan
Wed Feb 23, 2022 10:52 am
Forum: Other Issues
Topic: Trigger update/refresh in oxygen web author
Replies: 5
Views: 1236

Re: Trigger update/refresh in oxygen web author

Hi Michael, This is my code snippet which I am using for enabling/disabling the button: function getContent(param1, param2) { try { var xhttp = new XMLHttpRequest(); xhttp.onload = function() { arr1 = JSON.parse(this.responseText); URN.prototype.isEnabled = function() { if (arr1 != undefined) { retu...
by Srinarayan
Tue Feb 22, 2022 10:17 am
Forum: Other Issues
Topic: Trigger update/refresh in oxygen web author
Replies: 5
Views: 1236

Trigger update/refresh in oxygen web author

Hi Team, We are currently calling an API call which is asynchronous so that it wont delay the loading of documents. Based on the content received from the API call we are enabling/disabling a button in the toolbar. As it is an async call to the API the button is enabled by default as it doesn't have...
by Srinarayan
Mon Feb 07, 2022 2:20 pm
Forum: Common Problems
Topic: Css elements not working as expected
Replies: 6
Views: 1262

Re: Css elements not working as expected

Hi Cristian,

I have added the function in one of our plugins and its working now.

Thank you.

Regards,
Srinarayan
by Srinarayan
Fri Feb 04, 2022 9:29 am
Forum: Common Problems
Topic: Css elements not working as expected
Replies: 6
Views: 1262

Re: Css elements not working as expected

Hi Cristian,

Hereby attaching a small XML code along with the CSS snippet with which we are having an issue with. Please look into it.

Regards,
Srinarayan
oxygen-ticket.zip
(586 Bytes) Downloaded 149 times
by Srinarayan
Thu Feb 03, 2022 4:27 pm
Forum: Common Problems
Topic: Css elements not working as expected
Replies: 6
Views: 1262

Re: Css elements not working as expected

Hi Chris, Let me give you little more background first. In oxygen web author 22.1 the link element in the CSS works fine. But in the 23.1.1 Web author version the link element is stopping the documents to be loaded. The error which we got is " Document could not be loaded. Details: Cannot read ...
by Srinarayan
Thu Feb 03, 2022 3:20 pm
Forum: Common Problems
Topic: Css elements not working as expected
Replies: 6
Views: 1262

Css elements not working as expected

Hi Team, We have an issue in our css file where we are trying to display some content with a hyperlink. We observed that the element "link" is preventing documents from being displayed. Below is our code: content: "Hyperlink Text" !important ; link: attr(someUrl); when we remove ...
by Srinarayan
Thu Dec 16, 2021 10:15 am
Forum: Common Problems
Topic: Css Checkform not displaying in Web
Replies: 3
Views: 783

Re: Css Checkform not displaying in Web

Hi Cristian, I did some change to the css code by removing the "tooltips" attribute to the "oxy_checkbox". Now the checkbox started to work but without the tooltip information. Is there anything we can use to generate tooltip for the check form box as it does not render when we u...
by Srinarayan
Wed Dec 15, 2021 4:28 pm
Forum: Common Problems
Topic: Css Checkform not displaying in Web
Replies: 3
Views: 783

Css Checkform not displaying in Web

Hi Team, We are having a hard time figuring out why our css code is not working properly. I have attached a piece of code of css, xml and as well as an image. According to the css condition a checkbox should be rendered properly in web but it is not as you can see in the attached image. It says &quo...
by Srinarayan
Thu Dec 09, 2021 2:01 pm
Forum: Common Problems
Topic: Css Condition Not working
Replies: 1
Views: 644

Css Condition Not working

Hi Team, We are having a hard time figuring out why our css code is not working properly. I have attached a piece of code of css, xml and as well as an image. According to the css condition the "workflow status" element should be visible. But when when we see our oxygen web author it is no...
by Srinarayan
Tue Nov 23, 2021 4:27 pm
Forum: Common Problems
Topic: CSS Elements not displaying properly
Replies: 1
Views: 718

CSS Elements not displaying properly

Hi Team, In oxygen23.1 Web author, we have an issue where elements are displayed on the same line. Some are displayed on the same line. Some goes to another line. And when tried to expand the screen, the elements rearrange themselves which also results in elements not being in the same line. The ele...
by Srinarayan
Mon Nov 01, 2021 3:52 pm
Forum: Other Issues
Topic: Oxygen Scripting
Replies: 3
Views: 1072

Re: Oxygen Scripting

Hi Alex,

I have mailed the issue in detail to support@oxygenxml.com with subject line "Oxygen Scripting" from email ID srinarayan.00@wipro.com.

Regards
Srinarayan
by Srinarayan
Thu Oct 21, 2021 3:26 pm
Forum: Other Issues
Topic: Oxygen Scripting
Replies: 3
Views: 1072

Oxygen Scripting

Hi We have some schematron rules and some DITA specific rules. Here https://github.com/AlexJitianu/svrl-to-sonar I can see your code that you are picking only 'failed asserts' for converting in svrl file. Some of our made rules even after being violated are considered success and are not included in...
by Srinarayan
Thu Oct 14, 2021 3:59 pm
Forum: Other Issues
Topic: frameworks directory path
Replies: 1
Views: 671

frameworks directory path

Hi I used ro.sync.exml.workspace.api.PluginWorkspaceProvider.getPluginWorkspace().getUtilAccess().expandEditorVariables("${frameworksDir}", null); API to get path of Frameworks directory. I wanted to get the path of dita directory present inside frameworks directory, so I added "\dita...
by Srinarayan
Wed Oct 06, 2021 2:43 pm
Forum: Other Issues
Topic: Lock check
Replies: 5
Views: 1269

Re: Lock check

Hello, In my Java plugin, to check if the editor is editable or not, I used a deprecated method AuthorAccess.getEditorLocation() and then used the URL I got from this in AuthorAccess.getWorkspaceAccess().getEditorAccess(URL).isEditable(). If AuthorAccess.getEditorLocation() is deprecated then is the...
by Srinarayan
Tue Oct 05, 2021 3:05 pm
Forum: Other Issues
Topic: Lock check
Replies: 5
Views: 1269

Re: Lock check

Hi Radu, I have seen an example of using the API but I am not sure how we can get the output from the operation. The example : this.editor.getActionsManager().invokeOperation( 'ro.sync.ecss.extensions.commons.operations.SurroundWithFragmentOperation', { fragment: '<' + 'xref href="' + te...
by Srinarayan
Mon Oct 04, 2021 1:33 pm
Forum: Other Issues
Topic: Lock check
Replies: 5
Views: 1269

Lock check

Hi team,

I am making a java plugin for oxygen. I want to know if there is a way to check in java whether the document currently opened in oxygen author is locked or not?

Regards
Srinarayan
by Srinarayan
Tue Aug 31, 2021 12:36 pm
Forum: Other Issues
Topic: Fetching list of validation problems list
Replies: 13
Views: 2327

Re: Fetching list of validation problems list

Hi

I have sent you the package using feedback form. Can you confirm you got my feedback and the package?

Regards
Srinarayan
by Srinarayan
Tue Aug 31, 2021 10:40 am
Forum: Other Issues
Topic: Fetching list of validation problems list
Replies: 13
Views: 2327

Re: Fetching list of validation problems list

Hi Radu,

I have mailed you my package on support@oxygenxml.com with subject line "Fetching list of validation problems list". I mailed again yesterday to ask for any update. My email ID is srinarayan.00@wipro.com. If you have any update on the plugin kindly reply.

Regards
Srinarayan
by Srinarayan
Wed Aug 25, 2021 2:26 pm
Forum: Other Issues
Topic: Calling Quick fix multiple times on one click
Replies: 1
Views: 815

Calling Quick fix multiple times on one click

Hi team, I am writing a rule with quick fix in schematron to wrap the text in an element into p tag. But if there is a mix of PCDATA and tags, I want all the text part to be wrapped in p tag on one click. Is it possible to call quick fix code multiple times on one click by looping or any other mecha...
by Srinarayan
Tue Aug 24, 2021 11:39 am
Forum: Other Issues
Topic: Fetching list of validation problems list
Replies: 13
Views: 2327

Re: Fetching list of validation problems list

my plugin.xml contains

<plugin>
<extension point="com.oxygenxml.author.workspaceAccessPlugin">
<implementation class="myGroup.eclipse.WSPluginExtensionImpl"/>;
</extension>

</plugin>
by Srinarayan
Tue Aug 24, 2021 10:25 am
Forum: Other Issues
Topic: Fetching list of validation problems list
Replies: 13
Views: 2327

Re: Fetching list of validation problems list

Hi Radu Thank you for your response that issue is resolved. We are using oxygen author. I am making a plugin for the oxygen author. I have deployed my plugin in eclipse client. I made a plugin project as mentioned by Alex in above posts and my class my.package.WSPluginExtensionImpl extends com.oxyge...
by Srinarayan
Mon Aug 23, 2021 9:56 am
Forum: Other Issues
Topic: Fetching list of validation problems list
Replies: 13
Views: 2327

Re: Fetching list of validation problems list

Hi While preparing the plugin, I came across an error "Bundle 'com.oxygenxml.editor' cannot be resolved". Can you please tell what could have caused this error in my setup? I have downloaded oxygen sample plugin project "oxygen-sample-eclipse-plugin" but there I am getting this e...
by Srinarayan
Thu Aug 19, 2021 11:43 am
Forum: Other Issues
Topic: Calling attribute View Operation in Web Author
Replies: 22
Views: 3971

Re: Calling attribute View Operation in Web Author

Hi,

Thanks for your support. I have tried deploying in a different directory altogether and it worked.

Regards,
Srinarayan
by Srinarayan
Thu Aug 19, 2021 8:34 am
Forum: Other Issues
Topic: Calling attribute View Operation in Web Author
Replies: 22
Views: 3971

Re: Calling attribute View Operation in Web Author

Hi,


I am thinking to try in Oxygen v22.1.0 setup. Will this exact code work there or are there some modifications that have to be done?


Regards,
Srinarayan.
by Srinarayan
Wed Aug 18, 2021 11:06 am
Forum: Other Issues
Topic: Fetching list of validation problems list
Replies: 13
Views: 2327

Re: Fetching list of validation problems list

Hello,

Can you please tell how can I deploy and activate this type of plugin in eclipse client? I wanted to know in which folder of eclipse client should I place this jar file and how can I configure oxygen to use this jar file for validation?

Regards
Srinarayan
by Srinarayan
Tue Aug 17, 2021 4:39 pm
Forum: Other Issues
Topic: Calling attribute View Operation in Web Author
Replies: 22
Views: 3971

Re: Calling attribute View Operation in Web Author

Yes, it is printing the exact code written for that action.

"ƒ (callback) {
console.log("test");
workspace.getViewManager().focusView('attributes-panel-table');
}"
by Srinarayan
Tue Aug 17, 2021 4:17 pm
Forum: Other Issues
Topic: Calling attribute View Operation in Web Author
Replies: 22
Views: 3971

Re: Calling attribute View Operation in Web Author

Here is the JS code: WebLinkAction = function(editor) { // shortcut is Meta+L on Mac and Ctrl+L on other platforms. sync.actions.AbstractAction.call(this, 'M1 L'); this.editor = editor; }; WebLinkAction.prototype = Object.create(sync.actions.AbstractAction.prototype); WebLinkAction.prototype.constru...
by Srinarayan
Tue Aug 17, 2021 4:05 pm
Forum: Other Issues
Topic: Calling attribute View Operation in Web Author
Replies: 22
Views: 3971

Re: Calling attribute View Operation in Web Author

Hi,

We are using the Oxygen v23. How do I share my code here? shall I just paste it here?
by Srinarayan
Tue Aug 17, 2021 3:33 pm
Forum: Other Issues
Topic: Calling attribute View Operation in Web Author
Replies: 22
Views: 3971

Re: Calling attribute View Operation in Web Author

Yes, the warning is generated when I click the button. The actionPerformed is not being called. The same error warning is being printed in the console too. "Error Unknown action ID: edit.attribute. The document must have an associated Document Type in which an action with the given ID must be d...