This release includes a number of new features, as well quality improvements and bug fixes.

Please see below for the details of what is included in this release.

Major Enhancements

  • New look and feel builder
    Builder has been updated with a new look and feel.
  • Embed raw HTML
    In previous versions of Sweet, Sweet supported embedding HTML using an IFrame.  In this release in addition to ‘POST’, ‘GET’ and ‘PIPE’, there is now ‘HTML’.  When this option is set, you can provide an ‘html’ string which will be displayed by the application.  The html will be sanitized, and only a subset of html will be allowed.  Interactivity can be achieved by adding action attributes into the HTML. 
  • Support for Attribute Rules created in ArcGIS Pro
    A checkbox in the builder is now available which will allow inform the application that server side attribute rules may change the edits.  When this mode is set,  operations will check for changes that have occurred on the server whilst writing data changes.
  • Support for Branch Versioning
    This release will allow applications to use Branch Versioning. When working with branch versioning, the application can optionally include a Versioning Panel to create, and switch versions. The application will use the version management service for Undo/Redo and other behaviours.  

Minor Enhancements

  • ENH-2730: Action commands added for adding and removing reference layers
  • ENH-2731: Action commands added for change imagery layer rendering properties
  • ENH-3457: AWS and Azure Deployment instructions added to help
  • ENH-4033: Wait function added to scripting, to pause execution
  • ENH-4281: Page title now changes to match the name of the app

Bug Fixes

  • BUG-765: Properties Validate rule in the builder allows user to save without Failed validation message
  • BUG-770: Android browser not launching Collector
  • BUG-2913: Display symbols set as [No symbol] show symbols from other layers in the builder
  • BUG-4039: Polygon layers appearing in choice list for Connectivity Rules Source/Via/Destination
  • BUG-4047: Rulers leave partial graphics on map
  • BUG-4147: Alt Tab behaviour Use Shift + S instead
  • BUG-4311: Sweet Server is exposing an X- Powered-by header in the 404
  • BUG-4545: GP Function does not working passing FeatureSet as input parameter
  • BUG-4645: TextFormatting.NewLine ignored in “show-message” command
    For bubble messages, the html flag can be used// Example Show a message
return {
    command: "show-message",
    message: "Hello World<br/>HelloWorld2",
    html: true,
    // "duration": 2000, // Change the duration of the bubble messages
    style: "BubbleInfo" // Could be InfoMessage, WarnMessage, BubbleInfo, BubbleWarn, BubbleError
};
  • BUG-4654: Empty Advanced Section in Transform Panel
  • BUG-4692: Form buttons still active when disabled
  • BUG-4836: Syntax issue in top example script
  • BUG-4837: Missing Translation on Zoom All
  • BUG-4915: Error messaging on Import corrupt template