Redlining and collaboration

What redlining is

Redlining is the contract collaboration app. A contract that originates from a published Template is opened for negotiation. One or more collaborators are invited through collaboration requests and work the document with tracked changes and threaded comments until it is finalized, then it moves into the signature workflow.

Redlining depends on the Templates app: every redline is built from a template, and the contract language is the template's rendered body.

The objects

Object Role
Redline_Request__c One negotiation session. A child of Template__c. Holds status and points at the working document file.
Collaborator__c One participant. A child of both the Redline Request and a Contact. Holds signing order, per-user permissions, access token, and signature.
Comment_Thread__c A thread. Holds either a tracked-change suggestion or a comment conversation, distinguished by thread type.
Comment__c An individual comment inside a comment thread.

Lifecycle

  1. Create the request. A Redline_Request__c is created against a published template, with the record that supplies merge data.
  2. Invite collaborators. Each collaborator is a Collaborator__c linked to a Contact, given a signing order and a set of permissions.
  3. First open generates the document. The first time the request is opened, the contract body is generated from the template, merged against the data record, and saved as the working document on the request. From then on, everyone works that shared copy.
  4. Edit with tracked changes. Every edit is captured as a tracked suggestion, never a silent change. Change tracking is always on.
  5. Comment. Collaborators open comment threads and reply, building conversations tied to the document.
  6. Resolve. Suggestions are accepted or rejected. A resolved-suggestions review lists every resolution with who made and who resolved it.
  7. Ready to sign. When there are no unresolved suggestions, a collaborator marks themselves ready to sign. Once ready, their edits are locked.
  8. Sign. When it is their turn, the collaborator opens the signing workflow, and their signature is captured.

Collaborator access and identity

Collaborators do not log in. Each collaborator record is issued two personal magic links: one to the redline workspace and one to the signing page. Opening a magic link loads that person's permissions and the shared document. This is what lets external parties collaborate without Salesforce accounts.

Every working session stamps the collaborator's browser, operating system, device fingerprint, IP, and language for the audit record.

Ordering, turns and locking

Per-collaborator permissions

Each collaborator carries permission flags that shape what they can do in the workspace:

Permission Effect when off
Read only The whole document is locked for that person.
Can make suggestions They can comment but not edit.
Can accept changes They cannot accept suggestions.
Can discard changes They cannot reject suggestions.

This lets you, for example, invite a reviewer who can comment but not change the text, alongside an editor who can.

Comments and suggestions

Both suggestions and comment threads are stored as threads, tagged by type. Comment threads carry individual comments; suggestion threads carry the tracked change and its resolution. Nothing is hard-deleted: removed items are marked removed and hidden, so the negotiation history stays intact for audit.

Finalization and signing

When a collaborator is ready and it is their turn, a Sign action takes them into the signing workflow using the same token identity. Signing stamps the signed status and timestamp on their collaborator record. The finalized redline can be rendered to PDF the same way as any completed document, keyed by the Redline Request. See Manual PDF regeneration if a redline PDF needs to be regenerated.

Relationship to the Templates workflow

Redlining and single-user Templates are two publishing workflows over the same template. A template published as a simple link produces a Document Trace per visit. The same template driven through a Redline Request produces an ordered, multi-party negotiation with collaborators. See Publishing and workflows.

Value formatters and generated content

The Template's value formatters run when the request's working document is first generated. Version 10.11.0 preserves HTML returned inside merge fields, including styled spans and tables, when the editor loads and saves the document. The content remains read-only inside each merge field and carries through to the later signing view.

Changing a formatter does not rebuild a request's saved working document. Content already reduced to plain text by an older editor is not restored automatically. Create a new Redline Request when testing formatter changes or generating fresh formatted content. See Conditional content and HTML value formatters.

Template Sender, CCs, headers and footers

Use Send Template > Start Redline Request on a Template record to choose collaborator Contacts, set their status and permissions, add CC Contacts, and enter a personal message for invitation emails. Each selected collaborator or additional CC needs a Contact with an email address. CCs are separate read-only observers of signing status and the final PDF; they are not collaborators. See Manual signature and redline requests.

Configured headers and footers appear read-only above and below the editor. Collaborators cannot redline them. They are loaded from the latest saved Template while the request is in progress, so changing them can affect an active request. Completed document snapshots retain their merged values. See Headers and footers.