Search found 8 matches

by Gerardo
Tue Jul 13, 2021 2:35 am
Forum: SDK-API, Frameworks - Document Types
Topic: Find/Replace in Files
Replies: 7
Views: 1782

Re: Find/Replace in Files

Hi Radu, I have modified my script and now I am validating the entered ID against a list of valid IDs. If the new owner is valid, I replace the author node´s value with the entered ID. Otherwise I just ignore the operation. xquery version "3.0" encoding "utf-8"; (: XQuery documen...
by Gerardo
Fri Jul 09, 2021 7:48 am
Forum: SDK-API, Frameworks - Document Types
Topic: Find/Replace in Files
Replies: 7
Views: 1782

Re: Find/Replace in Files

Hi Radu,

Validating the input against the server sounds like a good alternative. Do you have a sample project or something where I can see how to call a rest api from the XSLT?

Thanks
by Gerardo
Wed Jul 07, 2021 7:26 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Find/Replace in Files
Replies: 7
Views: 1782

Re: Find/Replace in Files

Hi Radu, I have read all the documentation about the refactoring tool and even made some simple custom operations. In general it fulfills our needs. Is it possible to show in the Configure Operation Parameters Wizard Page a list with possible values fetched by a REST API service? I see it is possibl...
by Gerardo
Tue Jun 29, 2021 8:31 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Find/Replace in Files
Replies: 7
Views: 1782

Find/Replace in Files

Hi,

Is there an API to use "Find/Replace in Files" feature from a plug-in? We want to modify some values in our dita files and we are wondering if we can wrap the existing functionality in a plugin and make the UI simpler to writers.

Thanks
Gerardo
by Gerardo
Tue Jun 29, 2021 8:16 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Add Popup Items in the Contextual menu in the Data Source Explorer
Replies: 3
Views: 1074

Re: Add Popup Items in the Contextual menu in the Data Source Explorer

Hi Radu, We were just considering to let users call some functionality to modify dita files from the Data Source Explorer view, but now that we already know that it is not possible we will reconsider our options. Probably inserting the menu in the project view's contextual menu will be our best bet....
by Gerardo
Tue Jun 22, 2021 6:33 am
Forum: SDK-API, Frameworks - Document Types
Topic: Add Popup Items in the Contextual menu in the Data Source Explorer
Replies: 3
Views: 1074

Add Popup Items in the Contextual menu in the Data Source Explorer

Hi there,

Is it possible to add a Popup Item in the contextual menu in the Data Source Explorer?

image.png
image.png (38.01 KiB) Viewed 1074 times

Thanks

Gerardo
by Gerardo
Fri Jun 18, 2021 12:40 am
Forum: SDK-API, Frameworks - Document Types
Topic: Where can I get the View IDs of the different views in Oxygen?
Replies: 2
Views: 911

Where can I get the View IDs of the different views in Oxygen?

Hi all, Where can I get the View IDs of the different views in Oxygen? The interface StandalonePluginWorkspace has a method to show/hide views that requires the View ID. void showView(java.lang.String viewID, boolean requestFocus) I have made some testing and the view IDs are really straightforward ...