Dynamic Templating for Multi-Page Document Rendering
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Cloud-based platforms like Salesforce impose limitations on processing time for output rendering, leading to failures when handling large volumes of data, especially in synchronous CPU contexts, which restricts the ability to generate richly formatted outputs efficiently and scalably.
Innovation Solution
A dynamic templating process that generates formatted output documents by retrieving layout information, dynamically creating templates, expanding table rows based on datasets, and rendering these templates across multiple asynchronous CPU contexts, allowing for more flexible and scalable processing of large data volumes.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If synchronous CPU rendering is used for output generation, then processing speed is maintained, but processing time limits cause failures when handling large data volumes
Solution Approach 1:
The patent segments the rendering process into multiple asynchronous CPU contexts, each handling a portion of the data. This divides the large rendering task into smaller manageable units that can execute in parallel, overcoming the synchronous CPU time limit while maintaining overall processing throughput and reliability.
Solution Approach 2:
The patent transitions from synchronous single-threaded rendering to asynchronous multi-context rendering, adding a temporal and contextual dimension to the processing model. This enables the system to handle large data volumes by distributing work across multiple asynchronous execution contexts rather than being constrained by a single synchronous timeline.
2Ease of operation
If static templates are used for formatted output, then rendering speed is maintained, but flexibility to modify layouts is reduced and requires expert knowledge
Solution Approach 1:
The patent implements dynamic templates that can be automatically generated and modified based on data characteristics and user-defined parameters. This dynamic approach allows users to modify layouts through intuitive interfaces without expert knowledge, while the system maintains rendering efficiency by automatically optimizing the template generation process.
Solution Approach 2:
The system provides self-service template generation where the platform automatically creates and optimizes templates based on the data structure and user requirements. This eliminates the need for expert intervention in template creation while maintaining high rendering efficiency through automated optimization.
3Adaptability or versatility
If cloud-based multi-tenant processing is used, then resource sharing is enabled, but processing time limits are imposed to distribute resources uniformly
Solution Approach 1:
The patent segments the processing workload into multiple asynchronous contexts that can execute independently. This segmentation allows the system to share cloud resources efficiently across multiple tenants while providing each tenant with adequate processing time through parallel execution, overcoming the uniform resource distribution time limits.
Solution Approach 2:
The asynchronous rendering approach enables continuous processing across multiple contexts, ensuring that useful computational actions continue without being blocked by synchronous time limits. This maintains resource sharing capability while maximizing the effective processing time available to each tenant.
Data Source
AI summary
The disclosed embodiments include a method performed by computer system. The method can include retrieving a layout object including layout information, receiving an indication of a request for a formatted document, and determining that the formatted document should have multiple pages with a common layout feature. The method can further include dynamically generating a template for the formatted document based on the layout information of the layout object and generating the formatted document by using the template to create the multiple pages of the formatted document with the common layout feature.


