Skip to content

Commit 563899d

Browse files
committed
PR feedback
1 parent 9fef4e6 commit 563899d

5 files changed

Lines changed: 4 additions & 33 deletions

File tree

osComponents/ProductConfiguration/lwc/productConfiguration/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ The `productConfiguration` Lightning Web Component (LWC) is designed for Digital
2727
| File | Type | Description |
2828
| :---- | :---- | :---- |
2929
| `InsuranceRatingApexService.cls` | Apex Class | Service class that wraps the createInsuranceRating and repriceInsuranceProduct invocable action.|
30-
| `ProductSelectionLabels.labels` | Custom Labels | UI text labels for translation support |
30+
| `ProductConfigurationLabels.labels` | Custom Labels | UI text labels for translation support |
3131

3232
---
3333

@@ -84,7 +84,7 @@ Embed the productConfiguration LWC in an Omniscript by using the Custom Lightnin
8484
3. Set the **LWC Component Name** to `c-product-configuration`
8585
4. Configure the component properties (see [Public Properties](#public-properties-api))
8686

87-
If you set `clearStateOnPrev` to `true`, hide the standard Previous and Next buttons in the step by reducing their width to 0\. The productSelection LWC shows Previous and Next buttons for navigation.
87+
If you set `clearStateOnPrev` to `true`, hide the standard Previous and Next buttons in the step by reducing their width to 0\. The productConfiguration LWC shows Previous and Next buttons for navigation.
8888

8989
### Data Output Structure
9090

@@ -102,7 +102,7 @@ The component outputs data to OmniScript via `omniUpdateDataJson()`:
102102

103103
| Issue | Possible Cause | Solution |
104104
| :---- | :---- | :---- |
105-
| "No products are available" | Rating API returned no products or ran into error | Verify `rootProductCodes` and `ratingInputs` are correct. |
105+
| "No products are available" | Rating API returned no products or ran into error | Verify `ratingInputs` are correct. |
106106
| OmniscriptBaseMixin not found on component deployment | Missing Omniscript customization package | Ensure `omniscriptBaseMixin` and utility modules are deployed by following the [Prerequisites](../../../README.md#prerequisites). |
107107
| Missing context or product details on rating call response | Wrong API version | Ensure that all components and supporting files use Salesforce API version **66.0** or later. |
108108
| State not persisting | clearStateOnPrev is not set to true | Hide step buttons by setting width to 0 and set `clearStateOnPrev` to true. |

osComponents/ProductConfiguration/lwc/productConfiguration/labelsAndConstants.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
/*
2-
* Copyright 2025 salesforce.com, inc.
3-
* All Rights Reserved
4-
* Company Confidential
5-
*/
6-
71
// Import Custom Labels
82
import MESSAGES from '@salesforce/label/c.PRODUCT_CONFIG_MESSAGES';
93
import COVERAGES from '@salesforce/label/c.PRODUCT_CONFIG_COVERAGES';

osComponents/ProductConfiguration/lwc/productConfiguration/productConfiguration.html

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ <h4 class="slds-text-heading_x-small slds-m-bottom_small slds-text-color_weak">{
112112
<div class="slds-form-element">
113113
<span if:false={attribute.isLookup} class="slds-form-element__label slds-text-body_small">{attribute.label}</span>
114114
<div class="slds-form-element__control">
115-
<!-- Display lookup attribute using force-lookup -->
115+
<!-- Display lookup attribute-->
116116
<template if:true={attribute.isLookup}>
117117
<template if:true={attribute.displayValue}>
118118
<lightning-record-edit-form record-id={attribute.value} object-api-name={attribute.lookupObjectApiName}>
@@ -288,17 +288,6 @@ <h5 class="slds-text-heading_x-small slds-m-bottom_small slds-text-color_weak">{
288288
<label class="slds-form-element__label slds-text-body_small">{attr.label}</label>
289289
<div class="slds-form-element__control">
290290
<template if:true={attr.displayValue}>
291-
<!-- <force-lookup class="attr-lookup-align"
292-
object-api-name={attr.lookupObjectApiName}
293-
record-id={attr.value}
294-
value={attr.value}
295-
display-value={attr.lookupDisplayName}
296-
name-fields
297-
should-calculate-display-name
298-
data-coverage-key={coverage.key}
299-
data-attr-id={attr.id}
300-
onitemoutputchange={handleCoverageAttributeLookupChange}>
301-
</force-lookup> -->
302291
</template>
303292
<template if:false={attr.displayValue}>
304293
<span class="slds-text-body_small">-</span>

osComponents/ProductConfiguration/lwc/productConfigurationMessageItem/productConfigurationMessageItem.html

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
<!--
2-
~ Copyright 2025 salesforce.com, inc.
3-
~ All Rights Reserved
4-
~ Company Confidential
5-
-->
6-
71
<template>
82
<div class="slds-is-relative">
93
<div class="slds-var-p-left_x-small">

osComponents/ProductConfiguration/lwc/productConfigurationMessageItem/productConfigurationMessageItem.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
/*
2-
* Copyright 2025 salesforce.com, inc.
3-
* All Rights Reserved
4-
* Company Confidential
5-
*/
6-
71
import { LightningElement, api } from 'lwc';
82
import { publish, createMessageContext } from 'lightning/messageService';
93
import MessageChannel from '@salesforce/messageChannel/lightning__productConfigurator_notification';

0 commit comments

Comments
 (0)