Document Page Counter

Overview

The plugin returns the number of pages in PDF document, slides in presentation and sheets in excel file. This custom function can be used anywhere in the Appian expression editor by providing the document ID of the document.

Key Features & Functionality

The plugin contains functions, as follows:

  1. getnumberofpages() - Returns the number of pages in the given PDF.
  2. getnumberofsheets() - Returns the number of sheets in the given Excel.
  3. getnumberofslides() - Returns the number of slides in the given PPT.
  4. getnumberofpagesindocument() - Returns the number of pages in DOCX or DOC(Works only for the documents created using Microsoft Word)
Anonymous
Parents
  • Issue with DOCX Page Count Plugin - Incorrect Results

    Hi Team,

    We're encountering a critical issue with the DOCX page count plugin we're currently using. This is impacting our document processing and causing problems with element positioning.

    • Problem: The plugin is incorrectly reporting a page count of "1" for some DOCX documents when they actually contain a significantly higher number of pages (e.g., 22 or 25).

    • Impact: This incorrect page count directly affects our element positioning logic, leading to misaligned elements within the documents. Our use case relies on accurate page counts to properly position elements.

    • Investigation:

      • We have thoroughly examined the affected documents and found no issues that would explain the incorrect page count.
      • The page count reported within the document's properties/info section is correct (e.g., 25 pages). This suggests the problem lies within the plugin itself.
    • Urgency: This issue is blocking our workflow as correct element positioning is essential. We need a resolution as soon as possible.

    • Request: Please investigate this issue and provide a fix or workaround. We need the plugin to accurately report the page count for all DOCX documents.



    Thanks &Regards
    Akshant

Comment Children
No Data