Click or drag to resize

IExportElement Interface


Represents a local export entry in Navigation and Link elements. Defines an additional XML attribute to be included in an page element's output.

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax
public interface IExportElement

The IExportElement type exposes the following members.

Properties
  NameDescription
Public propertyName
Gets and sets the export's name. This name must be a valid XML element name.
Public propertyCode exampleQuery
Gets and sets the query expression of the export.
Top
Examples
When a new export entry with the name "Abstract" and value "Abstract" is added, the navigation entry element should look like the following:
XML
<Page ID="x454" URL="about-us/news-and-events/motorola-employees-credit-union-selects-ingeniux"
  Date="20040111T00:00:00" 
  Changed="20130515T20:47:10" 
  CategoryIds="133" 
  Locale="" 
  Schema="NewsDetail" 
  Name="Motorola Employees Credit Union Selects Ingeniux"
  Abstract="MECU Licenses Ingeniux CMS to Power Internet and Intranet sites" Title="Motorola Employees Credit Union Selects Ingeniux CMS" />

To create a new ExportElement:

C#
IExportElement exportEntry = new ExportElement("Title", "/*/Title");

Serialization output matches the local export's entry value from a Navigation element in previous-generation CMS content. The difference that is the output is escaped in an ExportsElement's serialization.

XML
<Export><Name>Title</Name><Value>/*/Title</Value></Export>
See Also