Quantcast
Channel: LTI and Moodle
Viewing all articles
Browse latest Browse all 2848

回應: External Tool LTI content-item message

$
0
0

by Adrian Cheung.  

I registered the tool with membership service enabled, and I am able to retrieve the users list when using basic-lti-launch-request. However when I use the content-item selection, /mod/lti/contentitem.php throws a 404 error and no error log can be found. (I enabled all capabilities and tool settings parameters for both basic-lti-launch-request and ContentItemSelectionRequest like this):

            array(
                'tc_profile_url'            => 'ToolConsumerProfile.url',
                'system_setting_url'        => 'ToolProxy.custom.url',
                'context_setting_url'        => 'ToolProxyBinding.custom.url',
                'link_setting_url'            => 'LtiLink.custom.url',
                'context_memberships_url'    => 'ToolProxyBinding.memberships.url',
            )


By the way, I alwyas get the following js error in the External tool registration result page, no matter registration is success or not. I believe this looks like to be a bug:

Uncaught TypeError: window.parent.triggerExternalRegistrationComplete is not a function
    at Object.init (first.js:87)
    at externalregistrationreturn.php?id=21&sesskey=fhTwJKfhoD&lti_errormsg=Sorry%2C+there+was+an+error+co…:147
    at Object.execCb (require.min.js:1)
    at b.check (require.min.js:1)
    at b.enable (require.min.js:1)
    at b.init (require.min.js:1)
    at require.min.js:1



Viewing all articles
Browse latest Browse all 2848

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>