Dataform setup: Różnice pomiędzy wersjami

Z MoodleDocs
Skocz do:nawigacja, szukaj
 
(Nie pokazano 44 wersji utworzonych przez 2 użytkowników)
Linia 3: Linia 3:
* [[Dataform activity settings|Activity settings]]
* [[Dataform activity settings|Activity settings]]


==Packages==
==Presets==
[[Image:preset.png|frame|500px|right|The Dataform preset tab]]<br clear="left" />
Dataform presets are predefined Dataform instances that can be use to create new Dataform instances with the same structure and data (if included) in the same course, in other courses in the site, or in other sites. Dataform presets are created from within a Dataform instance and applied to a new instance from within the new instance.


==Fields==
===Make a preset===
Each entry in a dataform activity consists of a set of information elements of one or more types depending on the nature of the activity. These information elements are called fields and they are the means for adding and viewing content in the activity.
Once you have your Dataform activity set up with or without user content, you can make a preset of it. The preset can be created in one of the following ways:
*'''Without user data''' - Only the Dataform structure - fields, views, filters, etc. - are included in the preset.
*'''With user data''' - Dataforom structure and all entries and their content are included with user information.
*'''With user data anonymized''' - Similar to 'With user data' but user information is anonymized.
The newly created/uploaded preset will be displayed in the list of course presets on the page.


[[Dataform: Field tags]]
===Upload preset from file===
You can upload a single preset (.mbz file) or a zip archive of more than one preset from your desktop. The presets will be added to the course presets list from which they can be applied or shared.


===Internal fields===
===Presets list===
The Dataform has a few internal fields which can be used to display internal entry and user information such as the time the entry was created or modified, the author's name or picture etc. These fields have only one instance that is created automatically by the Dataform. They cannot be added or deleted in the fields list. They can be used for filtering.
The presets list is divided to course and site presets. Presets are added to the course list from which they can be shared to the site list. Course  presets are visible only within the course to the course managers. Site presets are available to users with capability viewallpresets.


====_Entry====
===Apply a preset===
You can apply any presets in the list to the current Dataform instance. To apply a preset to a new instance simply create the new instance, go to its Presets tab and click on the apply button of the desired presets in the list. 


====_Time====
===Download presets===
Presets can be downloaded as mbz (moodle backup zip) archives. You can also download several presets in one go by ticking the checkboxes of the desired presets and clicking the download button in the list header. The mbz archives of the selected presets will be archived and downloaded in one zip file.


====_User====
===Share presets===
You can click the share button of a preset to make it available throughout the site. Use the checkboxes and share button in the list header to share more than one preset in one go.


====_Group====
===Delete presets===
You can click the delete button of a preset to delete the preset. Use the checkboxes and delete button in the list header to delete more than one preset in one go.


====_Approve====
==Fields==
Each entry in a dataform activity consists of a set of information elements of one or more types depending on the nature of the activity. These information elements are called fields and they are the means for adding and viewing content in the activity.


====_Comment====
[[Dataform fields]]


====_Rating====
[[Dataform: Field tags]]


===User-defined field types===


====Checkbox====
==Views==
 
[[Image:dataformviews.png|frame|right|Dataform views]]<br clear="left" />
This allows you to offer checkboxes for the user to select. Add the options one under the other. The word will appear next to a checkbox when the user clicks to add an entry. They can check more than one box.
Dataform views allow you to control the way information is presented in the Dataform activity. In order for a Dataform activity to be active, a default view must be defined. By default, there is no limit to the number of views you can apply to a single Dataform activity (although your administrator can limit the max number of views).  
Date
 
This allows a user to enter a date by picking a day, month and year from a drop down list.
File
 
Users can upload a file from their computer. If it is an image file then the picture field may be a better choice.
Select
 
The text entered in the options area will be presented as a drop-down list for the user to choose from. Each line become a different option.
Select multiple
 
The text entered in the options area will be presented as a list for the user to choose from and each line become a different option. By holding down control or shift as they click, users will be able to select multiple options. This is a fairly advanced computer skill so it may be wise to use multiple checkboxes instead.
Number
 
This allows users to enter any number. For example:
 
    42
    -1000
    0
    0.123
    3.0e8
 
(For those who care about the technical details, the field stores floating point numbers.)
Picture
 
This allows a user to upload and display an image file.
Radio buttons


The user gets radio buttons and can choose only one. They can only submit the entry when they have clicked on one button. (Note:If you only have two options and they are opposites (true/false, yes/no) then you could simply use a single checkbox instead. However checkboxes default to their unchecked status and so people could submit without actively selecting one of the options. This may not always be appropriate.)
Text


Users can enter one-line pain text. For multi-line text, or for text that requires formatting such as headers and bullet points, you can use a text area field.
Text area


This allows users to enter a long piece of text using the text editor.
Url


The user can add a link to a website here. If you select autolink then the URL becomes clickable. If you also enter a forced name for the link then that text will be used for the hyperlink. For example in a dataform of authors you may wish people to enter the author's website. If you enter the text 'homepage' as a forced name then clicking on text "homepage" will take you to the entered URL.
===Add a view===
User custom info
'''Editon'''<br />
'''Extended Matrix'''<br/>
'''Import'''<br/>
'''Interval'''<br/>
'''Matrix'''<br/>
'''Tabular'''<br/>


The user info field allows for displaying in an entry custom user profile info.
===View settings===


Fields management
Visible <br/>
 
D <br/>
In the Manage -> Fields tab you can add new fields or edit/set up existing fields.
E <br/>
 
M <br/>
Visible: The Visible setting determines who can see the field content. A field can be visible to everyone, to entry owner and managers, or to managers only. This can be set either from the field form or by clicking the eye icon of the field, each click moves the setting to the next mode.
Filter <br/>
 
Edit <br/>
Editable: The Editable setting determines whether the entry owner can edit the field content. When the field is locked the entry owner cannot edit the field content when editing the entry. Users with manageentries capability can edit the field regardless of this setting.
Duplicate <br/>
 
Reset <br/>
Edit: Action button for editing the field settings.
 
Duplicate: Action button for duplicating one or more fields. To duplicate more than one field select the desired fields by ticking their checkboxes and click the duplicate button in the table header row.
 
Delete: Action button for deleting one or more fields. To delete more than one field select the desired fields by ticking their checkboxes and click the delete button in the table header row.
 
Select: For multiple fields for bulk action (duplicate or delete). To select all or none of the fields tick or untick the checkbox in the table header row.
 
==Views==


==Filters==
==Filters==
Linia 105: Linia 79:


==Backup/restore==
==Backup/restore==
==Notifications==


==Permissions==
==Permissions==
* [[Dataform permissions]]
* [[Dataform permissions]]

Aktualna wersja na dzień 22:31, 30 wrz 2012

Settings

Presets

The Dataform preset tab


Dataform presets are predefined Dataform instances that can be use to create new Dataform instances with the same structure and data (if included) in the same course, in other courses in the site, or in other sites. Dataform presets are created from within a Dataform instance and applied to a new instance from within the new instance.

Make a preset

Once you have your Dataform activity set up with or without user content, you can make a preset of it. The preset can be created in one of the following ways:

  • Without user data - Only the Dataform structure - fields, views, filters, etc. - are included in the preset.
  • With user data - Dataforom structure and all entries and their content are included with user information.
  • With user data anonymized - Similar to 'With user data' but user information is anonymized.

The newly created/uploaded preset will be displayed in the list of course presets on the page.

Upload preset from file

You can upload a single preset (.mbz file) or a zip archive of more than one preset from your desktop. The presets will be added to the course presets list from which they can be applied or shared.

Presets list

The presets list is divided to course and site presets. Presets are added to the course list from which they can be shared to the site list. Course presets are visible only within the course to the course managers. Site presets are available to users with capability viewallpresets.

Apply a preset

You can apply any presets in the list to the current Dataform instance. To apply a preset to a new instance simply create the new instance, go to its Presets tab and click on the apply button of the desired presets in the list.

Download presets

Presets can be downloaded as mbz (moodle backup zip) archives. You can also download several presets in one go by ticking the checkboxes of the desired presets and clicking the download button in the list header. The mbz archives of the selected presets will be archived and downloaded in one zip file.

Share presets

You can click the share button of a preset to make it available throughout the site. Use the checkboxes and share button in the list header to share more than one preset in one go.

Delete presets

You can click the delete button of a preset to delete the preset. Use the checkboxes and delete button in the list header to delete more than one preset in one go.

Fields

Each entry in a dataform activity consists of a set of information elements of one or more types depending on the nature of the activity. These information elements are called fields and they are the means for adding and viewing content in the activity.

Dataform fields

Dataform: Field tags


Views

Dataform views


Dataform views allow you to control the way information is presented in the Dataform activity. In order for a Dataform activity to be active, a default view must be defined. By default, there is no limit to the number of views you can apply to a single Dataform activity (although your administrator can limit the max number of views).



Add a view

Editon
Extended Matrix
Import
Interval
Matrix
Tabular

View settings

Visible
D
E
M
Filter
Edit
Duplicate
Reset

Filters

Import

Export

RSS

Javascript

CSS

Backup/restore

Notifications

Permissions