cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Change display type of custom field to checkbox in sap cpq

0 Likes
1,655

hello guys,

I am a beginner in sap cpq and i have a requirement to display a custom field on the quote page. The display type must be of type checkbox. However, there is no option for checkbox. By default the values are displayed in dropdown format and you can select only 1 value. I need to be able to select multiple values and the quote need to save those changes.

Any help or tips will be much appreciated.

Thanking you in advance.

Accepted Solutions (0)

Answers (2)

Answers (2)

vrjadhav
Participant

Hello,

You can customize the standard responsive template (Page : Cart, Template : Sections/CustomFields).

<!-- ko if: name == "Custom_Field_Name" -->

<input data-bind = "valueUpdatedOnEnter:content, enable:editable,attr:{id:$index() +'_'+ id,'aria-labelledby':'Label_'+$index()+'_'+id}" class = "form-control" style="width:20px;height:20px;" type="checkbox"/>

<!--/ko-->

vrjadhav
Participant
0 Likes

Hello neem88,

If you find the answer beneficial, please accept it. Thank you.

Stevica
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi

Open the product where you already added the attribute and change display type based on the image in the attachment.

Regards

attr-type.jpg

0 Likes

hello Stevica,

What you mentioned is applicable in the case of product configuration. What i need is to do the same for custom field on the quote page.