0

Is there a way to hide the "Preview Button" while generating a document within CPQ?

enter image description here

1 Answer 1

1

I think the preview button is included in a Visualforce page included in the CPQ Package.

Name of the page : SBQQ__GenerateWebDocument

Remove the line :

<button ng-click="onPreview()" class="sbBtn">{!$Label.lbl_preview}</button>

Not ideal but i am not aware of an click not code way to achieve this

1
  • I came to the same conclusion unfortunately, managed installed classes cannot be saved so if I tried to comment it out it wouldn't save. Thanks, I think it is just a button that will need to display.
    – ebar
    Commented Oct 11, 2019 at 17:35

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .