Clients

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

[10] Clients: color theme support

GN4-4559

Added support for three alternative color schemes. Now available: Tera Blue (default), Gray, Ice, Dark. Flat and 3D style (total eight combinations). All theme related data are saved into UserConfig.xml file.
 
To use themed colors in configs, please proceed as follows:
 
<Border BorderThickness="0 0 0 1" BorderBrush="DarkBlue">
 
becomes:
 
<Border BorderThickness="0 0 0 1" BorderBrush="{StaticResource DarkTeraBlueBrush}">
 
Available static resources are: TeraBlueBrush, LightTeraBlueBrush and DarkTeraBlueBrush. Please ignore "blue" in the identifier, it is the original resource name when blue was the only available color.

Modified date: 20/07/2016 15:19:34 - P4 Changelist: 83020 - From build: main.2972.x (T)

 

[19] Clients: template kind HtmlEditor is not displayed in ObjectUI and loop

GN4-4549

In client, when editing a story using the template kind 'HtmlEditor' in ObjectUI, the html field was not correctly displayed in dialog.
In fact, the CKEditor appeared for a second and immediately disappeared. Moreover, the mouse cursor was moving in/out the 'busy' mode over and over.
This was because the rendered HTML contained a 'brand' hyperlink which forced the page to reload repeatedly.
Now fixed: the 'brand' hyperlink has been removed and now the CKEditor is correctly displayed.

Modified date: 15/07/2016 11:54:04 - P4 Changelist: 82944 - From build: main.2967.x (T)

 

[21] Client: extFilter based on multireference attribute in SearchObjectUI

GN4-4542

If the SearchObjectUI contained an extFilter where the 'sourceName' referred to a MultiReference attribute, the following error occurred: '[attributeName] does not evaluate to a number (ERR1332)'.
Now fixed: the extFilter correctly filters the results, according to the values selected into the MultiReference attribute's control.

Modified date: 13/07/2016 17:51:58 - P4 Changelist: 82933 - From build: main.2965.x

 

[23] Client: unlock dialog show "nothing to unlock"

GN4-4432

Instead of display "Nothing to unlock", if all objects are checked-out in the active login session, the dialog will display all the locks, but they will be disabled (unlock is not possible).

Modified date: 12/07/2016 15:33:39 - P4 Changelist: 82909 - From build: main.2964.x (T)

 

[24] Client apps: full text searches with SolR limited to 1000 results even if not specified in ServerConfig

GN4-4537

Full text searches with SolR were limited to 1000 results even if the key "MaxRankedHits" was not specified ServerConfig. Now fixed.

Modified date: 12/07/2016 12:44:32 - P4 Changelist: 82904 - From build: main.2964.x (T)

[4] Clients: FolderBrowser control permission problems

GN4-4519

FolderBrowser control will now make unselectable "root" elements without required permissions.

Modified date: 07/07/2016 10:45:02 - P4 Changelist: 82854 - From build: main.2959.x (T)

[9] Clients: replace stop icon in trees

GN4-4517

An unselectable root element is now drawn gray as in I4. It can be expanded as usual. The tooltip message can now be translated.

Modified date: 05/07/2016 11:46:59 - P4 Changelist: 82802 - From build: main.2957.x (T)

 

[42] Client: on startup check and close previous session if not closed

GN4-4472

When a client application starts and perform login, the connection GUID is stored in a temporary local file. This file is deleted on app close. If a crash occurs, on next start the GUID file will be used to force logout of the previous connection, freeing all locked objects and licenses. The logout on start is not executed if more than one app is running, as for object recover operation.

Modified date: 24/06/2016 17:11:28 - P4 Changelist: 82661 - From build: main.2946.x (T)

 

[56] Shell: show clipboard items in result view

GN4-4433

It is possible to display the clipboard in a similar fashion as the search results in the shell main tab via the !MainAddIn commands !ShowClipboardResults (shell.vb). Left-double-clicking on an entry in the clipboard listings calls !ClipboardDesignerLeftDoubleClick the system implementation of which calls !ResultListDesignerLeftDoubleClick. Right-clicking calls the !ShowClipboardDesignerContextMenu the system implementation of which calls !ShowResultListDesignerContextMenu. The default implementation means that the clipboard acts in a similar fashion to a standard results list.

Modified date: 22/06/2016 20:11:13 - P4 Changelist: 82632 - From build: main.2944.x

 

[78] Clients: specific dirstyle not activated if results are displayed

GN4-4320

The default directory styles associated with various searches in the shell are used on the first application of that search, e.g. when generating a new listing or when the current search has changed. Previously it was not used when the search changed but the results were displayed in an open listing.

Modified date: 14/06/2016 13:53:25 - P4 Changelist: 82540 - From build: main.2936.x (T)

 

[84] Fred4/Ted4: allowEmptySearch to baseQuery level doesn't work anymore if xquery is present

GN4-4452

In clients, the AllowEmptySearches parameter of the BaseQuery was ignored if the ExtFilter query was set into the SearchObjectUI.
In this case, the query was always performed (even if the AllowEmptySearches parameter was false).
Now fixed: if the AllowEmptySearches parameter is false and no parameter is set into the searching controls, then the query is not performed at all (even if the ExtFilter's parameters have been configured into the SearchObjectUI).

Modified date: 13/06/2016 11:56:00 - P4 Changelist: 82507 - From build: main.2935.x (T)

 

[96] Client: make the text selectable in the HighlightTextBlock control

 

The HighlightTextBlock control derives from WPF TextBlock, a control that does not support standard Windows selection feature. Added custom code to support simple selection mechanism: click and drag to choose text part and press Ctrl+C to copy in clipboard.

Modified date: 08/06/2016 15:51:59 - P4 Changelist: 82445 - From build: main.2930.x (T)

[105] Fred4: problem scrolling page list in navigator the view goes on top

GN4-4279

The shell view scroll back on top at every refresh, now fixed.

Modified date: 01/06/2016 16:44:58 - P4 Changelist: 82389 - From build: main.2923.x (T)

[116] I4/Client: some embed HTML code are not rendered correctly

GN4-4381

Inserting HTML tag into an article in i4, part of the textual content was wrongly removed, because CKEditor did not recognize the inserted HTML.
Note that HTML code could have a structure not allowed into a GN4 editorial article, like nested paragraphs.
Now fixed: the HTML tag are inserted as plain text and it behaves like other GNML commands.
Publishing the article, the inserted tag is then converted in HTML, so to be displayed into the published web page.

Modified date: 30/05/2016 11:03:34 - P4 Changelist: 82342 - From build: main.2921.x (T)

[121] Client: searchAttribute document.zoneRef doesn't show the publication name behind zone name

GN4-4406

The publication name is displayed in the zone and section combo box
Affected files: //depot/GN4/Main/Config/Schemas/GN4Archive.xsd#39 edit
 
the fix is into the compute of the zone object for descname, that should be like this:
 
gs:descName="concat(gn4:titleRef/*/gn4:*/@name,':',@name)">

Modified date: 26/05/2016 17:22:39 - P4 Changelist: 82297 - From build: main.2917.x (T)

[125] Client: Solr error when doing Tark4 date search (before, after, between)

GN4-4375

An exception occurred searching for publication date using “before”, “after” or “between” operators making the search impossible. Now fixed.

Modified date: 25/05/2016 10:33:47 - P4 Changelist: 82268 - From build: main.2916.x (T)

[126] Client: values are reset on alert when editing element in draftview

GN4-4371

The views refresh automatically all elements when an alert came from server.
To solve the problem when the edit draft view is used the automatic alert refresh is stopped: the view receive the alert notify but no refresh is executed.
The automatic refresh is restored when the user leave the edit draft view.

Modified date: 24/05/2016 17:08:25 - P4 Changelist: 82264 - From build: main.2915.x (T)

[127] Client: better send dialog when multiple copyflows are defined

GN4-4327

When the send dialog needs to display more than 10 copy-flow destinations, they will be displayed using a combo-box rather than individual radio-buttons.
 
This limit can be changed by setting the !RadioButtonLimit property on !SendDialog to a positive value. Setting it to zero will force the copy-flow destinations to always be displayed as a combo-box.
Dim selection As IGenericAttrObjList = Main.GetSelectedObjects()
Dim sendDialog As New SendCopyFlowDialog(Main.Window) with {
.RadioButtonLimit = 5,
.IsShowSendHistory = True,
.IsShowSendSelected = True,
.FolderObjectIds = selection.Ids

 
If sendDialog.ShowDialog() = True Then
...
end if

Modified date: 24/05/2016 13:55:49 - P4 Changelist: 82257 - From build: main.2915.x (T)

[21] Clients: Multicrop control enhancements

GN4-3843

Improved the MultiCrop control in clients.
- when no variantType is passed to the MultiCrop activity, then the pubDest treeview is displayed at the top of the control.
You can select/deselect multiple pubDest at time pressing the Ctrl button while clicking on the treeview.
- now each variantType into the list has its three buttons: Save, Delete and Revert. These buttons are visible only when the variantType is selected.
- added a tooltip to the label of the variantType into the list at the right. The tooltip says what pubDest are associated to that variantType.
 
See http://forum.teradp.com/topic.asp?TOPIC_ID=836&FORUM_ID=13#4106 for more info about the enhancements of the Multicrop control in clients.
See http://tracking.teradp.com/gn4/issues/GN4-4324 for the Multicrop control in i4.

Modified date: 03/05/2016 11:31:46 - P4 Changelist: 81952 - From build: main.2894.x (T)

 

[22] Client: configs for user / groups

GN4-4200

Client application config files can now be set per user/group. Use Cmd4/Srv4 "config" command using "who" parameter that now accept also user or group name, to import "not global" configs. Apps will try to load user configs, if defined, otherwise they will scale the user group list until a defined config is reached. The "global" config is the last in search list.
 
c:\tera\GN4\Main\bin>cmd4 config -in ..\config\global\gn4\shell4_tabItems.xml -who vaninasuper

Modified date: 02/05/2016 16:07:11 - P4 Changelist: 81940 - From build: main.2893.x (T)

[57] Client: cannot set extfilter on item ref attribute

GN4-4230

Into an ObjectUI definition, it is possible to configure an attribute's control with a value filter (the 'extFilter' tag).
This filter is an XQuery string which can accept the current value of other attribute's controls as parameters (see the job GN4-1917 for more info about it).
If the 'extFilter' was defined into an attribute-specific ObjectUI, the filter was not able to read at runtime the values of the controls configured into the main ObjectUI.
For example, in the following configuration the 'extFilter' defined into the 'printRoutes' ObjectUI was not able to read at runtime the value of the "titleRef" control, because that control was defined into a different ObjectUI.

 
<objectUI>
 <attribute name="titleRef">
   <ui mode="Normal"/>
 </attribute>
 <attribute name="printRoutes">
   <ui mode="Normal">
     <template kind="Grid" xmlns="http://www.teradp.com/schemas/GN4/1/XmlSchemaExt.xsd">
       <objectUI>
         <attribute name="sectionRef">
           <ui mode="Normal">
             <template kind="DropDown" sorted="true" xmlns="http://www.teradp.com/schemas/GN4/1/XmlSchemaExt.xsd" />
             <extFilter xquery="fn:in(fn:objectIdFromString(gn4:titleRef/@idref), @@)" isOptional="true" sourceName="titleRef" xmlns="http://www.teradp.com/schemas/GN4/1/XmlSchemaExt.xsd"/>
           </ui>
         </attribute>
       </objectUI>
     </template>
   </ui>
 </attribute>
</objectUI>

 
Now fixed: the 'extFilter' defined into the ObjectUI of a 'Grid' template is able to read the attributes of the main ObjectUI; so, the values of the attribute defined into the attribute-specific ObjectUI are correctly filtered by the value read from the attribute of the main ObjectUI.

Modified date: 08/04/2016 12:17:29 - P4 Changelist: 81608 - From build: main.2869.x

 

[45] Client apps: objectUi for access permissions to easily select groups

GN4-4227

The access permissions popup for selecting security ids now displays the groups first, then the users; each section sorted alphabetically.
This way, we can easily select a group without scrolling the dropdown list.
Vice versa, in i4 the list of user/group is already searchable and we can already filter it by type (user or group).

Modified date: 12/04/2016 17:22:24 - P4 Changelist: 81659 - From build: main.2873.x (T)

 

[54] Client: UI forceRequired attribute does not work on all attribute types

GN4-4207

In editing dialog of clients, the 'forceRequired' flag in the ObjectUI didn't work for multi-reference attributes
(see http://forum.teradp.com/topic.asp?TOPIC_ID=493&FORUM_ID=13#3107 for more info about the 'forceRequired' flag).
Now fixed: even if the multi-reference attribute is optional, the 'forceRequired' flag forces the user to insert a non-empty value.

Modified date: 08/04/2016 17:46:10 - P4 Changelist: 81619 - From build: main.2869.x (T)

 

[60] Client: toolbars not displayed opening a second Shell main tab

GN4-4208

Multiple shell main-tabs are now restored correctly from saved desktops. When creating a new main-tab, the settings from an existing instance of it are used to initialize the new one.

Modified date: 07/04/2016 17:28:56 - P4 Changelist: 81596 - From build: main.2868.x (T)

 

[72] Clients: user rights "none" would be usefull in all presets

GN4-4232

The user rights "none" has been added to all the defined presets (change in Config\Global\PermissionsSets.xml)

Modified date: 05/04/2016 11:29:19 - P4 Changelist: 81539 - From build: main.2866.x (T)

 

[79] Client Apps: Xaml feed based listings don't set ObjectTypeName correctly

GN4-4223

The object type name of some results returned by xaml feed based listings is now correctly set. Also, tiles not specifying the object id (l:!ShellResultView.Id) and tile name (l:!ShellResultView.!TileName) are ignored. If specified, the object type name (l:!ShellResultView.!ObjectTypeName) will be used to set the type of the result otherwise it will be assumed to be '''object'''.

Modified date: 04/04/2016 13:09:05 - P4 Changelist: 81514 - From build: main.2865.x (T)

 

[85] Client: better tab display when there are multiple result tabs

GN4-4177

When the width of search results in shell listing gets narrow, rather than displaying the search description in a compressed form, it is displayed beneath the navigation and slideshow buttons in a new row.
 
Improvements to the description to make it more compact using '''Name:''' instead of '''Name is''' where possible. The name of the condition is taken from the label of the search creating it when possible. Search conditions such as '''Published''' that use an xquery rather than a schema path, use this feature to great effect.

Modified date: 31/03/2016 19:02:09 - P4 Changelist: 81484 - From build: main.2861.x

 

[102] Client: black screen in some situation

GN4-4178

It is not possible, in Windows, to set an Height of 0 pixels (RollUp effect) for a maximized window. Now the window is restored in size before RollUp. On RollDown it will be maximized again.

Modified date: 24/03/2016 15:07:36 - P4 Changelist: 81421 - From build: main.2854.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)

 

[167] Client: DateTime attributes can not be fully visible in objectUI

GN4-4017

Enlarged time display box to avoid string cuts.

Modified date: 07/03/2016 12:06:26 - P4 Changelist: 81115 - From build: main.2837.x (T)

 

[174] Client: when using predefined pubDest, the name is displayed in a bad way in the workflow panel

GN4-4106

When publishing an article using a predefined pubDest, the name of the destination was displayed in a bad way in the workflow panel (too much space around it).
Now fixed: the name of the destination is alligned to the label.

Modified date: 02/03/2016 17:00:40 - P4 Changelist: 81071 - From build: main.2832.x (T)

 

[199] Client: 'Unauthorized' error when double-clicking on image in list using Windows Authentication

GN4-4061

If the web server was configured to use the Windows Authentication, the 'Unauthorized' error ('You are not authorized to view this page due to invalid authentication headers') occured when double-clicking on image in list.
The problem was into the OpenFullScreenPopup() script method (ShellSystemAddIn).
Now fixed: when double-clicking on the image, the client correctly shows the full-screen image.

Modified date: 19/02/2016 15:39:45 - P4 Changelist: 80901 - From build: main.2820.x (T)

 

[277] Client: crash with upload activity with Newtonsoft.Json.dll ver 8.0.2

GN4-3935

Updated the deployed Newtonsoft.Json.dll to the version 8.0.2.
Modified the web.config files to look for the version 8, also if the projects reference the old Newtonsoft versions.
Note that there are many projects that reference the NewtonSoft.Json.dll library: EditorialServer, TedWinUI, ShellSystemAddIn, I4, I4Common, I4GemstoneClient, GNCx, Common, Server, WinUI.

Modified date: 28/01/2016 17:28:09 - P4 Changelist: 80525 - From build: main.2798.x (T)

 

[282] Client: merge story to article does not insert image caption and credit

GN4-3924

Merging a wire story with images to a new article created the photoCaption but inserted the source caption without tags, and it didn't handle the credit.
Modified the CreateReference() method in Article.vb to insert the caption, authors and credit in new photoCaption.

Modified date: 27/01/2016 18:26:11 - P4 Changelist: 80498 - From build: main.2797.x (T)

 

[288] Client: FullTextSuggest objectUI template should not fail

GN4-3919

No more server error message in objectUI when full text engine not configured.

Modified date: 27/01/2016 09:55:29 - P4 Changelist: 80472 - From build: main.2797.x (T)

 

[296] Clients: Unlock panel on Locks main tab doesn't load all selected objects but only the shown ones

GN4-3909

The panel unlocks visible elements only. Now fixed.

Modified date: 22/01/2016 16:59:06 - P4 Changelist: 80421 - From build: main.2792.x (T)

 

[365] Client: cannot toggle navigator preview via scripting

GN4-3819

Added a shell.vb function ToggleNavPreview to allow expanding via script the navigator preview

Modified date: 11/12/2015 10:18:06 - P4 Changelist: 79995 - From build: main.2750.x (T)

 

[384] Client: create and display objectUI at runtime

GN4-3793

In scripts, now it is possible to pass a programmatically created objectUI to the EditObjDialog class.
In fact, the methods SetIds() and SetObj() of the EditObjDialog now accept the xml of the custom ObjectUI (as XElement).
For example:

 
Dim dlg As New EditObjDialog(Designer.Main.Window)
Dim xObjectUI As XElement =
<objectUI
 useAttributesOrder="true"
 xmlns:gn4="urn:schemas-teradp-com:gn4tera"
 xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
 <default mode="Hidden"/>
 <attribute name="name">
   <ui mode="Normal"/>
 </attribute>
</objectUI>
dlg.SetObj(item.AccessObj, xObjectUI)

 
Also the NewObjectDialog can use the custom ObjectUI, setting the property ObjectUIXml.
For example:

 
Dim dlg As New NewObjDialog(TedApp.ClientApp().MainWindow, False)
dlg.ObjectUIXml =
<objectUI
 useAttributesOrder="true"
 xmlns:gn4="urn:schemas-teradp-com:gn4tera"
 xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
 <default mode="Hidden"/>
 <attribute name="name">
   <ui mode="Normal"/>
 </attribute>
</objectUI>
dlg.ShowDialog()

Modified date: 04/12/2015 12:02:07 - P4 Changelist: 79909 - From build: main.2743.x (T)