Difference between revisions of "Search filter and criteria"

From UmsWiki
Jump to: navigation, search
Line 1: Line 1:
 
The word site on this page means a lot of different things, depending on the system UMS integrates to.
 
The word site on this page means a lot of different things, depending on the system UMS integrates to.
 +
 
E.g.
 
E.g.
 +
 
For Moodle it's course
 
For Moodle it's course
 +
 
For Google Drive it's a folder
 
For Google Drive it's a folder
 
 
 
=== '''Search filter and criteria (Activity)''' ===
 
=== '''Search filter and criteria (Activity)''' ===
 
This will enable you to concatenate sites that would have been created as to or more sites to be created as one site.
 
This will enable you to concatenate sites that would have been created as to or more sites to be created as one site.

Revision as of 14:03, 25 January 2018

The word site on this page means a lot of different things, depending on the system UMS integrates to.

E.g.

For Moodle it's course

For Google Drive it's a folder

Search filter and criteria (Activity)

This will enable you to concatenate sites that would have been created as to or more sites to be created as one site.

Search filter and criteria (Activity).png

Remarks

This is just for description purposes.

Filter

The SQL like filter (regular expression). If an activity matches, it will be subject to the settings below in semester roll

Semester roll

Use replace string with empty

This will replace a section of the site with an empty string.

Start index

Determine where to start in string to remove.

Length

How many characters will be removed from the string.

Add activity short description to node ID

This will add the field Kort_Betegnelse (Short Description) from the students table to the node id.

Node id is the URL.

Examples

This will create one site for English for levels 1, 2 and 3

Set the settings as shown below.

Office365filterexample.png

This filter ensures that it is only applied to activities that matches this SQL sentence.

Search filter and criteria (Course)

This will enable you to concatenate sites that would have been created as two or more sites to be created as one site. A course is always a child to an activity, it can not exist without an activity.

Search filter and criteria (Course).png

Remarks

This is just for description purposes.

Course Filter

The SQL like filter (regular expression). If an activity matches, it will be subject to the settings below in semester roll.

Semester roll

Use replace string with empty

This will replace a section of the site with an empty string.

Start index

Determine where to start in string to remove.

Length

How many characters will be removed from the string.

Activity Filter

The SQL like filter (regular expression). If an activity matches, it will be subject to the settings below.

Use replace string with empty

This will replace a section of the site with an empty string.

Start index

Determine where to start in string to remove.

Length

How many characters will be removed from the string.

Examples

If you have an activity with multiple courses attached and you only want one site.

Set the settings as shown below.

Search filter and criteria (Course) Example.png

This will create one site for 9a English for levels 1, 2 and 3

This filter ensures that it is only applied to courses that matches this SQL sentence.