Search found 11 matches

by gerardch
Fri Jul 09, 2021 5:52 am
Forum: SDK-API, Frameworks - Document Types
Topic: Is there a method to import transformation scenarios setting the storage option?
Replies: 8
Views: 1893

Re: Is there a method to import transformation scenarios setting the storage option?

Hi Radu,

this is good to know, it is useful information. Thank you very much.

Regards,
by gerardch
Fri Jul 02, 2021 4:17 am
Forum: SDK-API, Frameworks - Document Types
Topic: Using importGlobalOptions in a menu option is not updating UI dialog/views
Replies: 11
Views: 3708

Re: Using importGlobalOptions in a menu option is not updating UI dialog/views

Hi Radu/Oxygen team, Thanks for helping this feature to be implemented in version 23. I am able to use importGlobalOptions to import global transformation scenarios and it has worked good for me so far. Still, I recently noticed a situation where it seems there is a glitch when updating the scenario...
by gerardch
Thu Jul 01, 2021 7:50 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Is there a method to import transformation scenarios setting the storage option?
Replies: 8
Views: 1893

Re: Is there a method to import transformation scenarios setting the storage option?

Hi Radu, this is only informative. It seems that it is possible indeed to import scenarios and select the storage option with entry key "scenarios.load.from.project". This does not work for me when I set this in the xml file with all the scenarios to import. However, it seems it works fine...
by gerardch
Fri Jun 25, 2021 1:55 am
Forum: SDK-API, Frameworks - Document Types
Topic: Is there a method to import transformation scenarios setting the storage option?
Replies: 8
Views: 1893

Re: Is there a method to import transformation scenarios setting the storage option?

Hi Radu, I tried what you recommended and I did a test using "scenarios.load.from.project" to "true" but it did not work. Transformation scenarios kept saving as a Global option. So just to confirm that there is no way to import scenarios as a Project option. At least not using t...
by gerardch
Thu Jun 10, 2021 8:22 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Is there a method to import transformation scenarios setting the storage option?
Replies: 8
Views: 1893

Re: Is there a method to import transformation scenarios setting the storage option?

Hi Radu, thanks for your reply. Now the only question I have is regarding the importGlobalOptions method. I have exported some scenarios in order to create my own scenarios file but I do not see any field where I can decide if the trasformation scenario should be Global or Project option. So I guess...
by gerardch
Wed Jun 09, 2021 8:39 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Is there a method to import transformation scenarios setting the storage option?
Replies: 8
Views: 1893

Is there a method to import transformation scenarios setting the storage option?

Hello, in Oxygen, there is a menu called " Options > Import Transformation Scenarios... " where you can give a file name with scenarios and then select which ones to import and the storage type " Project Options / Global Options " to use. I would like to know if there is a way to...
by gerardch
Fri Sep 25, 2020 3:22 am
Forum: SDK-API, Frameworks - Document Types
Topic: Using importGlobalOptions in a menu option is not updating UI dialog/views
Replies: 11
Views: 3708

Re: Using importGlobalOptions in a menu option is not updating UI dialog/views

Hi Radu, this is great news, glad you have made progress with the scenarios reloading when using the API. Also, thanks for the suggestion about the empty project. I will try this and see how it works. I think these two options, either the empty project or even keeping the reload dialog are good for ...
by gerardch
Wed Sep 23, 2020 9:42 am
Forum: SDK-API, Frameworks - Document Types
Topic: Using importGlobalOptions in a menu option is not updating UI dialog/views
Replies: 11
Views: 3708

Re: Using importGlobalOptions in a menu option is not updating UI dialog/views

Hi, just to confirm that this is a useful trick to prevent the "project file changed" dialog. However, in this case, if I have only one project open, when method "loadProject" is called to force reload this one project then nothing happens. Not sure is there is a validation to st...
by gerardch
Fri Sep 18, 2020 7:46 am
Forum: SDK-API, Frameworks - Document Types
Topic: Using importGlobalOptions in a menu option is not updating UI dialog/views
Replies: 11
Views: 3708

Re: Using importGlobalOptions in a menu option is not updating UI dialog/views

Hi Radu, Thanks for the workaround. I have tried this and when I call the "ProjectController.loadProject(File)" method I get a dialog notifying that project has changed. I can reload or dismiss the change. If I reload then I get all the updates properly. OxygenLoadProject.JPG Currently, wh...
by gerardch
Wed Sep 16, 2020 1:37 am
Forum: SDK-API, Frameworks - Document Types
Topic: Using importGlobalOptions in a menu option is not updating UI dialog/views
Replies: 11
Views: 3708

Re: Using importGlobalOptions in a menu option is not updating UI dialog/views

Thanks Radu, I have sent some sample code and files as you requested. I am new to Oxygen development so I hope to be doing things right. At the end, all I need is to be able to change some transformation scenario data (such output directories) and transformation associations from a Menu option. I am...
by gerardch
Mon Sep 14, 2020 8:54 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Using importGlobalOptions in a menu option is not updating UI dialog/views
Replies: 11
Views: 3708

Using importGlobalOptions in a menu option is not updating UI dialog/views

Hello, I am using method PluginWorkspace importGlobalOptions to include some global options such transformation associations and dita transformation scenarios. If I do this as part of a WorkspaceAccessPluginExtension.applicationStarted everything imports fine. However, I have been changing this code...