Printer-Friendly and History XSL Views

Overview

Printer Friendly/ History XSL views allow you to control the display of a transaction depending on the XSL template you select. You can create multiple XSL templates in this section to produce different types of printer friendly proposal formats or transaction history outputs.

These XSL templates can be predefined in the actions used to generate the printer friendly proposal or history output. Alternately, you can allow the user to select templates at run time to generate varied outputs.

You can generate output as XML, RTF, PDF, XLS, HTML, or DOCX.

ClosedSample Workflow

Sample Workflow


Administration

ClosedManaging Printer-Friendly/History XSL Views

The Printer-Friendly/History XSL View page shows a list of XSLs that currently exist. Using this page, you can perform the following actions: 


ClosedAdding a Printer-Friendly/History XSL View

  1. Click Admin to go to the Admin Home Page.

  2. Click Process Definition under Commerce and Documents.

    The Processes page opens.

  3. For the Commerce process to which you want to add the Printer-Friendly XSL converter, select Printer Friendly/XSL Views in the Navigation column for the Quote/Transaction and click List.

    The Printer Friendly / History XSL Views page opens.

  4. Click Add.

    The Add/Update XSL View page opens.

    Add/Update XSL View page

  5. Enter a Name.

    When you leave the Name field, the Variable Name field automatically populates. You can change the Variable Name if you want to.

    The name you enter here is shown in this page and other administration pages, but is not shown to the end user.

  6. Select an Output Type:. The options are:
    • XML
    • RTF
    • DOCX
    • PDF
    • XSL
    • HTML
    For a Document Engine document template, .RTF, .DOCX, and .PDF are the recommended outputs.
  7. If you select PDF, the Is PDF Read-Only: option appears. Check the box to make the generated PDF read-only.
  8. Select an Output Name:.
    1. Select Simple if you want the output document to always have the name Document.
    1. Select Advanced and then select an attribute whose value will dynamically name the output.

    This option is available on any user-created document that is generated through XSL Views. Administrators can only apply this feature on Quote-level Text Attributes.

    Example Use Case: Sales users can distinguish documents by their file name, if each file name has the Quote Number in it.

  9. Select an Edit Mode:
    • Editor: Select this option if you are using the Document Engine. From the list of deployed documents, choose the one that you want to link to the XSL view.
    • Upload XSL: Select this option to upload a custom XSL file.

      Click Browse to select a file from your local system, using the File Upload dialog box.

      If you upload a custom XSL file, it must be written in the same XML version as the other XML files in Commerce.
  10. Click Add or Update to save the XSL view.

  11. Adding a document and a Printer-Friendly XSL view will NOT make your document available to an end user. Create a Print action and link it with the XSL View that you have created here.

For more information on using Document Engine document templates, see the topic Document Engine Steps.


ClosedEditing Printer-Friendly XSL Views

The XSL view modified on this page can be used to format print forms, email forms, and change history logs.

  1. Edit any of the options under the Adding a Printer-Friendly XSL View steps.
  2. Click Display file to preview the XSL file.
  3. Enter a Transaction ID to preview how the XSL file formats the actual data for Document, History, Document XML, and History XML.

    For more information, see the topic Finding the Transaction ID.

  4. Click Apply to apply the changes made and refresh the page. Click Update to update the changes made and go back to the page for managing printer friendly and history XSL views. Click Back to go back without saving.

ClosedDOCX Documents

DOCX documents are not available for use on iPad. It is possible to view RTF files if the file has been emailed to someone via an e-mail action. The steps below use the build-in mail application, Mail, which is standard on the iPad.

  1. Go to the App Store and download the free app doctape
  2. Go to Mail and open the e-mail containing the document you wish to view
  3. Press and hold the attachment icon until a box pops up containing the options Quick Look and Open in “doctape”.
  4. Select Open in “doctape”. The app will upload the attachment then take you to a list of all documents opened through doctape. The one you just uploaded will be at the top.
  5. Select the document you want to open by pressing its icon
  6. In the Mail app, click the attachment or select Quick Look through the pop-up options. A new screen will open but it will just be a blank white page
    • If this happens, click the Action button in the upper-right corner (it looks like a box with a curved arrow pointing to the right) and select Open in “doctape”.
  7. Free apps that were tested and found to be incompatible:
    • OliveOfficeBasicHD
    • FileApp
    • PlainText
    • SimpleNote

Notes

Custom Variable Name Conventions

Beginning in Oracle CPQ 23D, CPQ will adopt Oracle CX Sales variable naming conventions for custom items. When administrators create new custom entities in a Standard or non-Standard Commerce Process, an “_c” suffix will be appended to the variable name.

  • The new naming convention for custom variable names provides more consistency for integrations with Oracle CX Sales.
  • This update only effects new custom entities, and there is no change to existing custom entities.

Related Topics

Related Topics Link IconSee Also