External tool settings: Skillnad mellan sidversioner

Från MoodleDocs
Hoppa till:navigering, sök
(Document MDL-52154)
m (clean up, typos fixed: ie → i.e.)
 
(24 mellanliggande sidversioner av 7 användare visas inte)
Rad 1: Rad 1:
{{External tool}}
{{External tool}}
==Adding a new external tool to a course==
This page explores in more detail the settings for the [[External tool]] once you have added it to your course and also covers the Site administration settings.
[[File:preconfigured tool in activity chooser.png|frame|right|A preconfigured tool 'Chemistry quiz' shown in the activity chooser]]
==General==


#With the editing turned on, in the section you wish to add your external tool, click the "Add an activity or resource" link and choose either 'External tool' or a preconfigured tool ''(new in 3.1)''.
*'''Activity name''' -  add a title, description if required, with your choice of display.
#This will take you to the settings page titled "Adding a new external tool". All settings may expanded by clicking the "Expand all" link top right.  
*'''Preconfigured tool''' - this is how Moodle communicates with the tool provider. If in doubt, leave as default. If your administrator has made a tool available site-wide, you will be able to select it here:
#If the external tool has not been configured by the administrator, you will need to have in advance the correct URL, consumer key and secret. These should have been provided to you by the managers of the LTI-compliant website you are going to be connecting to. Click "Show more" to access the consumer key and secret fields.


==General settings==
[[File:Preconfiguredtool.png|center]]
{|
|[[File:externaltool26.png|thumb|400px|General settings before expanding. When expanded, [https://docs.moodle.org/en/File:externaltoolexpanded.png extra options are available.]]]
|}
*'''Activity name''' -  give the title you wish the students to see on the course page
*'''External tool type''' -this is how Moodle communicates with the tool provider. If in doubt, leave as default. If your administrator has made a tool available sitewide, you will be able to select it here:
{|
| [[File:sitewidetool.png|Selecting a preconfigured tool]]
|}


*'''Launch URL''' - This is the URL for connecting to site.  
*'Select content' button - allows to import the link definition from the tool rather than entering it manually. This is the preferred flow when available.
*'''Tool URL''' - This is the URL for connecting to site. If your moodle site uses [https://en.wikipedia.org/wiki/Transport_Layer_Security SSL] (is on [[HTTPS]]) you will only be able to use a tool that also uses [https://en.wikipedia.org/wiki/Transport_Layer_Security SSL]. Make sure the tool URL has  [[HTTPS]] before attempting to use it or you may get a blank page.
*'''Launch container'''- this is how the external tool will be displayed.
*'''Launch container'''- this is how the external tool will be displayed.
**Default -if in doubt; leave as default
**Default - if in doubt; leave as default
**Embed - the external tool will be embedded in the Moodle course page with blocks and navigation bar
**Embed - the external tool will be embedded in the Moodle course page with blocks and navigation bar
**Embed without blocks - the external tool will be embedded in the Moodle course page but without blocks
**Embed without blocks - the external tool will be embedded in the Moodle course page but without blocks
Rad 29: Rad 21:
*'''Display activity name when launched''' - have this appear when the student clicks the link.
*'''Display activity name when launched''' - have this appear when the student clicks the link.
*'''Display activity description when launched''' - have this appear when the student clicks the link.
*'''Display activity description when launched''' - have this appear when the student clicks the link.
*'''Secure launch URL''' -  
*'''Secure tool URL''' - This overrides the tool URL when moodle uses [https://en.wikipedia.org/wiki/Transport_Layer_Security SSL] (if your site is configured to use  [[HTTPS]] in the wwwroot)
*'''Consumer key''' -this tells the connecting LTI compliant site that your Moodle is allowed to connect. The "tool provider", ie the manger of the connecting LTI compliant site will issue you with this key. If you are merely linking to a tool with no secure access or gradebook sharing then you won't need a consumer key. If you are linking to a course or activity from another Moodle site, then you can add any consumer key.
*'''Consumer key''' -this tells the connecting LTI compliant site that your Moodle is allowed to connect. The "tool provider", i.e. the manger of the connecting LTI compliant site will issue you with this key. If you are merely linking to a tool with no secure access or gradebook sharing then you won't need a consumer key. If you are linking to a course or activity from another Moodle site, then you can add any consumer key.
*'''Shared secret''' - this is the "password" to connect to the tool - the LTI compliant site.
*'''Shared secret''' - this is the "password" to connect to the tool - the LTI compliant site.
*'''Custom parameters''' - most times you can leave this blank. The tool provider might use this to allow you to display a specific resource.
*'''Custom parameters''' - most times you can leave this blank. The tool provider might use this to allow you to display a specific resource.
*'''Icon URL''' - you can display a different icon from the default External Tool icon by entering its URL here
*'''Icon URL''' - you can display a different icon from the default External Tool icon by entering its URL here
*'''Secure Icon URL''' - enter the URL of a different icon here if your students are accessing Moodle securely via SSL.
*'''Secure Icon URL''' - enter the URL of a different icon here if your students are accessing Moodle securely via [https://en.wikipedia.org/wiki/Transport_Layer_Security SSL].


==Privacy settings==
==Privacy==
(These settings are collapsed by default)
{|
|[[File:externaltoolprivacy25.png|Privacy settings expanded]]
|}


*'''Share launcher's name with the tool''' - this means that the student's name will be displayed on the connected site [[ Media:demoexternaltool.png| as in this example]]
*'''Share launcher's name with the tool''' - this means that the student's name will be displayed on the connected site [[Media:demoexternaltool.png|as in this example]]
*'''Share launcher's email with the tool''' - this means that the student's email will be displayed on the connected site [[Media:externaltoolfrontpage.png| as in this example]]
*'''Share launcher's email with the tool''' - this means that the student's email will be displayed on the connected site [[Media:externaltoolfrontpage.png|as in this example]]
*'''Accept grades from the tool''' - if this is checked, the connecting site will send back grades to Moodle's gradebook. See [[Using External tool]] for more information on this.
*'''Accept grades from the tool''' - if this is checked, the connecting site will send back grades to Moodle's gradebook. See [[Using External tool]] for more information on this.


Rad 50: Rad 38:
===Adding a tool site-wide===
===Adding a tool site-wide===


An administrator can manually configure external tools in ''Site administration > Plugins > Activity modules > LTI > Manage tools'' so that they are available across the site.  
An administrator can manually configure external tools in ''Site administration > Plugins > Activity modules > External tool> Manage tools'' so that they are available across the site.
 
[[File:moodle310__external_tool_registration.png|thumb|center|450px|Adding an external tool]]
 
A tool may be configured by an administrator so that it is shown in the activity chooser (in addition to the external tool activity) for a teacher to select to add to a course. Its description, if one is present, will appear in the activity chooser.
 
===Registering an LTI Advantage tool===
 
Moodle allows a simple way to deploy an LTI Advantage tool. If the tool provider supports that flow, you should have received a registration URL. Simply enter that url to a tool in the 'Tool URL' and press 'Add LTI Advantage'.
 
The tool registration UI will open and guide you to the steps for registration. Once completed, the registration panel will close and the list of tools will refresh. If the registration was successful, the newly added tool should be visible in a pending state.
 
The pending state allows you to review the tool configuration, the privacy and services granted, apply possible modifications (for example how the tool appears in the activity chooser), then activate the tool to make it available.
 
In case of errors when trying to start the registration, validate the registration URL with the tool's vendor the registration URL is for an LTI Advantage registration and not for the deprecated LTI 2 registration.
 
{| class="wikitable" border="1"
|-
| For Tool Developers looking to support the automated registration of LTI Advantage tool, there is an [https://moodlelti.theedtech.dev/dynreg/ implementation guide] available. The registration process is also being standardized by [https://imsglobal.org IMS Global] LTI Working Group. There is also a [https://youtu.be/6tcEwiOs5qU Youtube video] demo-ing and explaining the flow.
|}
 
===Registering an LTI 1.1 tool using a cartridge===


{{New features}}A tool may be configured by an administrator so that it is shown in the activity chooser (in addition to the external tool activity) for a teacher to select to add to a course.
You can register an LTI 1.1 tool type using a cartridge. A cartridge will configure all the information such as launch url, tool name & description and icons for you.


===Registering a tool using a cartridge===
To do this, simply enter the url to a tool's cartridge in the 'Tool URL' and press 'Add Legacy LTI'. You will be asked to enter a key and secret. If you don't have them, you can leave them blank and press save changes.


{{New features}}You can register a tool type using a cartridge. A cartridge will configure all the information such as launch url, tool name & description and icons for you.
[[File:LTIKeyAndSecret.png|thumb|center|450px|Entering a consumer key and secret]]


To do this, simply enter the url to a tool's cartridge in the 'Tool URL' and press 'Add'.
===Registering an external LTI 2.0 external tool===


===Registering an external tool===
<big>The LTI 2 specifications have been deprecated by [https://www.imsglobal.org/lti-security-announcement-and-deprecation-schedule IMS Global] and are no more the preferred way to integrate an external tool in Moodle.</big>


An external tool can be registered by an admin as follows:
To register an LTI 2 external tool, simply enter the url to a tool in the 'Tool URL' and press 'Add Legacy LTI'.
 
This will open the tool, which may in turn ask you to decide on some settings.
 
[[File:LTIConfirmCapabilities.png|thumb|center|450px|Viewing and confirming capabilities]]
 
Then you will be shown the capabilities the tool wants to use and you can decide if you want to allow the tool or not.


=== Viewing more details ===
=== Viewing more details ===
Rad 89: Rad 104:
5. If all requirements are met then you will be able to register automatically.
5. If all requirements are met then you will be able to register automatically.


6. Now go to ''Site administration > Plugins > Activity modules > LTI > Manage external tool types'' and click the 'Pending tab'
6. Now go to ''Site administration > Plugins > Activity modules > External tool > Manage external tool types'' and click the 'Pending tab'


7. Click the tick/checkmark to activate it:
7. Click the tick/checkmark to activate it:
Rad 98: Rad 113:
==External tool capabilities==
==External tool capabilities==


*[[Capabilities/mod/lti:addcoursetool|Add external tool]]
*[[Capabilities/mod/lti:addcoursetool|Add course-specific tool configurations]]
*[[Capabilities/mod/lti:addinstance|Add a new external tool]]
*[[Capabilities/mod/lti:addmanualinstance|Add a manually-configured tool]]
*[[Capabilities/mod/lti:addpreconfiguredinstance|Add a preconfigured tool]]
*[[Capabilities/mod/lti:requesttooladd|Submit a tool to admins for configuration]]
*[[Capabilities/mod/lti:requesttooladd|Submit a tool to admins for configuration]]
*[[Capabilities/mod/lti:grade|Grade external tool activities]]
*[[Capabilities/mod/lti:admin|Be an admin when the tool is launched]]
*[[Capabilities/mod/lti:manage|Edit external tool activities]]
*[[Capabilities/mod/lti:manage|Edit external tool activities]] i.e. be an Instructor when the tool is launched
*[[Capabilities/mod/lti:view|View external tool activities]]
*[[Capabilities/mod/lti:view|View external tool activities]] i.e. launch external tool activities
*[[Capabilities/mod/lti:addinstance|Add a new external tool activity]]
 


[[es:Configuraciones de herramienta externa]]
[[es:Configuraciones de herramienta externa]]
[[de:Externes Tool konfigurieren]]
[[fr:Paramètres d'outil externe]]

Nuvarande version från 19 maj 2022 kl. 14.45

This page explores in more detail the settings for the External tool once you have added it to your course and also covers the Site administration settings.

General

  • Activity name - add a title, description if required, with your choice of display.
  • Preconfigured tool - this is how Moodle communicates with the tool provider. If in doubt, leave as default. If your administrator has made a tool available site-wide, you will be able to select it here:
Preconfiguredtool.png
  • 'Select content' button - allows to import the link definition from the tool rather than entering it manually. This is the preferred flow when available.
  • Tool URL - This is the URL for connecting to site. If your moodle site uses SSL (is on HTTPS) you will only be able to use a tool that also uses SSL. Make sure the tool URL has HTTPS before attempting to use it or you may get a blank page.
  • Launch container- this is how the external tool will be displayed.
    • Default - if in doubt; leave as default
    • Embed - the external tool will be embedded in the Moodle course page with blocks and navigation bar
    • Embed without blocks - the external tool will be embedded in the Moodle course page but without blocks
    • New Window - the external tool will open in a new window. (A new window or tab will open with the External tool and the old browser window containing the course page will not change.)

The following settings are available by clicking ""Show more":

  • Activity description - give a short description here
  • Display description on course page - choose to show the description along with the activity name
  • Display activity name when launched - have this appear when the student clicks the link.
  • Display activity description when launched - have this appear when the student clicks the link.
  • Secure tool URL - This overrides the tool URL when moodle uses SSL (if your site is configured to use HTTPS in the wwwroot)
  • Consumer key -this tells the connecting LTI compliant site that your Moodle is allowed to connect. The "tool provider", i.e. the manger of the connecting LTI compliant site will issue you with this key. If you are merely linking to a tool with no secure access or gradebook sharing then you won't need a consumer key. If you are linking to a course or activity from another Moodle site, then you can add any consumer key.
  • Shared secret - this is the "password" to connect to the tool - the LTI compliant site.
  • Custom parameters - most times you can leave this blank. The tool provider might use this to allow you to display a specific resource.
  • Icon URL - you can display a different icon from the default External Tool icon by entering its URL here
  • Secure Icon URL - enter the URL of a different icon here if your students are accessing Moodle securely via SSL.

Privacy

  • Share launcher's name with the tool - this means that the student's name will be displayed on the connected site as in this example
  • Share launcher's email with the tool - this means that the student's email will be displayed on the connected site as in this example
  • Accept grades from the tool - if this is checked, the connecting site will send back grades to Moodle's gradebook. See Using External tool for more information on this.

Site administration settings

Adding a tool site-wide

An administrator can manually configure external tools in Site administration > Plugins > Activity modules > External tool> Manage tools so that they are available across the site.

Adding an external tool

A tool may be configured by an administrator so that it is shown in the activity chooser (in addition to the external tool activity) for a teacher to select to add to a course. Its description, if one is present, will appear in the activity chooser.

Registering an LTI Advantage tool

Moodle allows a simple way to deploy an LTI Advantage tool. If the tool provider supports that flow, you should have received a registration URL. Simply enter that url to a tool in the 'Tool URL' and press 'Add LTI Advantage'.

The tool registration UI will open and guide you to the steps for registration. Once completed, the registration panel will close and the list of tools will refresh. If the registration was successful, the newly added tool should be visible in a pending state.

The pending state allows you to review the tool configuration, the privacy and services granted, apply possible modifications (for example how the tool appears in the activity chooser), then activate the tool to make it available.

In case of errors when trying to start the registration, validate the registration URL with the tool's vendor the registration URL is for an LTI Advantage registration and not for the deprecated LTI 2 registration.

For Tool Developers looking to support the automated registration of LTI Advantage tool, there is an implementation guide available. The registration process is also being standardized by IMS Global LTI Working Group. There is also a Youtube video demo-ing and explaining the flow.

Registering an LTI 1.1 tool using a cartridge

You can register an LTI 1.1 tool type using a cartridge. A cartridge will configure all the information such as launch url, tool name & description and icons for you.

To do this, simply enter the url to a tool's cartridge in the 'Tool URL' and press 'Add Legacy LTI'. You will be asked to enter a key and secret. If you don't have them, you can leave them blank and press save changes.

Entering a consumer key and secret

Registering an external LTI 2.0 external tool

The LTI 2 specifications have been deprecated by IMS Global and are no more the preferred way to integrate an external tool in Moodle.

To register an LTI 2 external tool, simply enter the url to a tool in the 'Tool URL' and press 'Add Legacy LTI'.

This will open the tool, which may in turn ask you to decide on some settings.

Viewing and confirming capabilities

Then you will be shown the capabilities the tool wants to use and you can decide if you want to allow the tool or not.

Viewing more details

On the 'Manage tools' page you can also visit 'Manage preconfigured tools' to view the preconfigured tools in a tabular format.

There are tabs to add an external tool, to view those which are pending and to view those which have been rejected:

Setting up a new external tool

You can also visit 'Manage external tool registrations' to view the tool registrations in a tabular format, or to add an external registration with limited capabilities.

To add a tool with limited capabilities. 1. Click 'Configure a new external tool registration'

Registering an external tool

2. Configure the details on the settings page:

Registration settings page

'Memberships', allow the external tool to request a list of users with a certain role in a specified context e.g. users enrolled in a course.

3. Click the tick/checkmark to register:

Activating

4. After obtaining a success message, click to complete the process:

Completing the registration

5. If all requirements are met then you will be able to register automatically.

6. Now go to Site administration > Plugins > Activity modules > External tool > Manage external tool types and click the 'Pending tab'

7. Click the tick/checkmark to activate it:

Activating from the Pending tab

See the screencast External tool registration for a demonstration of the above steps.

External tool capabilities