コミュニティ

Vantage – Reusable/Common Advanced Script Library Across Document Skills

Product: Vantage

Product Area: Advanced Designer / Document Skills

Feature Request:

Provide support for reusable or centralized Advanced Script functions that can be shared across multiple Document Skills.

Currently, Advanced Scripts must be maintained independently within each Document Skill. This requires duplicating the same JavaScript logic across multiple skills when implementing common business rules, field transformations, validations, and repeating-group processing.

The requested enhancement would allow users to create and maintain common helper functions or script libraries in a central location and reference them from multiple Document Skills.

Use Case / Problem to Solve:

Organizations often implement large-scale solutions containing many Document Skills that share common logic.

Examples include:

  • Field normalization and formatting
  • Date manipulation and transformation
  • Repeating-group/table processing
  • Validation logic
  • Pipeline/vendor-specific business rules
  • Calculated field updates

Today, these scripts must be copied and maintained separately in every Document Skill. When business logic changes, updates must be manually applied to each skill, increasing maintenance effort and introducing the risk of inconsistencies.

For example, a common function such as:

function normalizeValue(input) {
// shared business logic
return result;
}

must currently be duplicated across multiple Document Skills rather than maintained in a single reusable location.

What Success Looks Like:

  • Ability to create reusable Advanced Script libraries or utility functions.
  • Ability to reference common functions from multiple Document Skills.
  • Reduced code duplication and maintenance effort.
  • Consistent business logic implementation across skills.
  • Faster development and easier long-term support of large Vantage solutions.
  • Improved governance and change management when common business rules need to be updated.

この記事は役に立ちましたか?

0人中0人がこの記事が役に立ったと言っています

コメント

0件のコメント

サインインしてコメントを残してください。