Issues Fixes around OmniScript and VlocityCard deployment#428
Issues Fixes around OmniScript and VlocityCard deployment#428dattakale86 wants to merge 2 commits intoCodeneos:mainfrom
Conversation
dattakale86
commented
Feb 6, 2026
- Add support for digital experience bundle deployment
- Fix issue in Flex Vlocity Card deployment
- Add support for labels in flex card LWC
- Add handling to avoid querying non existing objects from org e.g. OmniProcess or OmniUiCard etc.
- Add record activator for non flex Vlocity cards in post deploy
| filepath: string, | ||
| source: string | ||
| }> = compiler.generateLWCFiles(name, card, 'card', null, metaObject); | ||
| }> = await compiler.generateLWCFiles(name, card, 'card', null, metaObject); |
There was a problem hiding this comment.
Instead of calling getCustomLabelsFromCardDefinition in the flexCardDesignerUtil.ts can you move it into flexCardLwcCompiler.ts. The flexCardDesignerUtil is sourced from the org and will be with SF releases, for ease of updating we should avoid updating it.
| Label?: Record<string, string>; | ||
| } | ||
|
|
||
| interface OmniUiCardRecord { |
There was a problem hiding this comment.
Would be good to also change this Record type to use lowercase properties so it is alligned across the file.
| "typedoc": "^0.28.12", | ||
| "typedoc-plugin-rename-defaults": "^0.7.0", | ||
| "typescript": "`^5.9", | ||
| "typescript": "^5.9", |
There was a problem hiding this comment.
I didn't noticed when this typo creaped in, thanks for addressing it.
| await this.addBundledSources(file.replace(/-meta\.xml$/ig, '').split('.').shift()!, metadataType); | ||
| } | ||
| else { | ||
| await this.addBundledSources(path.dirname(file), metadataType); |
There was a problem hiding this comment.
Can you add a test method for this use case? For changes to the package builder I'd like to have test cases which will also prevent the feature from breaking in the future. There is an existing test class that you can extend.
| // Classic metadata package all related files | ||
| await this.addBundledSources(path.dirname(file), metadataType); | ||
| if (metadataType.id === 'experiencebundle' && file.endsWith('-meta.xml')) { | ||
| await this.addBundledSources(file.replace(/-meta\.xml$/ig, '').split('.').shift()!, metadataType); |
There was a problem hiding this comment.
Use this.stripFileExtension(file, 2) to drop .XX-meta.xml
| await this.addSingleSourceFile(fullPath, metadataType, componentName); | ||
| } | ||
| if (file.isDirectory()) { | ||
| await this.addBundledSources(fullPath, metadataType, componentName); |
There was a problem hiding this comment.
Doens't this also flatten nested structures in for example LWC bundles? And is that wanted, how would it affect __test__ folders in LWC bundles?