Search found 97 matches

by NicoAMP
Fri Dec 01, 2023 11:59 am
Forum: Common Problems
Topic: Activation Xpath for a custom javascript framework action
Replies: 3
Views: 351

Re: Activation Xpath for a custom javascript framework action

Hello Mihaela,

Thanks for this information.
But my question was more : how can I define an activation xpath with javascript code ?

Thanks.
Regards,
Nicolas
by NicoAMP
Thu Nov 30, 2023 12:11 pm
Forum: Common Problems
Topic: Activation Xpath for a custom javascript framework action
Replies: 3
Views: 351

Activation Xpath for a custom javascript framework action

Hello, When I create a custom framework action via the UI, I can setup an "activation Xpath" that permit to control when my action is available. When I create a custom framework action with javascript I can use following function : MyAction.prototype.isEnabled = function () { return !this....
by NicoAMP
Fri Nov 10, 2023 4:08 pm
Forum: Common Problems
Topic: Get translated labels for a javascript custom action
Replies: 1
Views: 250

Get translated labels for a javascript custom action

Hello, I created a new action with javascript and I would like to use translated labels for my description. //description MyCustomAction.prototype.getDescription = function () { return 'My custom action description'; //not translated for the moment }; How can I get, with javascript, the translation ...
by NicoAMP
Fri Nov 10, 2023 3:35 pm
Forum: Common Problems
Topic: URL chooser for a custom action
Replies: 6
Views: 2126

Re: URL chooser for a custom action

Hello Cosmin,

I resoled the url using the current editing document and it works fine:

Code: Select all

let currentUrl = workspace.currentEditor.getUrl();
let relativeUrl = workspace.makeRelative(currentUrl,url);
Thanks for your help.

Regards,
Nicolas
by NicoAMP
Tue Nov 07, 2023 6:26 pm
Forum: Common Problems
Topic: URL chooser for a custom action
Replies: 6
Views: 2126

Re: URL chooser for a custom action

Hi Cristian,

Is it possible to get a relative URL using sync.api.UrlChooser?
Or resolve the url obtained against the current document path?

Thanks.
Regards,
Nicolas
by NicoAMP
Mon Oct 09, 2023 6:20 pm
Forum: Feature Request
Topic: Optimize WebHelp search with a synonym list
Replies: 6
Views: 1627

Re: Optimize WebHelp search with a synonym list

Hello Ionela,

Please, could you give me the status of this openned ticket (WH-2794) ?

Thanks a lot.
by NicoAMP
Mon Jun 12, 2023 3:48 pm
Forum: Common Problems
Topic: Rename existing default actions in framework
Replies: 7
Views: 917

Re: Rename existing default actions in framework

It works fine.
Thanks Mihaela for your help.
Regards,
Nicolas
by NicoAMP
Mon Jun 05, 2023 5:06 pm
Forum: Common Problems
Topic: Rename existing default actions in framework
Replies: 7
Views: 917

Re: Rename existing default actions in framework

Hello, I tried like that : <key type="action" value="DITA_KEYS_"> <val lang="en_US">yyy</val> <val lang="de_DE">yyy</val> <val lang="fr_FR">yyy</val> <val lang="ja_JP">yyy</val> <val lang="nl_NL">yyy</val> <val lang="zh_CN&qu...
by NicoAMP
Fri Jun 02, 2023 10:07 am
Forum: Common Problems
Topic: Rename existing default actions in framework
Replies: 7
Views: 917

Re: Rename existing default actions in framework

Hello, I use a translation file and it works fine for reuse.content action. <key type="action" value="reuse.content"> <val lang="en_US">xxx</val> <val lang="de_DE">xxx</val> <val lang="fr_FR">xxx</val> <val lang="ja_JP">xxx</val> <val lang=...
by NicoAMP
Tue May 30, 2023 12:34 pm
Forum: Common Problems
Topic: Rename existing default actions in framework
Replies: 7
Views: 917

Rename existing default actions in framework

Hello, In an Oxygen Web Author Framework (.exf), I would like to use some existing actions provided by default, but I would like to rename them. <group name="My group" largeIconPath="${framework}/icons/Topicref24.png" smallIconPath="${framework}/icons/Topicref16.png"> <...
by NicoAMP
Tue Mar 07, 2023 6:06 pm
Forum: Other Issues
Topic: Docbook XSLT transformation
Replies: 2
Views: 545

Re: Docbook XSLT transformation

Hello Radu, I resolved the problem importing the right catalog: java -cp "C:\xxx\Saxon-HE-main\11\Java\SaxonHE11-4J\saxon-he-11.4.jar" net.sf.saxon.Transform -xsl:"C:\xxx\flat.xsl" -s:"C:\xxx\book43.xml" -o:"c:/temp/xxx/out.xml" -t -xi:on -catalog:"C:\xxx...
by NicoAMP
Tue Feb 28, 2023 12:19 pm
Forum: Other Issues
Topic: Docbook XSLT transformation
Replies: 2
Views: 545

Docbook XSLT transformation

Hello, I would like to create an XSL that resolves xi:include in a docbook document to get a single merged file. <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://docbook.org/xml/4.3/docbookx.dtd"[ <!-- Will use "m" as a prefix.--> <!ENTITY % equation.c...
by NicoAMP
Wed Feb 01, 2023 10:46 am
Forum: Common Problems
Topic: Define framework usage context (desktop or web author)
Replies: 4
Views: 722

Re: Define framework usage context (desktop or web author)

Hello Michael,
Thanks for your answer.
I need to have two frameworks, because one of them is a "light" version of the other : only some buttons of the toolbar are displayed for example.
So I will package them them separately and deploy only the desired one for the specific platform.
Regards.
by NicoAMP
Mon Jan 30, 2023 3:49 pm
Forum: Common Problems
Topic: Define framework usage context (desktop or web author)
Replies: 4
Views: 722

Re: Define framework usage context (desktop or web author)

Hello Bogdan,
If I define <priority>High</priority> in both frameworks, which one will be launched in OWA context ?
Thanks.
by NicoAMP
Mon Jan 30, 2023 3:23 pm
Forum: Common Problems
Topic: Define framework usage context (desktop or web author)
Replies: 4
Views: 722

Define framework usage context (desktop or web author)

Hello, Initially, I developed an Oxygen framework for the Desktop version. I would now like to develop a framework for Oxygen Web Author, which would be a slightly different version of the Desktop framework (share some icons, use of some actions only, implementation of some functionality in javascri...
by NicoAMP
Fri Sep 23, 2022 10:46 am
Forum: Feature Request
Topic: Optimize WebHelp search with a synonym list
Replies: 6
Views: 1627

Optimize WebHelp search with a synonym list

Hello,
Is it possible to manage a synonym list in WebHelp to optimize search results?
For example, if you define "America" = "United-States" in this list, search on "America" will retrieve topics with "United-States" text inside.
Thanks.
BR,
Nicolas
by NicoAMP
Thu Sep 01, 2022 12:50 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Dita catalog issue in ANT script
Replies: 3
Views: 612

Re: Dita catalog issue in ANT script

Hi Radu,

I tested workarounds without success :(
I also try to run transformation on Linux environment and I have the same issue.

So I opened a ticket on dita-ot project: https://github.com/dita-ot/dita-ot/issues/3994

Thanks.

Regards,
Nicolas
by NicoAMP
Tue Aug 30, 2022 3:53 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Dita catalog issue in ANT script
Replies: 3
Views: 612

Dita catalog issue in ANT script

Hello, During HTML5 output processing (dita-ot-3.6.1), I would like to preprocess ditamap. So I create a specific plugin using depend.preprocess.pre extension point. In a ANT script I use the following xslt pipeline: <pipeline> <xslt style="${dita.plugin.com.xxx.preprocess.dir}/xsl/MergeMap.xsl...
by NicoAMP
Fri Jul 01, 2022 10:20 am
Forum: Feature Request
Topic: review comment tagging - Hooray! BUT...
Replies: 5
Views: 1862

Re: review comment tagging - Hooray! BUT...

Hello all, If you work with a CCMS (like Alfresco/Componize or Ixiasoft) that integrate Oxygen Web Author, you have an alternate solution. Each time a document is saved, you can detect new comments inside content (compare current version with previous with an XSLT for example) and send an email to m...
by NicoAMP
Fri Jul 01, 2022 10:10 am
Forum: Feature Request
Topic: User list available for comment mentions
Replies: 2
Views: 1169

Re: User list available for comment mentions

Thanks Mihaela for your answer.
Regards,
Nicolas
by NicoAMP
Tue Jun 21, 2022 12:07 pm
Forum: Feature Request
Topic: User list available for comment mentions
Replies: 2
Views: 1169

User list available for comment mentions

Hello, When a writer add a comment via review side panel in Oxygen Web Author, he can mention a user in his comment. Is it possible to configure a list of available users to automatically suggest this list when @ is typed in comment text area? If not, maybe someone already implement this kind of fea...
by NicoAMP
Tue Jun 21, 2022 11:51 am
Forum: Common Problems
Topic: Create a new HTML resource and insert a reference to it
Replies: 4
Views: 1807

Re: Create a new HTML resource and insert a reference to it

Thanks Cristian for your answer.
by NicoAMP
Mon Apr 04, 2022 12:58 pm
Forum: Common Problems
Topic: Create a new HTML resource and insert a reference to it
Replies: 4
Views: 1807

Re: Create a new HTML resource and insert a reference to it

Hello Mihaela,

Thanks a lot for your answer.

Now I understand well how to insert a template chooser, get the URL and insert a reference.
What I don't understand is how create the new file in my CCMS?

Thanks.
Regards,
Nicolas
by NicoAMP
Tue Mar 29, 2022 6:03 pm
Forum: Common Problems
Topic: Create a new HTML resource and insert a reference to it
Replies: 4
Views: 1807

Create a new HTML resource and insert a reference to it

Hello, I manage a HTML table of content and I would like to implement an action that permit to create a new file and insert a reference on it in the TOC content. I saw that following dialog exist, but I don't know how to invoke it in javascript in my framework and get the result URL. It's a similar ...
by NicoAMP
Tue Mar 29, 2022 12:13 pm
Forum: Common Problems
Topic: Side view based on current XML content
Replies: 3
Views: 1083

Re: Side view based on current XML content

Hello Cristian, Thanks a lot. It works well :) I have another question. In this side view innerHTML I have some links (file URL) that I would like to open in the current browser tab. <a href="http://127.0.0.1:9081/oxygen-webapp/app/oxygen.html?url=file%3A%2FC%3A%2FPROJETS%2FXXX%2Finputs%2Fsn_e1...
by NicoAMP
Mon Mar 28, 2022 12:36 pm
Forum: Common Problems
Topic: XSLTOperation in javascript
Replies: 2
Views: 1045

Re: XSLTOperation in javascript

Thanks Cristian for these information.
Regards,
Nicolas
by NicoAMP
Mon Mar 28, 2022 12:32 pm
Forum: Common Problems
Topic: Side view based on current XML content
Replies: 3
Views: 1083

Side view based on current XML content

Hello, In my Oxygen Web Author framework, I try to build a custom side view that use current XML content. So I get the content in a var called currentXmlDocument. But my problem is that currentXmlDocument variable is populated after the side view installation. How can I resolve this issue? Thanks fo...
by NicoAMP
Mon Mar 14, 2022 10:04 am
Forum: Common Problems
Topic: Refresh contextual menu action name
Replies: 2
Views: 1145

Re: Refresh contextual menu action name

Hello Gabriel,
Thanks a lot for this workaround. It works like a charm!
Regards,
Nicolas
by NicoAMP
Fri Mar 11, 2022 2:05 pm
Forum: Common Problems
Topic: Refresh contextual menu action name
Replies: 2
Views: 1145

Refresh contextual menu action name

Hello, In Oxygen web Author, I would like to add an action that takes name of current selected element in contextual menu. Each time the contextual menu is displayed, this action's name will have the name of the current selected element. So I use this code to get current tag name: //display name Dis...
by NicoAMP
Mon Mar 07, 2022 2:02 pm
Forum: Common Problems
Topic: XSLTOperation in javascript
Replies: 2
Views: 1045

XSLTOperation in javascript

Hello, From javascript, I tried to perform an XSLT action: TransformToOlAction.prototype.actionPerformed = function (callback) { this.editor.getActionsManager().invokeOperation( 'ro.sync.ecss.extensions.commons.operations.XSLTOperation', { action: 'Replace', script: '${framework}/lib/element-to-ol.x...