To make the fifth interactive code, Code of Practice for Fire Precautions in Buildings 2023 (CPFPB), CMS‑manageable and implement it into the existing PDF generator.
Tasks:
- Assessment and Planning:
- Assess the CPFPB code to determine the feasibility of converting it into a CMS‑manageable interactive version that functions similarly to the existing four interactive codes.
- Identify any special formatting or content structure unique to the CPFPB code.
- Confirm compatibility requirements with the existing PDF generator.
- Implementation:
Backend development:
- CPFPB PDF Generator (In CMS: Administration > Tools)
- Set up the backend page for CPFPB PDF generation (The PDF processing logic is in a shared base class that can be reused across all interactive codes)
- Ensure generated PDFs match the expected layout and content structure
- Ensure that CMS roles with permissions to generate the existing four interactive code PDFs will also be able to generate the fifth CPFPB PDF
- Sitefinity Dynamic Modules Setup
- Set up the required Dynamic Modules for CPFPB, including: Amended Chapters, Amended Histories, Revision Chapters, Revision Histories
- Configure and serialise module structures
- Configure mappings to CPFPB’s corresponding media libraries
- Backend code changes for registration of these new modules (CPFPB's amendment histories etc), proper routing for library configured
- CPFPB PDF Generator (In CMS: Administration > Tools)
- Verification:
- Verify successful implementation of CPFPB PDF generator
- Set up chapter‑based test pages in STG for CPFPB content in the CMS to validate that the generated PDF reflects all content accurately, including tables, fonts, annotations, and formatting, etc.
- Verify the functionality of the four CPFPB modules (Amended Chapters, Amended Histories, Revision Chapters, Revision Histories) to ensure they are correctly configured and functioning as expected within the CMS


