Digital Assistant and Mobile

Get Involved. Join the Conversation.

Topic

    Taysir Shili
    How to set a flow pdf OutputAnswered
    Topic posted May 10, 2019 by Taysir Shili, tagged Bots 
    55 Views, 1 Comment
    Title:
    How to set a flow pdf Output
    Content:

    Hi,

     I would like how to allows the user receive a pdf file instead a text output.

    Any Help please !

    Code Snippet:

    Best Comment

    Rohit Dhamija

    Try this:

      attachmentResponse:
        component: "System.CommonResponse"
        properties:
          processUserMessage: false
          keepTurn: false
          metadata: 
            responseItems:         
            - type: "attachment" 
              attachmentType: "file" 
              attachmentUrl: "http://www.africau.edu/images/default/sample.pdf"            
              footerText:
              visible: 
                expression:            
                channels:
                  include:
                  exclude:
        transitions:
          return: "done"

     

    For more details please refer 

    https://fnimphiu.github.io/OracleTechExchange/trainings/advancedTraining2018/ppt-day1/04%20-%20ADVT-Common%20Response%20Component%20092018.pdf

     

    Comment

     

    • Rohit Dhamija

      Try this:

        attachmentResponse:
          component: "System.CommonResponse"
          properties:
            processUserMessage: false
            keepTurn: false
            metadata: 
              responseItems:         
              - type: "attachment" 
                attachmentType: "file" 
                attachmentUrl: "http://www.africau.edu/images/default/sample.pdf"            
                footerText:
                visible: 
                  expression:            
                  channels:
                    include:
                    exclude:
          transitions:
            return: "done"

       

      For more details please refer 

      https://fnimphiu.github.io/OracleTechExchange/trainings/advancedTraining2018/ppt-day1/04%20-%20ADVT-Common%20Response%20Component%20092018.pdf