Element Details: RenameColumns
 Back


Available in: Logi Info Source code name: RenameColumnsIntroduced in: 12.6

The RenameColumns can be used to change the names of DataLayer columns.

Set ColumnNames to a comma-delimited list of columns to be renamed. Set NewColumnNames to a comma-delimited list of the new column names. There should be the same number of names in both lists.

ColumnsNames which do not exist are ignored.

Element Group:Add and Replace Columns



ATTRIBUTES

Click attribute Name to drill down for more information.

NamePossible ValuesDescription
ColumnNames
UserDefined
(Required) A list of column names, separated by commas. For example: OrderID, CustomerID, EmployeeID, OrderDate
ID
UserDefined
(Required) The ID attribute is a pervasive attribute that uniquely identifies an element within a definition file. The ID needs to be a unique value within the definition.
IncludeCondition
True
False
An expression that evaluates to a value of True or False. If the expression is blank, or evaluates to true the element is processed. If the expression evaluates to false, the element is skipped. Expressions should be in VBScript or JavaScript syntax. For .NET versions, the scripting language can be set in the _settings.lgx General element. For Java versions, the scripting language is always JavaScript. Typically, you would compare values using an operator, such as "@Session.value~ < 0". Use quotes when working with strings: "@Session.myValue~" == "SomeValue"
NewColumnNames
UserDefined
(Required) A list of column names, separated by commas. The number of items in this list must match the number in the ColumnNames attribute. For example: OrderID, CustomerID, EmployeeID, OrderDate



PARENT ELEMENTS

Click element to drill down for more information.

DataLayer.Bookmarks
DataLayer.Cached
DataLayer.Definition List
DataLayer.Directory
DataLayer.Excel
DataLayer.Fixed Format File
DataLayer.Google App
DataLayer.Google Spreadsheet
DataLayer.JSON
DataLayer.Linked
DataLayer.Mongo Find
DataLayer.Mongo Map Reduce
DataLayer.Plugin
DataLayer.REST
DataLayer.SimpleDB
DataLayer.SP
DataLayer.SQL
DataLayer.Static
DataLayer.Twitter
DataLayer.Web Feed
DataLayer.Web Scraper
DataLayer.Web Service
DataLayer.XML


CHILD ELEMENTS

Click element to drill down for more information.



 Back to top


 Chart Debug