Changes

Jump to: navigation, search

Custom Field Type: Special - Advanced Data Table

1,987 bytes added, 18:01, 19 July 2017
no edit summary
}
</pre>
 
 
== Managing Level 2 / 3 Activities with an XML Section ==
 
System administrators can configure XML fields to add, modify or delete {{l2}} records on a {{l1}} entity or {{l3}} records on a {{l2}} entity.
 
In the [[XML Section Builder]], when the ''Number of Rows'' for a Section is set to '0', the ''Enable Mapping'' option will be shown.
 
[[Image:XMLEnableMapping2017.png|link=]]
 
When ''Enable Mapping'' is selected, you can choose one type of activities to be referenced by the XML field.
 
The ''Activity Status Filter'' setting allows you to filter the activities to be referenced by status.
 
The ''Additional Filter'' setting allows you to select custom fields and associated values. These are used to filter the existing activities that will be listed within the XML. The custom fields used have to be those with pre-defined options (e.g. [[Custom Field Type: Select One – Combo Box|Combo box]], [[Custom Field Type: Select Many – Check Boxes|Check Boxes]], [[Custom Field Type: Dynamic Data – Dynamic Control Field|Dynamic Control]], Ajax Lookup).
 
[[Image:XMLEnableMappingFilter2017.png|link=]]
 
When building your section, you will need to map the fields on the {{l2}}s that will be referenced by the XML section.
 
For each Section column, enter the field name from the Level 2 type that you have selected from the ''Activity Type'' dropdown in the ''Map Field'' section:
 
[[Image:MappingL2Fields.png|link=]]
 
The syntax for the ''Map Field'' section is:
* for [[custom fields]], simply the field name (i.e., ''Fund Name'');
* for [[standard field]]s, use the prefix ''sf_'' and then the system name for the standard field (i.e., ''sf_status'').
:''see [[Standard Level 2 Field List]] article for a list of system names for {{l2}} standard fields.
 
When this section is added to the XSL Template of your XML field, the list of {{l2}} activities will be displayed when the XML is opened. Level 2s can be added, deleted and modified directly from the {{l1}} XML field.
 
= Displaying XML Data=
Smartstaff, administrator
4,478
edits

Navigation menu