Search found 42 matches

by Srinarayan
Tue Aug 17, 2021 3:19 pm
Forum: Other Issues
Topic: Calling attribute View Operation in Web Author
Replies: 22
Views: 4084

Re: Calling attribute View Operation in Web Author

Hi, I have removed the piece of code that you have mentioned and used "sync.api.Workspace.EventType.BEFORE_EDITOR_LOADED". But still I am getting the same error as I have mentioned earlier. "Unknown action ID: edit.attribute. The document must have an associated Document Type in which...
by Srinarayan
Tue Aug 17, 2021 3:06 pm
Forum: Other Issues
Topic: Schematron Quick fix to add two elements
Replies: 1
Views: 770

Schematron Quick fix to add two elements

Hi Team, We are creating a schematron quick fix for version 6.3 , for that we need to add two elements with a single quick fix i.e " <subjectdef keys="audience"> <subjectdef keys=""/> </subjectdef> " Can you please let us know is their any way to add two elements with a...
by Srinarayan
Tue Aug 17, 2021 1:48 pm
Forum: Other Issues
Topic: Calling attribute View Operation in Web Author
Replies: 22
Views: 4084

Re: Calling attribute View Operation in Web Author

Hi Michael, I had used BEFORE. Unfortunately, I do not think the action is being registered with the below code. workspace.listen(sync.api.Workspace.EventType.BEFORE_EDITOR_LOADED, function(e) { var editor = e.editor; // Register the newly created action. editor.getActionsManager().registerAction('e...
by Srinarayan
Tue Aug 17, 2021 1:30 pm
Forum: Other Issues
Topic: Calling attribute View Operation in Web Author
Replies: 22
Views: 4084

Re: Calling attribute View Operation in Web Author

Hi Michael, I am now able to assign the action to the button like this: oxy_button(actionID, "edit.attribute", enableInReadOnlyContext, true); But there is a small issue. When the editor is loaded for the first time, the button is not having the intended display name which is set for the a...
by Srinarayan
Tue Aug 17, 2021 9:04 am
Forum: Other Issues
Topic: Calling attribute View Operation in Web Author
Replies: 22
Views: 4084

Re: Calling attribute View Operation in Web Author

Hi Michael, I have implemented the custom JS action just like mentioned in the [1] with the actionPerformed implementation. Just to check I have added this action to the context menu also. It is able to focus the attribute view from the context menu. But from the CSS button it is not. It says that i...
by Srinarayan
Mon Aug 16, 2021 4:45 pm
Forum: Other Issues
Topic: Calling attribute View Operation in Web Author
Replies: 22
Views: 4084

Re: Calling attribute View Operation in Web Author

Hi Michael, I registered an action like you suggested -> editor.getActionsManager().registerAction('edit.attribute', globalAttrs.urnDialogNew); And then I wrote a java script for getting the action and running it. function editAttributes() { var allActions = authorAccess.getEditorAccess().getActions...
by Srinarayan
Mon Aug 16, 2021 9:10 am
Forum: Other Issues
Topic: Calling attribute View Operation in Web Author
Replies: 22
Views: 4084

Calling attribute View Operation in Web Author

Hi team.

I have created a new oxy button in Web Author and trying to call the attribute view when this button is clicked. So far I could not find the operation which opens this attribute view in the sidebar.

Can you please help me on this?

Regards
Srinarayan
by Srinarayan
Fri Aug 13, 2021 1:58 pm
Forum: Other Issues
Topic: Fetching list of validation problems list
Replies: 13
Views: 2392

Fetching list of validation problems list

Hi team We are implementing a java plugin for oxygen editor to ignore some new validations in oxygen v23.0. I am trying to use the class ro.sync.exml.workspace.api.editor.validation.ValidationProblems to get the list of all validation problems present in oxygen. I am trying to use its method getProb...
by Srinarayan
Tue Jun 29, 2021 4:17 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Dynamic href and keyref!
Replies: 13
Views: 5570

Re: Dynamic href and keyref!

Hi, The Paste as Link action (for inserting keyref and href ) used to work fine with Oxygen 20.1.0. Its now throwing error with Oxygen 23.0.0, if the selected element is not from the same topic, at the point : DITAAccess.pasteAsReference(authorAccess, DITAAccess.PasteInfo.PASTE_AS_KEYREF); Please no...
by Srinarayan
Mon Jun 21, 2021 2:11 pm
Forum: Common Problems
Topic: Setting Environment variables
Replies: 1
Views: 1140

Setting Environment variables

Hi, I wanted to know if there is any way to set environment variables of our choice so that we can get it wherever we want just like "authorAccess.getReviewController().getReviewerAuthorName()" variable. Also if there is any way to analyze and custom define a function of a button defined i...
by Srinarayan
Wed Jun 09, 2021 8:04 am
Forum: Other Issues
Topic: Fetching Oxygen Author
Replies: 3
Views: 992

Re: Fetching Oxygen Author

Hi Radu,

It is a java project which is then deployed as jar in eclipse. Can you please help in accessing author name?

Regards
Srinarayan
by Srinarayan
Tue Jun 08, 2021 3:38 pm
Forum: Other Issues
Topic: Fetching Oxygen Author
Replies: 3
Views: 992

Fetching Oxygen Author

Hi We are using oxygen v20.1. We are doing some customizations for which we need to fetch username. We have seen in track changes that you use it in "author" attribute like <?oxy_insert_start author="xid" timestamp=""> I need to know from where you are fetching this aut...