Version 4 Change Log
Version 4.0
🌟 New Features:
Automatic Refresh
- Subtemplate, Function Expression and Value Formatter dropdowns within the builder now automatically refresh every time they are opened.
Preview Modal Warnings
- If there are any html tags (Bold, Italic etc.) within an expression, a warning will be displayed in the preview modal.
Document Loading Message
- Text has been updated to ‘We are preparing the document…’ when document is loading.
Changes
Web Component Implementation
- The published document page has been migrated to a web component.
Import/Export Toolbar Buttons
- Import/Export buttons have been removed until this feature has fully implemented.
🛠Bug Fixes:
PDF Document Download
Tables no longer break in the middle and any custom margins are now properly applied.
Embedded Images
Fixed issue where expressions within a HTML tag’s attributes was not recognised.
Merge Field Selector
Changing the merge object now clears any items in the merge object fields array (i.e. clears the ‘chips’ below the selector).
Repeat Block Grouping
Records are now returned in the correct order and are shown properly in the child repeatable section.
Data Version Id
Fixed issue where Data Version ID was not populated within the document trace.
Incorrect Scope Selection
Fixed issue where relationship name was not populated on the reference field which would cause the name to revert to the ‘referenceTo’ field.
Invalid Fields Fix
Reference fields can now be used in expressions (e.g. Contact -> AccountId).
Blank Document
Fixed bug where a blank document would never stop loading. Now when a document has no content, it will display a blank page rather than load indefinitely.
SOQL in Repeat Blocks
Fixed issue where adding whitespace before the final expression within a repeat block would cause a console error when any soql query was saved.
Text Overflow
Text no longer overflows after being stamped on document.
Resized Images
Resized images are no longer distorted on the document page, pdf download or html download.
Available Until Message
Correct error message shown in preview mode when document is no longer available.
Console Warnings/Error
- Removed missing toolbar items so console warnings no longer appear, also removed an additional parameter that was causing an error
Upgrade to Version 4.0
For the latest changes, upgrade to version 4.0 using the link below
Version 4.3
Deprecated settings:
This release added the API Username, API Password and API Token fields to General Settings. These fields are now deprecated and are not used by current versions. If your org still holds values in them, clear them:
- From Setup, navigate to ‘Custom Settings’
- Click on ‘General Settings’
- Click on ‘Manage’
- Edit the org default record and clear API Username, API Password and API Token
🌟 New Features:
Shorten Expressions
A new switch has been added to the document editor toolbar that shortens expression elements within the editor.
New PDF Engine
PDF downloads now use our new PDF API. This offers better support for custom document styles and more control over layout and formatting.
Release of 3B PDF Merge
PDF Merge allows admins to build document templates on top of a PDF. This is the first release of 3B PDF Merge, so bugs are expected.
Changes
Base64 Images
- All images uploaded to the document editor are now stored in base64 format. This means any documents that are downloaded can be viewed offline.
🛠Bug Fixes:
Invalid Preview Warnings
- Fixed issue where preview modal would show invalid warnings.
Value Formatters
- Value formatters are no longer evaluated twice. This would sometimes cause issues when formatting numbers.
User Input
- Fixed bug where inline user elements would all jump to the same line when the document was downloaded.
Table Fix
- Table contents are no longer compressed when downloaded as a PDF.
Template Styles
- Fixed issue where custom template styles were encoded incorrectly.
Upgrade to Version 4.3
Use this URL to install the package into any organization:
https://login.salesforce.com/packaging/installPackage.apexp?p0=04t8d000000dSed
Version 4.7
Bugs
- Various fixes in 3B Docs (document generator) for builder stability improvement
New
- We are releasing 3B Merge and Sign in this upgrade.
Deprecated
The old 3B Sign (non-native) solution is now deprecated. Please plan carefully when upgrading orgs that use the legacy hosted 3B Sign.
Actions
If you are upgrading from version 4.1 - 4.6, please make sure to disable the following Flows as they are used with 3B Sign non-native (from Setup):
3B Sign - Create New Template
3B Sign - Get Submitter Signed Files
3B Sign - Request Signatures
3B Sign - Sync Templates
Installation Link
Version 4.9
🛠Bug Fixes:
3B Sign PDF Generation
- PDFs generated by 3B Sign are no longer corrupted.
Upgrade to Version 4.9
For the latest changes, upgrade to version 4.9 using the link below:
/packaging/installPackage.apexp?p0=04t8d000000dSkI
Version 4.10
Optimisations
- Pre-Signed signatures are now added as a base64 encoded string. This will allow them to be viewed in a document offline.
🛠Bug Fixes:
Calendar Modal
Fixed bug where calendar modal closed after every click. Now the modal will only close when a specific date is selected.
3B Sign PDF Download
Fixed bug that caused a completed 3B Sign document PDF download to fail.
3B Sign Missing Fields
- Each submitter can now see the most recent updates made to a document (i.e they will see any changes made by a previous submitter).
Deprecations
The 'Render As' PDF option within the document trace is no longer available. Any generated PDF can now be found in the 'Notes & Attachments' section of the document trace.
Upgrade to Version 4.10
For the latest changes, upgrade to version 4.10 using the link below:
/packaging/installPackage.apexp?p0=04t8d000000dSkN
Version 4.11
🛠Bug Fixes:
Submitting required field twice in 3B Sign
- Last field no longer needs to be submitted twice.
Missing checkbox in 3B Sign PDF download
- Checkbox inputs now display on downloaded PDF.
Upgrade to Version 4.11
For the latest changes, upgrade to version 4.11 using the link below:
/packaging/installPackage.apexp?p0=04t8d000000dSkw
Version 4.14
Features Added
- Document Rejection in 3B Sign
- Description: Users can now reject signing a Document in 3B Sign. Rejecting a document submission populates a "Rejected Timestamp" field on the Submitter object.
- Impact: Provides more control to users over document signing, enhancing the overall user experience.
- Document Generator Preview Enhancements
- Description: Document Generator Preview page has now been structured using LWC and also provides the user the ability to download the desired document directly from the page.
- Impact: Improves usability by allowing direct document downloads from the preview page, saving time and effort.
- Generate Page Download Functionality
- Description: Previously, users couldn't directly download the document from the "Generate" page. This version enables this functionality.
- Impact: Streamlines the document generation process by adding direct download capability.
Bug Fixes
- Missing Flow Addition
- Description: Added a flow that was missing from the previous release.
- Impact: Ensures the application functions correctly by including the necessary flow.
- Unicode Character Handling in Sub-Templates
- Description: Updated retrieval of sub-templates within the document page to handle unicode characters.
- Impact: Resolves issues with unexpected characters in sub-templates, enhancing document accuracy.
Release URL
https://login.salesforce.com/packaging/installPackage.apexp?p0=04tJ7000000LOpC
Version 4.15
Bug Fixes
- GeneratedDocument.page Redirection
- Description: GeneratedDocument.page now redirects to its current implementation.
- Impact: Removes unused components and redirects the page appropriately.
- Error Handling in Saving User Responses
- Description: The process of saving user responses lacked error handling, leading to unexpected behavior in case of an error. Users would think everything went smoothly and proceed to download an incorrectly populated document.
- Impact: Enhances reliability by ensuring proper error handling during the save process.
- Disable 'Reject' Button After Signing
- Description: Previously, the 'Reject' button was not disabled in Sign after the user clicked the Sign button, which could lead to the user rejecting a file after signing it.
- Impact: Prevents users from rejecting a document after it has been signed, ensuring data integrity.
- Disable Input Fields During Signing/Saving
- Description: Input fields would previously stay enabled while signing/saving, which could mislead users or cause data integrity issues. This has been fixed by disabling the fields when necessary.
- Impact: Improves user experience and data integrity by ensuring input fields are disabled at appropriate times.
Optimizations
- Improved Document Download Logic
- Description: When signing a document and refreshing the page, the download button would make an API request to fetch and download the document through the "Generate" page. Now, when the signed document is already saved in Salesforce, it downloads that saved copy from within the org.
- Impact: Reduces unnecessary API requests and speeds up document download process.
Deprecations
- Deprecated DocumentGeneratorPreview.page
- Description: DocumentGeneratorPreview.page is deprecated in favour of the existing preview page.
- Impact: Streamlines the application by removing outdated pages.
Release URL
Version 4.17
Breaking Change:
Please note that this release has a breaking change. The PDF Service field within custom settings need to be updated to the following:
https://pdf.3bapi.com/v1/html-to-pdf/async
To do this:
From Setup, navigate to ‘Custom Settings’
Click on ‘General Settings’
Click on ‘Manage’
Edit/Update the following field: PDF Service
🌟 New Features:
PDFs are now generated in the background for both 3B Sign and 3B Documents. This provides a more streamlined process and users no longer have to wait on the document page while a PDF is being created. This has slightly changed the workflow for the following applications:
3B Sign
When a 3B Sign document is completed, the PDF is generated in the background using the 3B API. When it has finished generating it is attached to the associated submission request. If a user wants to download the document as soon as they have completed it, they can do so using the download button which now opens the browser print dialog.
3B Documents
When a 3B Document is signed using the signature modal, a PDF is generated in the background using the 3B API. When it has finished generating it is attached to the associated document trace. If a user wants to download the document as a PDF, they can select the ‘PDF’ option from the download dropdown which now opens the browser print dialog.
Deprecated
The original 3B PDF api endpoint should no longer be used.
https://www.3bapi.com/v1/html-to-pdf
Installation Link
For the latest changes, upgrade to version 4.17 using the link below:
/packaging/installPackage.apexp?p0=04tJ7000000LOvz
Version 4.18
Features Added
- Drag and Drop Field Reordering
- Description: Fields can now be reordered by dragging.
- Impact: Enhances user experience by allowing easy reordering of fields through drag-and-drop functionality.
- Drag Handles on Field Panels
- Description: Added drag handle dots to field panels in the builder.
- Impact: Improves the visual design and usability of field panels.
- Hidden HTML and Word Document Download Options
- Description: HTML and Word Document download options are now hidden from the dropdown on the document page.
- Impact: Streamlines the document page by removing unnecessary options from the dropdown menu.
Bug Fixes
- Fixed HTML Format Display Issue
- Description: There was an issue caused by the iframe embedded to show the contents of the file in HTML format. HTML content now displays directly on the page with its styles applied.
- Impact: Ensures correct display of HTML content, improving user experience.
- Template Versions With No History
- Description: Templates with no saved versions no longer cause errors when their version list is loaded.
- Impact: Prevents errors when opening new templates.
- Added Padding to Modal Window
- Description: Added padding to the modal window and fixed content being clipped inside it.
- Impact: Improves the appearance and usability of modal windows.
- Ensured Correct Display of Colours in Browser Print Dialog
- Description: Added style to ensure that colours display correctly within the browser print dialog.
- Impact: Enhances the accuracy of printed documents.
- Fixed Page Breaks in Browser Print Dialog
- Description: Page breaks now work as expected within the browser print dialog.
- Impact: Improves document formatting in printed output.
- Updated Redlining to Use Async Endpoint
- Description: Redlining was not updated to use the async endpoint. Now, when all collaborators have agreed to sign, a PDF is generated asynchronously and added to the redlining request.
- Impact: Improves the efficiency and reliability of the redlining process.
Optimizations
- Support for Larger Files in Document Trace Updates
- Description: Document trace updates now support larger files.
- Impact: Enhances performance and reliability when handling large documents.
- Improved PDF Content Formatting
- Description: Changed scale of PDF so that the content is better formatted within the document generated by the API.
- Impact: Ensures better presentation and formatting of generated PDFs.
Deprecations
- Deprecated HTML and Word Document Download Options
- Description: HTML and Word Document download options have been deprecated.
- Impact: Simplifies the document download options, focusing on more relevant formats.
Release URL
Version 4.19
Fixes
- Applied fixes to the document margins, scaling and general PDF generation for Templates
- Stability improvements for PDF generation
- Fixed a bug where Dates could render the wrong day in certain locales
- Fixed an issue causing blank pages to be added to a Template's PDF
- Fixed an issue causing template PDF to be substantially different than generated document
- Improved rendering time for 3B Sign
- Added a potential fix to an issue that could cause Template's files to be overwritten with Form Submissions
New
- Added locale select to Date/DateTime fields in 3B Sign. Now, you can default the date format on the document submit and generated PDF. We now support EN, US, AUS and DE locales for date/datetimes. Any custom locales can be implemented with a formatter. This change is not retrospective, and the default app locale for date/datetime fields is US
- Updated the default custom setting for the PDF Service with the /async endpoint. New installs will not need to specify the async endpoint for PDF generation
- Added the ability to sort fields via Drag & Drop. Admins can change the fields' signing order by simply changing their order inside 3B Sign's builder
Link
https://login.salesforce.com/packaging/installPackage.apexp?p0=04tJ7000000LOwO
Version 4.20
New
- 3B Docs gets a facelift
- 3B Docs should now load faster. We are caching Styles, Functions and Formatters. Make sure to clear cache while developing a new template to get the latest of these metadata items
- Added support to reject 3B Doc template - a timestamp will be updated on the Document Trace and the "Status" field will read "Rejected"
- Added support to reject 3B Sign document - a timestamp will be updated on the Submitter and the "Status" field will read "Rejected"
- Added "Previous" button to 3B Sign and 3B Docs when completing a template/document that requires a signature
- We are now saving the signature BASE64 and Path Value to two new fields on the Document Trace in 3B Docs
- When a Doc Template/Sign Document is completed, the "Download" button will either print the screen or will download the generated PDF (if it has been generated by the async PDF service)
- Improved Signing experience for both Sign and Templates
- Mobile experience improvements for Docs and Sign
Fixes
- Previously, when a 3B Sign template was submitted, the fields weren't getting locked during the submission
- Substantially improved stability for 3B Docs
- Substantially improved styling for 3B Docs PDFs
Changes
- Now, in 3B Docs, the "THIS" keyword is not required when creating a custom style.
Link
https://login.salesforce.com/packaging/installPackage.apexp?p0=04tJ7000000LOwd
Version 4.21
Fixes
- 3B Sign: when a submitter is selected in the builder, the menu will be hidden
- 3B Sign: added full support for password, multi-select, and date-time field types
- 3B Docs & 3B Sign: now, select fields will pop up instead of pop down in the Submit forms
- 3B Docs & 3B Sign: pre-signed signature, checkbox and checkboxes did not support "inline" mode correctly
- 3B Docs & 3B Sign: various other updates and fixes around input fields in preparation for flow-back support
New
- 3B Docs & 3B Sign: Active field will bounce to indicate which field the user is completing
- 3B Docs & 3B Sign: Active field will be scrolled into view when completing a document
- 3B Docs: any embedded fields will be displayed in the submission form now. Users can complete a form either via direct document interaction or by using the submission form
Link
https://login.salesforce.com/packaging/installPackage.apexp?p0=04tJ7000000LOws
Version 4.22
Fixes
- Some PDFs could be generated with a tinted background color
New
- Now, when you add margins to a 3B Docs template, we will properly apply them on the generated PDFs. Previously, we were applying only the left and right margins. Now, top and bottom margins are also applied correctly per page
- Added two new Flows - Regenerate Trace PDF and Regenerate Submission PDF. These flows are used in a quick action buttons on the Document Trace and Submission Request (admins must add on page layout post upgrade), and the flows will allow you to re-generate the PDFs for the Template/Document.
Link
https://login.salesforce.com/packaging/installPackage.apexp?p0=04tJ7000000LOwx
Version 4.23
Fixes
- If a template had duplicate inputs (based on an issue in the builder where copy-pasting inputs could retain the same unique identifier for the input), the submission page for 3B Docs could fail to execute correctly. We have added a patch to resolve this and update all inputs to have unique IDs. No post-upgrade actions are required.
Link
https://login.salesforce.com/packaging/installPackage.apexp?p0=04tJ7000000LOx2
Version 4.24
Features Added
- Added the Option for Flow-back in 3B Sign
- Description: 3B Sign users now have the ability to allow flow-back functionality, from the submission to data within Salesforce. This is controlled by the relevant checkbox in the Document object. Effectively, when a user allows flow-back on a 3B Document and a submitter makes a change on an object's field during a submission, this change is applied to the original object within Salesforce as well.
- Impact: Enhances data synchronization between submissions and Salesforce objects, ensuring that changes made during submission are reflected in Salesforce.
Post installation instructions
Go to Custom Settings -> General Settings and update the following:
- PDF Gen Base URL field to the public site URL used for Onboarding/Doc Generation
Release URL
Version 4.25
Changes
- Previously, if a request to the PDF service failed for a 3B Sign document, we would show the user an error message. This behaviour has been changed. Now, if there is a PDF error, we will fail quietly and we will update the Error Timestamp and Error Message fields on the Submitter record. Since we introduced the "Re-Generate" button in a previous version, admin users can request a PDF to be re-generated at a later stage. This brings 3B Sign closer to 3B Docs in terms of PDF generation error handling, where 3B Docs employs the same tactic
New
PDF generation now waits until the generated document page has fully loaded before converting it to a PDF.
Link
https://login.salesforce.com/packaging/installPackage.apexp?p0=04tJ7000000LOxH
Version 4.26
Changes
- Field Focus & Scrolling: Now, in Docs and Sign, when a document is loaded, we won't immediately scroll to the first field on the document. Instead, we changed the behaviour to scroll the page to the focused field when the field is clicked within the submission form
- Reject Button: Added configuration to disable the "Reject" button for both Docs and Sign.This is controlled from the field "Hide Reject Option" on the Template/Document.
- Confetti: Added configuration to disable the Confetti button for both Docs and Sign. This is controlled from the field "Disable Confetti" on the Template/Document.
- 3B Docs: Added ability to set field labels. You can now set a label to input fields. Click on the cog gear icon when you focus on a field inside of the template editor. This is added for all input types. Once you have set a field label, it will be displayed on the submission form.
- 3B Docs: Field labels will be displayed on hover of a field, similar to 3B Sign
- 3B Docs: Added "Submit Generated Document" input field in Template Editor -> Settings -> Labels. This will be the label of the button that is displayed if a Template doesn't require a signature.
Fixes
- 3B Sign - Generated Page could double load the document. There was no user impact, but it used a lot of traffic. This has been fixed.
- 3B Docs: Fixed a duplicate field template in Template Editor -> Settings -> Labels
Link
https://login.salesforce.com/packaging/installPackage.apexp?p0=04tJ7000000LOxb
Version 4.27
Changes
- When a 3B Sign document is requested for regeneration, we are now going to save the new PDF with the name of the Document Template. Previously, we were saving it with the default label "Document.pdf" which could result the past submission screen to be stuck at "The file is being generated. Check again later."
Link
https://login.salesforce.com/packaging/installPackage.apexp?p0=04tJ7000000LOxl