📝 Create Document

Creates a new .confluence file based on a template from Confluence.

Command ID: confluence-smart-publisher.createPage

How to Use

  1. Right-click on a folder in the VS Code explorer
  2. Select “Confluence Smart Publisher” > “Create Document”
  3. Enter the desired file name
  4. Enter the Template File ID

“Create Document” Command Flow

The Create Document command (createPage) executes a series of steps to create a new document based on a Confluence template. See the detailed flow:

  1. Initial Validation
  2. Template Retrieval
  3. File Creation
  4. Metadata Setup
  5. User Feedback

Note: The entire flow is executed transparently, with logs in the “Output | CSP” panel of VSCode to facilitate diagnosis in case of problems.

Benefits

Limitations