[CKEditor] Adding multiple resource files and maintaining directory structure

[CKEditor] Adding multiple resource files and maintaining directory structure

  
Forge Component
(13)
Published on 2017-02-19 by Carlos Henriques
13 votes
Published on 2017-02-19 by Carlos Henriques

Hi Guys

Im trying to update the CKEditor module and need to add a number of plugins etc....

Is there a way to bulk add resources (js files etc) to the resources folder... as they have in the CKEDITOR module: https://www.outsystems.com/forge/component/97/ckeditor/ without adding them one by one and still maintain the directory structure?

There are command line switches for running service studio to bulk update reseourses. More or leas exists for this project. :)


J.Ja

Justin James wrote:

There are command line switches for running service studio to bulk update reseourses. More or leas exists for this project. :)


J.Ja

Hey Justin, thanks for this.... can you point to an example??? my search isn't turning up anything specific to updating resources through command line switches?


Ryan Malone wrote:

Justin James wrote:

There are command line switches for running service studio to bulk update reseourses. More or leas exists for this project. :)


J.Ja

Hey Justin, thanks for this.... can you point to an example??? my search isn't turning up anything specific to updating resources through command line switches?


Just go to the command line, dig up your service studio EXE, and run ServiceStudio.exe -help to see the full list of command line switches and what they do and how they work.

J.Ja

Hello,

Since Development Environment version 10.0.613.0, you can drag-and-drop files from Explorer to the Resources folder, even in bulk:


Though it does not allow you to immediately specify the target directory, you can do the following:

1) Drag the files that you wish to deploy to the same folder to the Resources tree element;

2) In Service Studio, select all the resources created in the previous step;

3) Use the bulk-editing feature available since Development Environment version 10.0.807.0 to set the "Deploy Action" and "Target Directory" properties for all the selected elements at once.