Result Data Extension

This extension is used to pass data in addition to a grade when using the outcome service.

Introduction

If this extension is supported the consumer sends a list of accepted data values and the provider adds a resultData node to the result XML sent to the consumer.

Launch Parameters

Name Required Description
ext_outcome_data_values_accepted yes Presence of this key indicates that the consumer is capable of using the resultData extension. The value should be a comma separated list of: url, text, or values agreed upon between consumer and provider.

Tool Provider Response

If the provider wants to supply these values, it can augment the POX sent with the grading value. LTI™ replaceResult POX

Only one type of resultData should be sent, if multiple types are sent the tool consumer behavior is undefined and is implementation-specific.

Text

Add a resultData node with a text node of plain text in the same encoding as the rest of the document within it like this:



  
    
      V1.0
      999999123
    
  
  
    
      
        
          3124567
        
        
          
            en
            0.92
          
          
          
            text data for canvas submission
          
        
      
    
  

URL

Add a resultData node with a url node within it like this:




  
    V1.0
    999999123
  


  
    
      
        3124567
      
      
        
          en
          0.92
        
        
        
          https://www.example.com/cool_lti_link_submission