Release date: Oct 2, 2020

Version 5.0.12:

Favourite with parameter: now the filter settings are saved.

Execute SmartObject, filter windows:
   - Now it's possible to update manually the "XML Representation of Filter"
   - If we setup a right property and just after click on OK button, a confirmation message is displayed: 'You didn't click on Add button after you filled the condition. Do you want to add it now?'

For color of service type and tool "Get Dll information dependencies" to highlight the non-standard object, the system took into account new dlls 5.4.

Add new default favourites: New Identity management, PDF Converter, UM User for current connected user and Workflow Reports - All error logs

Transform SmartObject Log To Url:
   - Add button to modify directly the config file to activate the SmoLogs. It's possible to restart the K2 Service just after.
   - Add button to modify directly the config file to disable the SmoLogs. It's possible to restart the K2 Service just after.
   - Filter parameters are now imported.

SmartObject Advanced search:
   - Fix issue on category search since 5.3
   - For combo "Method type", search according the "Search in" (Smo or Svo). Before it was always on both type.
Environment library usage:
   - Fix issue on category search since 5.3

Extract Workflow:
   - Add display of URL and Json for K2 Five workflow
   - Fix issue of detection of K2 Five workflow: If never modified (only deployed by Package and Deployment), it was displayed as 'K2 Studio'
   - Change the sort order (by name ascending instead of descending)

Fix issue of service type error displayed if we are connection from a client computer (not on K2 server) and with SQL connection. Thanks to Paulk raising this issue on community!

SmartObject usage: Add message when it's necessary: "In order to avoid important response time issue (up to 1 hour), we advise to not use 'SmartObject and corresponding input/output' with the SmartForm search do you want to continue?"

SmartObject usage, SmartForm control search, "Check SharePoint lists, libraries and settings" and Get Dll information:
    Fix issue of response time due to management of all cells selected when the user select all rows with for example "CTRL+A".
    Instead of to return only 1 record by selected rows, the system returned 1 record by selected row + 1 record by selected cells.


Version 5.0.11: May 25, 2020

In menu "Tools++", add the new tool "Datafields values editor" that allow to modify datafield, folio and xml fields for a specific workflow instance.

Version 5.0.10: March 31, 2020

Execute SmartObject: Display now each windows in the task bar in order to not lost it when we open another windows.

Version 5.0.9: February, 05 2020

Get Dll information (from a service type and from Tools++/"Get Dll information for all Service Types"), column "Additional Information", fix issue of display:

Expected value in the K2HostServer.exe.config in node assemblyBinding (Just after ' <probing privatePath="hostedServers; hostedServices; securityproviders" />'):
      <dependentAssembly>
        <assemblyIdentity name = "ClosedXML" publicKeyToken="System.Byte[]" culture = "neutral" />
        <codeBase version="0.87.0.0" href ="C:\Program Files (x86)\K2 blackpearl\ServiceBroker\OldDllVersions\ClosedXML.dll"/>
      </dependentAssembly >

The public token was not correctly displayed: "System.Byte[]"
Now we display:

Expected value in the K2HostServer.exe.config in node assemblyBinding (Just after ' <probing privatePath="hostedServers;hostedServices;securityproviders" />'):
      <dependentAssembly>
        <assemblyIdentity name = "ClosedXML" publicKeyToken="fd1eb21b62ae805b" culture = "neutral" />
        <codeBase version="0.87.0.0" href ="C:\Program Files (x86)\K2 blackpearl\ServiceBroker\OldDllVersions\ClosedXML.dll"/>
      </dependentAssembly >

Version 5.0.8: January, 22 2020

Execute SmartObject: Don't display it as "TopMost": Now if we click on another windows (Like Word), the form "Execute SmartObject" is now hidden.

Version 5.0.7: January, 21 2020

Not force the application to be executed as administrator.
A warning message is now displayed if you are not administrator of the machine and if you are not in an accessible directory for write file in order to save application settings during close (File SmartObject Service Tester++.exe.config)

Add menu Force identity refresh.

Execute SmartObject :
   - Allow to open several windows in the same time.
   - Input property: when a K2 FQN (starting by a valid Label) is detected in the clipboard,
     when you past it in a text box with name like name, user name, group name, search string or label, labelname, k2 label, user provider, security label
     the system split it directly in 2 parts in the corresponding text box.
     Main example with following SmartObjects: UmUser, UmGroup, Categories_Authorization_User (Method SearchUsers)
   - "Return Properties" part: if a value contains more than 4537 characters, the textbox was empty. Now, we display a message explaining to go to the corresponding tab.
   - "Return Properties" part: if lenght is greater than 100, if we click on the text box, we go directly to the corresponding tab.
   - Fix issue when click on "Update favourites with parameters", take into account the data just filled in the current textbox.
     Before we need to leave the textbox to be sure the data took into account by "Update favourites with parameters"

SmartObject advanced search: add search by Smo GUID.

Fix issue for access to URL with space like : SmartObject Explorer\System\SharePoint 2013 Integration\SharePoint_Integration_Workflow_Helper_Methods.

Fix wording "libaries" by "libraries" in "Check SharePoint lists, libraries and settings" in 3 places.

Version 5.0.6: October, 08 2019

Smo Advanced search:
- Fix issue of label name no aligned correctly after resize
- Fix issue on 4.6 and 4.7 versions and manage correctly search on Output
- Display column "Smo method type". When double click on Smo part, set the method as default one.
- Change display order of columns

Jump to service object node: Fix if path not already in favourite

Add "What's new and update" in menu Help

Server properties: List usage of tools using SQL connection.

Favourite management: Fix issue of favourite still in parameter for other SmartObjects after the Favourite selection.
Favourite update: Add SmoST++ icon

Version 5.0.5: October, 07 2019

Improvements:

Add new tools :
   - Service instance usage statistics: accessible from any SmartObject Category
   - Environment library usage
   - Check licensed user
   - SmartObject advanced SQL search


SmartObject explorer: Display the number of object in categories. Add a setting for this.

Manage new checkbox for favourite: "Open with ADO query"

Execute SmartObject: Add button Count ADO

Add check of linked SmartObject before Refresh Service type/Service instance, Edit Service instance

Register service instance: Not allow to fill Password if authentication is Service account or impersonate (Before it was possible to fill it)

Improve get of current version: now check only the version linked to K2 Server (check with Server.Server)

Improve error message is we untick "Integrated Security" in server Properties: Advise to tick it: Verify if you didn't forget to tick "Integrated Security" in Server Properties

Env lib usage, Sharepoint info, SmartFormSearch and Usage and SmartObject usage: add Nb records after "Executed the {0} at {1} in {2}."

Sharepoint application setting:
   - Display group wording (Useful for detected of missing group)
   - Add tabs "General settings" and "Group providers"

Rename "Create SmartObject" by "Create or update SmartObject"

Server property: Fill automatically the database parameter using the file C:\Program Files (x86)\K2 blackpearl\Host Server\Bin\K2Server.setup

SmartObject usage:
   - Allow to double click on Smo to test it.
   - Add message if no Smo Found: "No results for category '{0}'.\r\nWhy not try the same search in the parent category ?"
   - Add disclaimer: "Only smartobjects referenced through out-of-the-box K2 components will be surfaced. Usage through .net code or web services cannot be retrieved."
   - Add category limitation for Service object search: It will be set by default when used by the "Service instance usage statistics".
   - Don't display column "SmoSystemNameAsSearch" if we are in the first tab "SmartObject name".


SmartForm control search and usage:
   - Add column "OriginalControlName"
   - For final result, add search on Field: impact on the value linked.
   - Fix double click on Url for edit not working


Create SmartObjects:
   - Add textbox for Prefix to add dynamically after the "Smo..."
   - Set as default Category the last selected one.
   - Add checkbox 'Remove "Smo" '
   - Review the tab stop order

Transform SmartObject Log To Url:
   - Add checkbox "Remove recurring SmartObjects calls" and review tabindexes (Order of control when press tab button)


Fixes:

Service object explorer: Don't display as specific the "Cloud Identity" and "Sync Service" and corresponding service instances and Smo

SmartObject usage:

   - Fix issue of search on category containing \
   - For K2Studio workflow: Avoid to display SmartObject that are not in the inital list
   - For K2 Studio: Search in the event "Create reference" too
   - K2 Studio workflow: Fix issues of some Smo not displayed if used in the same workflow.
   - For K2 Five, fix missing method for "Create reference"


Workflow Extract :
   - ix issue if SearchString is null or Search context is null

SmartFormControlSearchAndUsage :
   - Transform category path "K2 Designer > All Items > SuiviSupport > Views" to "SuiviSupport\Views"

“Get Dll information for all Service Types” :
Considere these dlls as K2 (Not as other):
ADOQueryService.dll, K2.Services.Actions.dll, SourceCode.SharePoint.Client.dll, SourceCode.SmartObjects.Services.SharePoint.Common.dll, SourceCode.SmartObjects.Services.SharePoint.Content.dll, SourceCode.SmartObjects.Services.SharePoint.Management.dll, SourceCode.SmartObjects.Services.SharePointV1.dll, SourceCode.SmartObjects.Services.SharePointV2.dll, System.DirectoryServices.Protocols.dll

Fix issue Object Reference not set to an instance of an object

Display the menu "Register ServiceType" on node "ServiceObject explorer" only on right click (Before it was displayed on left click too).




Version 5.0.4:
Fix issue for Smo usage:
- Now the assembly Newtonsoft.Json.dll is embedded.
- Fix K2 five workflow name not displayed
- Fix management of Smo Usage with category containing space: replace "_" by " "

Get Dll Information: Consider Newtonsoft.Json.dll as normal dll (Not as system).

Version 5.0.3:
Create "SmartObject usage" tool available from Service Instance, Service Object, SmartObject Category and SmartObject.

Manage favourite display name

Execute SmartObject: Display a tab "Html" with the html content if the content start with "html".
For all tabs added: if only one property is returned (And correspond to the type linked to the tab) display the WebBrowser tab instead of the simple first tab by default.

Add right click on "ServiceObject Explorer" node for "Register Service type"

Refresh of Service Type:
Review wording from
"Do you want to refresh the Service Type 'xx'?"
to
"Do you want to refresh all Service Instances of this Service Type 'xx'?"

In SmartObjects nodes, sub nodes methods, service instance, service right: Add right click "Jump to service object node" near "Create SmartObject (mainly for found Smo Path or compare it with the ServiceObject)".

Workflow Search and Extract: Fix wording "Past from Clipboard" to "Paste from Clipboard".

Add Icon SmartObjectService Tester++ in all the specific tools

Detection of the K2 version: don't display "New Identity Service" or "K2 Configuration Service" if it's the last information

Fix: Display in bold if the path is not correct (Before it was put correctly in bold only if the path didn't contains -E or -EE)

Rename "Create SmartObject (mainly for compare it with the ServiceObject)" to "Create SmartObject (mainly for compare it with the ServiceObject or found other SmOs)"

Fix standard Smo Service tester issue if we only fill hour without date in the input property: Error displayed (Normal): Exception thrown: 'System.ArgumentOutOfRangeException' in System.Windows.Forms.dll
Additional information: Value of '01/01/0001 15:24:39' is not valid for 'Value'. 'Value' should be between 'MinDate' and 'MaxDate'.
But after, the windows was completely disabled
Now the windows is available

In several part of the application, improve the display of the execution time: 1 second, 2 seconds (with s).

Improve error message if we try to register service instance with a missing dependent dlls.
Tested with "K2Field.DocxXmlTemplater.Templater"
Example:
Before:
"
Issue: "SmartObject Server Exception: Exception has been thrown by the target of an invocation.
Source : SourceCode.SmartObjects.Services.Management.
Inner Exception : Exception has been thrown by the target of an invocation.
Source : SourceCode.HostServerLib
"

Now:
"
SmartObject Server Exception: Exception has been thrown by the target of an invocation.
Source : SourceCode.SmartObjects.Services.Management
Inner Exception : Exception has been thrown by the target of an invocation.
Source : SourceCode.HostServerLib
Inner Exception : Could not load file or assembly 'DocumentFormat.OpenXml, Version=2.8.1.0, Culture=neutral, PublicKeyToken=8fb06cb64d019a17' or one of its dependencies. The system cannot find the file specified.
Source : K2Field.DocxXmlTemplater
Issue linked to 'DocumentFormat.OpenXml':
Please verify if the 'Open XML SDK 2.5 for Microsoft Office' is installed
"

Fix of original version of ++] :
Fix wording of Setting/Description of the first row in "Table for naming convention of SmartObjects":
"Ogininal name (allowing to selected it in combo)"
to
"Original name (allowing to selected it in combo)"


Version 5.0.2:
Fix issue during delete of service instance "Error: Impossible to get the SmartObject list of this Service Instance
Error: Invalid column name 'SmartObjectGUID'."
Avoid "Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. The statement has been terminated"

Version 5.0.1:
Fix issue trying to "Create SmartObject" or delete Service instance since 5.3.

Menu: Move "Transform SmartObjects Log to Smartobject - Service - Tester++ Urls" and "Settings" in the menu "Tools++"

Create in menu "Tools++", the tool "Get Dll information for all Service Types": It's the result of the right click on all Service Types and "Get DLL Information". You will be able to export all non standard dll (with dependencies) in a zip file.
For discover the dependency, do a recursive search to found all sub dependency: Display the parent Dll in column "Parent DLL path".
Fix issue of dll blocked when loading it by "Get DLL information".
Manage if dll path is in a sub directory.

Extract Workflow: Fix issue if the Search context is not set

During execution of SmartObject: Add warning only if "DocumentFormat.OpenXml" is in the error of Smo Execution:
Issue linked to 'DocumentFormat.OpenXml':
Please verify if the 'Open XML SDK 2.5 for Microsoft Office' is installed"

Update hard coded guid for Standard object 5.3 (For display of custom object in color)

When Acrobat Reader is installed we had an issue trying to display the pdf in the control WebBrowser
See this article: Using the AcroPDF.dll within the Microsoft WebBrowser control is unsupported
https://helpx.adobe.com/acrobat/kb/using-acropdf-dll-within-microsoft.html
Now we avoid the use of WebBrowser control and then open directly the PDF files.


Include changes done in SmoST standard between 5.0 and 5.3:
Removed action "Remove SmartObject From Category" and "Remove SmartObjects From Category" (All smo)
Execution of SmartObject with type "SmartObjectReader" (it's the default one): simplify the call.
Part "Order by" of execution of SmartObject: replace wording "Clear Alll" by "Clear All". (Already fixed in SmoST++ for filter)

Refresh Service type, Refresh Service instance: forbid these action if its a System one (detected by guid):
This system service instance is locked and cannot be refreshed
This system service type is locked and cannot be refreshed

For system "Update Service instance" add Warning: For compatibility reason we can't call 'UpdateServiceInstanceSettings' for system Service Instances with the SmartObject Service Tester++\r\nPlease do it with the standard SmartObject Service Tester"

List of Service Instance:
Account Management Service
Active Directory Service2
K2 Generic Settings Service
K2 Management
K2 Workspace
PDF Converter
SharePoint Integration
SharePoint User Functions Service
SmartBox Service
SmartObject Service Functions
Task Allocation Service
URM Service
Workflow Reporting Service
Workflow Service

Service types:
CRM 4 Entity
CRM 4 Functions
Deployment Service
K2 Generic Settings Service
K2 Management
K2 Workspace
Licensing Service
MobileServiceBroker
PDF Converter
SharePoint 2013
SharePoint 2013 Integration
SharePoint Functions
SmartBox Service
SmartObject Service Functions
Task Allocation Service
User Role Manager Service
Workflow Reporting
Workflow Service




Version 4.4.9:
If error during publish Smo add this:
You can too have this error if you are trying to change the category of the SmartObject and you don't have the role "Security Administrator" (In K2 Management > Users > Roles)

Smart Form control search and usage (Find references):
For the search usage part, during the automatic fill of the textbox for Category (only for limite usages for response time), remove \View or \Form or \V or \F at the end of the category
Improve the navigation between text box and button with keyboard "Tab".
For result of control (First table), change the order by and display if different the original name (if saved).
Example: display "hidden ExistAppType Data Label (Originally 'Data Label17')" instead of "hidden ExistAppType Data Label"
Other little fixes

Check Sharepoint List and Libraries:
Improve message if current user is a not member of a group with "Contribute" (or higer) permission level.
Part K2 Settings: Add button for mass update of Smartforms Runtime URL.
Put in red the "In progress"

Server Properties:
Add 2 button for simple asynchronous test connection to K2 server and K2 worflow server

Version 4.4.8:
SmartForms controls search and usage: Improvements and fixes
Fix issue of "Object reference not set to an instance of an object" at the start of the SmoST++.

Version 4.4.7:
Add Tool SmartForms controls search and usage.
Fix issue of several "Execute SmartObject" windows displayed when we navigate to combo of Favorite URLs with keyboard.
Change UMUSER path from "All SmartObject" to "System\Management\UserManagement\SmartObjects"

Version 4.4.6:
On any SmartObjects, add "Copy SmartObject to a category" in order to copy it even if the destination category is not easily accessible.
Typical example: SmartObject in end of "All SmartObjects" to copy in category default.
Procedure:
   1) Click on the destination category
   2) Right click on the destination category and choose "Copy SmartObject to category".

Create menu "Tool++" with "Check SharePoint lists, libraries and settings" and a new tool "Extract workflows"

"Get SharePoint lists, libraries and settings":
   Add Get of K2 settings.
   Fix issue with 4.6.11

Screen "Execute SmartObject": In Title, display the system name if not same of the display name.

TransformSmartObjectLogToUrl : Add button "Open HostServer.exe.config".

Version 4.4.5:
Fix issue "Automatic parameter definition '{0}' is not valid: it should contains '=' statement"" if a parameter contains "-E" example:
-E List ID=A1118921-D57A-46BA-B33B-E151B86E170A;Site URL=https://portal.denallix.com
Fix regression issue of version 4.4.4 during when click on button "Refresh"
In Setting menu: replace checkbox "Get only main version" by a Combo

Version 4.4.4:
"Get All SharePoint Lists and Libraries Ids": Rename it to "Check SharePoint Lists and Libaries". Allow to restrict for a site, Add check-boxes "Test Get Lists/Documents of SmartObjects" and "Test SmartObjects synchronization"
This tool is now not dependant to SQL connection

Version 4.4.3:
Allow to display all Sharepoint Lists and Libraries Ids by a right click on any category in "SharePoint 2013" and select "Get All Sharepoint Lists and Libaries Ids"

Version 4.4.2:
Display SMOST++ version and K2 Version in the header.

Version 4.4.1:
Fix issue during database connection at start of application if only one server setup.

New version 4.4.0.x with compatibility with K2Five 5.2
Edit Service instance: allow to copy the GUID and SystemName (The text box was not Enabled)

Version 4.3.4:
Fix a regression issue of the 4.3.2: It was not possible to connect to database for version Before K2Five.
In Execute Client method screen: Change the display name of the Methods of the Smo UMUser:
   Get Users: This method returns values from direct security provider (Active directory for K2 Label).
   Get User Details: This method returns values from K2 'Cache' table Identity.Identity.
In a particular case, display "Generate Key" in the service instance parameter.
Setting page: Part naming convention, by default display the current service object selected
In case of a new service instance parameter has been added but not set, add an help message in the error message when we get an error during refresh of service instance: "Please try an Edit of the Service Instance."

Version 4.3.3:
Execute client method: The right click on the result table to Copy, Save as the cell didn't work.

Version 4.3.2:
Server Property: Allow to fill the SQL server Name and Database for K2 Five.

If the system is not in english, in case of crash at start due to missing file "SmartObject Service Tester++BetaVersion.exe.config", the system didn't create it automatically.
Now we recreate it automatically even if we are not in English. Problem link to the detection of the error message.

Version 4.3.1:
Execute client method: Remove the space after and before the property type:
Example:
Replace "Process Name ( Text )" by "Process Name (Text)".

Increase the width of the form if at least one input property or parameter have a very long display name: Do this increase when we change the method (It was done previously at the form load).

You can find more information (with screen shots) of previous main version on the file "Release Note" of this link:
http://community.k2.com/general-k2-utilities-85/smartobject-service-tester-plus-plus-92426