Difference between revisions of "Managing Level 2 Activities with an XML Section"

From SmartWiki
Jump to: navigation, search
Line 14: Line 14:
  
 
The syntax for the ''Map Field'' section is:
 
The syntax for the ''Map Field'' section is:
* for [[custom field]]s, simply the field name (i.e., ''Fund Name'');
+
* 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'').
 
* 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.
 
:''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.
  
 
+
[[Image:L2RefsXMLDisplay.png|link=]]
 
 
 
 
 
 
  
 
==See Also==
 
==See Also==

Revision as of 07:45, 14 May 2014

System administrators can configure XML fields to add, modify or delete Level 2 records on a Level 1 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.

XMLEnableMapping.png

When Enable Mapping is selected, you can choose one type of Level 2 activities to be referenced by the XML field. The Activity Status Filter setting will also become visible, which allows you to filter the Level 2 activities to be referenced by status.

When building your section, you will need to map the fields on the Level 2s 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:

MappingL2Fields.png

The syntax for the Map Field section is:

  • for custom fields, simply the field name (i.e., Fund Name);
  • for standard fields, 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 Level 2 standard fields.

When this section is added to the XSL Template of your XML field, the list of Level 2 activities will be displayed when the XML is opened. Level 2s can be added, deleted and modified directly from the Level 1 XML field.

L2RefsXMLDisplay.png

See Also