Scripting

Build 1501 on 14/Nov/2017  This topic last edited on: 12/Oct/2016, at 12:56

[129] Fred: pagedesigner scripts to be available also when page designer is not in focus

GN4-4246

Designer !AddIn commands are now available from the Menus and Toolbars even when the designer is open but doesn't have the focus.
 
The associated keyboard short-cut must must have its !IsGlobal attribute set, e.g.:
<Menuset Name="TxtDesigner">
<InputConfig>
...
<!--S-->
<KeyBinding CommandType="Script" CommandParameter="DataSave" Modifiers="Ctrl" Key="S" IsGlobal="true"/>
The above ensures that Ctrl+S is available from places other than with the text designer.

Modified date: 23/05/2016 17:08:17 - P4 Changelist: 82245 - From build: main.2914.x (T)

[146] Edt4: better internal management of empty ads layers

GN4-4126

There is no more need to empty all layers in scripting (or server workflow) before ads plan re-import. Ads layers will be cleared on edition save, in the same call that will add newly imported ads. The process is very quick now.

Modified date: 10/03/2016 12:03:42 - P4 Changelist: 81198 - From build: main.2840.x (T)

 

[159] Edt4: the ads assign dialog can appear after several seconds

GN4-4117

Fixed some speed issues when checking out page/layers and when empty ads layers.
Scripting note: EmptyAdsLayersCheckedOut() has been removed (duplicated), now use EmptyAdsLayers(checkOnly As Boolean), with param = True.

Modified date: 08/03/2016 16:06:15 - P4 Changelist: 81145 - From build: main.2838.x (T)

 

[26] Ted4: Remember latest used folder when selecting template for article by template

GN4-4260

Scripting only change: the folder remembered for "Article New" dialog is now also used for "Article New from Template".

Modified date: 18/04/2016 16:02:55 - P4 Changelist: 81758 - From build: main.2879.x (T)

 

[166] Client: Refresh button doesn't refresh the Results listing, but only the Linked/Assigned buttons do

GN4-4052

The refresh button now calls the script associated with the selected Linked or Assign option rather than performing a refresh. The means that the refresh will use the current page to generate the listing.

Modified date: 07/03/2016 13:22:07 - P4 Changelist: 81118 - From build: main.2837.x (T)