Changes

UBIK Templates

335 bytes removed, 30 April
* If an object defines a child area template name (see [[SYSCLS_CHILDAREATEMPLATE|child area template classification]]), return the custom template with that name;
<div id="StrictTemplatePolicy"></div>
* {{Version/WinXSince|3.6}} ('''Not yet available for Xamarin''') If not found and the "Strict Template Loading Policy" setting is turned on, returns an [[Developer_Mode#Errors|error template]]; (This can be useful for checking if some templates are missing before the final deployment.)
* If not found, returns the default UBIKChildArea template.
** If nothing of the above fits & the ChildItemTemplate is null, it returns a ''UBIKChildItem'' template.
{{Hint|To get an overview of how a template selectors work(e.g. ''UBIKChildItem'') is loaded, please refer to [[UBIK_Templates#Template_loading_mechanism|Template loading mechanism]].}}
** Returns a ''UBIKPropertyDirectItemGuid'' template if the given Property is of type Guid.
** Returns a ''UBIKPropertyDirectItemGeoData'' template if the given Property is of type GeoData.
** Returns a ''UBIKPropertyDirectItemNotSupported'' template if the given Property is none of the type above.
</tab>
<tab name="Xamarin">
** if the related property is read only or
** if the object is locked or
** when the property requires authentication or** if the given TaskViewModels (namely the associated object is a [[MRO_Objects_(Client)#Task|Task]]) Value is of type GeoData or DateTime.
* Otherwise:
** Returns a ''UBIKPropertyDirectItemList'' template if the MetaProperty of the given item has a [[UBIK_Client_Basics#Selective_List_Properties|SelectiveList]].
** Returns a ''UBIKPropertyDirectItemDouble'' template if the given Property is of type Double.
** Returns a ''UBIKPropertyDirectItemGuid'' template if the given Property is of type Guid.
** Returns a ''UBIKPropertyItem'' template if the given Property is none of the type above.
</tab>
</tabs>
{{Hint|To get an overview of how a template selectors work(e.g. ''UBIKPropertyItem'') is loaded, please refer to [[UBIK_Templates#Template_loading_mechanism|Template loading mechanism]].}}
** Returns a ''UBIKTaskPropertyGuid'' template if the given TaskViewModels (namely the associated object is a [[MRO_Objects_(Client)#Task|Task]]) Value is of type Guid.
** Returns a ''UBIKTaskPropertyGeoData'' template if the given TaskViewModels (namely the associated object is a [[MRO_Objects_(Client)#Task|Task]]) Value is of type GeoData.
** Returns a ''UBIKTaskProperty'' template if the given TaskViewModels (namely the associated object is a [[MRO_Objects_(Client)#Task|Task]]) Value has none of the types above.
</tab>
<tab name="Xamarin">
** if the related property is read only or
** if the object is locked or
** when the property requires authentication or** if the given TaskViewModels (namely the associated object is a [[MRO_Objects_(Client)#Task|Task]]) Value is of type GeoData or DateTime.
* Otherwise:
** Returns a ''UBIKTaskPropertyList'' template if the MetaProperty of the given item has a [[UBIK_Client_Basics#Selective_List_Properties|SelectiveList]].
** Returns a ''UBIKTaskPropertyDouble'' template if the given TaskViewModels (namely the associated object is a [[MRO_Objects_(Client)#Task|Task]]) Value is of type Double.
** Returns a ''UBIKTaskPropertyGuid'' template if the given TaskViewModels (namely the associated object is a [[MRO_Objects_(Client)#Task|Task]]) Value is of type Guid.
** Returns a ''UBIKTaskProperty'' template if the given TaskViewModels (namely the associated object is a [[MRO_Objects_(Client)#Task|Task]]) Value has none of the types above.
</tab>
</tabs>
{{Hint|To get an overview of how a template selectors work(e.g. ''UBIKTaskProperty'') is loaded, please refer to [[UBIK_Templates#Template_loading_mechanism|Template loading mechanism]].}}
* Returns a ''UBIKInputHotSpot'' template if the given [[HotSpotting#HotSpots|HotSpot]] is of type [[HotSpotting#InputSpot|InputHotSpot]] & if the UBIKInputHotSpot template is not null.
* If nothing of the above fits, it returns a ''UBIKDefaultHotSpot'' template.
{{Hint|To get an overview of how a template selectors work(e.g. ''UBIKInputHotSpot'') is loaded, please refer to [[UBIK_Templates#Template_loading_mechanism|Template loading mechanism]].}}
* This returns a ''UBIKProfileItem'' template if the given item is a Profile file.
* If the given item is a folder, it returns a ''UBIKProfileFolder'' template.
{{Hint|To get an overview of how a template selectors work(e.g. ''UBIKProfileItem'') is loaded, please refer to [[UBIK_Templates#Template_loading_mechanism|Template loading mechanism]].}}
** If nothing of the above fits & the ChildItemTemplate is not null, it returns that ChildItemTemplate.
** If nothing of the above fits & the ChildItemTemplate is null, it returns a ''UBIKMainItem'' template.
{{Hint|To get an overview of how a template selectors work(e.g. ''UBIKMainItem'') is loaded, please refer to [[UBIK_Templates#Template_loading_mechanism|Template loading mechanism]].}}
* This returns a ''DropDownItemTemplate'' for drop-down list items.
* Otherwise, it returns a ''ComboBoxSectionItemTemplate'' (for the selected item when the drop-down list is closed).
{{Hint|To get an overview of how a template selectors work(e.g. ''DropDownItemTemplate'') is loaded, please refer to [[UBIK_Templates#Template_loading_mechanism|Template loading mechanism]].}}
<tab name="UWP">
* If the context object is classified with the [[SYSCLS_CHILDAREATEMPLATE|ChildAreaTemplate Classification]] and carries a valid child area template name:
** Tries to return a custom template with the name of CustomTemplateName + Suffix;** If not found, returns an [[Developer_Mode#Errors|error template]] (strict policy on) or goes to the next rule (strict policy off).
* Otherwise:
** Tries to return a custom template with the name ''UBIKChildArea'' + Suffix;** If not found, it will try to find the default template with the given name;** If that's not found, it returns an [[Developer_Mode#Errors|error template]].
</tab>
<tab name="Xamarin">
* If the context object is classified with the [[SYSCLS_CHILDAREATEMPLATE|ChildAreaTemplate Classification]] and carries a valid child area template name:
** Tries to return a custom template with the name of CustomTemplateName;** If that's not found, it returns an [[Developer_Mode#Errors|error template]].
* Otherwise:
** Tries to return a custom template with the name ''UBIKChildArea'';** If not found, it will try to find the default template with the given name;** If that's not found, it returns an [[Developer_Mode#Errors|error template]].
</tab>
</tabs>
{{Hint|To get an overview of how a template selectors work(e.g. ''UBIKChildArea'') is loaded, please refer to [[UBIK_Templates#Template_loading_mechanism|Template loading mechanism]].}}
<tab name="UWP">
* If the context object is classified with the [[SYSCLS_CONTENTAREATEMPLATE|ContentAreaTemplate Classification]] and carries a valid content area template name:
** Tries to return a custom template with the name of CustomTemplateName + Suffix;** If not found, returns an [[Developer_Mode#Errors|error template]] (strict policy on) or goes to rule 2 (strict policy off).
* Otherwise:
** Tries to return a custom template with the name of ''UBIKContentArea'' + Suffix;** If not found, it returns an [[Developer_Mode#Errors|error template]].
</tab>
<tab name="Xamarin">
* If the context object is classified with the [[SYSCLS_CONTENTAREATEMPLATE|ContentAreaTemplate Classification]] and carries a valid content area template name:
** Tries to return a custom template with the name of CustomTemplateName;** If not found, returns an [[Developer_Mode#Errors|error template]].
* Otherwise:
** Tries to return a custom template with the name of ''UBIKContentArea'';** If not found, it returns an [[Developer_Mode#Errors|error template]].
</tab>
</tabs>
{{Hint|To get an overview of how a template selectors work(e.g. ''UBIKContentArea'') is loaded, please refer to [[UBIK_Templates#Template_loading_mechanism|Template loading mechanism]].}}
* Returns a ''UBIKEditGeo'' template if the given Property is of type GeoData.
* Returns a ''UBIKEditSignature'' template if the given Property is of type Signature.
* Returns an [[Developer_Mode#Errors|error a ''UBIKEditNotSupported'' template]] if the given Property is of type XML, ByteStream, Geography, FileReference, or Undefined.
</tab>
</tabs>
{{Hint|To get an overview of how a template selectors work(e.g. ''UBIKEditBool'') is loaded, please refer to [[UBIK_Templates#Template_loading_mechanism|Template loading mechanism]].}}
{{UnderConstructionEnd}}