Property:Property documentation
Jump to navigation
Jump to search
Property | |
---|---|
edit | |
name | documentation |
label | documentation |
type | Special:Types/Text |
index | 14 |
sortPos | |
primary key | false |
mandatory | false |
namespace | |
size | 500 |
uploadable | false |
default | |
inputType | textarea |
allowedValues | |
documentation | The documentation for a property |
values from | |
showInGrid | |
isLink | false |
allow nulls? | |
topic | Concept:Property |
Text This is a Property with type Special:Types/Text
P
A positive number that specifies at which position of a Topic the given property should show. The first property to show has the index 1 each following property has an index that is +1 of the previous. +
see
* http://www.mediawiki.org/wiki/Extension:Semantic_Forms/Defining_forms#.27field.27_tag<br>input type - Specifies the type of input this field will have in the form. If a field corresponds to an SMW property or Cargo field, the form will usually have the correct input type by default; otherwise the default is text. If the corresponding SMW property, or Cargo field, cannot be automatically determined, you can use the parameter 'property', or the parameters 'cargo table' and 'cargo field', to manually specify it (see below). The allowed set of input types is different for every semantic property type; see below for the full list of options.
* http://www.mediawiki.org/wiki/Extension:Semantic_Forms/Defining_forms#Allowed_input_types_for_data_types
* http://www.mediawiki.org/wiki/Extension:Semantic_Forms_Inputs +
true if this Property is derived form a Link. It will not be exported to SiDIF separately and automatically be added by the Property Generator +
The label to be shown when in a form +
Specifies that this field must be filled in by the user. Note: mandatory should not be used in conjunction with hidden. Use of both in any field will cause the mandatory check on any field to fail when the form is saved.
see http://www.mediawiki.org/wiki/Extension:Semantic_Forms/Defining_forms#.27field.27_tag +
The name of the property +
namespace prefix +
should nullvalues be allowed and value set to NULL when empty? +
is this property a primary key of it's topic? +
I am true if this property is displayed in the default list of properties for my topic as
a column +
the display size of the field for the property +
If none empty >0 this is the position in the sort clause of this
property. This is used when displaying list of the topic as the default sort order
and it is used for selecting topics .
E.g.
Sortpos 1 for attribute lastname and sortpos 2 for attribute firstname leads to sort by lastname,firstname +
The type of a Property +
Specifies that a link should be placed next to this field, that opens a popup window to let the user upload a file; see 'Uploading files', below. See
* https://www.mediawiki.org/wiki/Extension:Semantic_Forms/Defining_forms#.27field.27_tag
* https://www.mediawiki.org/wiki/Extension:Semantic_Forms/Defining_forms#Uploading_files
The type of the target property needs to be Page for this to work +
Specifies where to get the possible values to be displayed in a form from see
http://www.mediawiki.org/wiki/Extension:Semantic_Forms/Defining_forms#.27field.27_tag
* values from property=property name - Similar to values=, but gets its values from the the set of all values that a certain SMW property points to.
* values from category=category name - Similar to values=, but gets its values from the names of all pages belonging to a specific category.
* values from concept=concept name - Similar to values=, but gets its values from the names of all pages belonging to a specific concept.
* values from namespace=namespace name - Similar to values=, but gets its values from the names of all pages belonging to a specific namespace. (To get values from the main namespace, use 'Main' for the namespace name, or just leave it blank.)
* values from url=URL identifier - Used only for autocompletion. Specifies that autocompletion should be based on the values retrieved from an outside URL; see Autocompleting on outside values for how to do this.
* values from external data=variable name - Used for autocompletion. You need to have theExternal Data extension installed to be able to use this parameter. It specifies that autocompletion should be based on the data retrieved from an outside source. A large number of data sources are supported, including web APIs, regular wiki pages, files on the local server, databases and LDAP directories. See Autocompletion using External Data. +
S
The documentation of this Semantic Media Wiki type +
The url of the 'official' documentation page of this type +
SMW internal id of the type +
Java mapping of this type +
The Semantic MediaWiki type without the prefix e.g. Text, Number, Boolean +