Element Details: DataLayer.Plugin
 Back


Available in: Logi Info Source code name: DataLayer.Plugin

A Plugin Call runs a method inside of a Plugin. A Plugin is a .NET library assembly (a DLL) or Java .JAR file containing custom code that performs actions while each request is processed.

DataLayer.Plugin calls a Plugin that gets data from sources that are not directly supported by other DataLayer elements.

Element Group:Extensions and Shared Elements



ATTRIBUTES

Click attribute Name to drill down for more information.

NamePossible ValuesDescription
ID
UserDefined
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.
JavaPluginVersion
Version10
UserDefined
The JavaPluginVersion attribute determines which version of LogiPluginObjects to use in the plugin call. LogiPluginObjects is the developer API for the Info Server Java plugin system. Omitting this attribute will cause the original LogiPluginObjects to be used. Specifying "Version10" in this attribute will result in LogiPluginObjects10 being used as the developer API. LogiPluginObjects10 has all the properties and methods of LogiPluginObjects, and also has additional methods such as addDebugMessage(), replaceTokens() and getSettingsDefinition(). Leaving JavaPluginVersion blank maintains backward compatibility with older versions of Info. LogiPluginObject10 is located in the package com.logixml.plugins. The original LogiPluginObjects was in the root package. This is also a value "DotNet" which designates a plugin written in .NET and cross-compiled for Java with Mainsoft Grasshopper. This attribute has no effect on .NET Info applications, which have all the methods of both versions.
PassDataAs
XmlDocument
FileName
PassDataAs specifies how DataLayer XML data is passed into and out of a Plugin. "XmlDocument" will pass the data as an in-memory XML document object (Default). The data is added to the "CurrentData" property of the ServerObjects. "FileName" will pass the XML data with a file. There may be an input data file found in the ServerObjects.CurrentDataFile property and there will be an output filename in ServerObjects.ReturnedDataFile. These names include the fully qualified path. The default value is "XmlDocument". "XmlDocument" stores the data set in memory. Use "FileName" to reduce the amount of memory used when working with large data sets. With "FileName" the plugin can work with the data using Xml stream readers and writers.
PluginMethod
UserDefined
(Required) The name of the Plugin's method to be called.
PluginName
UserDefined
(Required) The filename of the plugin assembly, typically ending in ".dll" for .NET or a .class file in a .jar for Java. In .NET the assembly file should normally be located in the _Plugins folder, under the application root. In Java a standalone .class file goes in WEB-INF\classes under the application root. A .jar file containing. class files goes in WEB-INF\lib under the application root. You may also specify a complete absolute path to the assembly dll in .Net. This should not be done in Java. However, the full name of the Java class including package is necessary(i.e. com.logixml.plugins.SamplePlugin10).
PluginTypeName
UserDefined
(Required) The TypeName specifies the plugin's class that contains the method that will be called. The value consists of the dll's root namespace, ".", and the class name. For example: "LogiXML.SamplePlugin.Plugin". This attributes is required for .NET plugins, and is ignored for Java plugins.



PARENT ELEMENTS

Click element to drill down for more information.

Analysis Chart
Analysis Grid
Animated Chart.Pie
Animated Chart.Scatter
Animated Chart.XY
Animated Gauge.Bar
Animated Gauge.Needle
Animated Gauge.Pyramid
Animated Map
Authentication
Chart Canvas
Chart Grid
Chart.Gantt
Chart.Heatmap
Chart.Pie
Chart.Polar
Chart.Scatter
Chart.XY
Crosstab Table
Data Calendar
Data List
Data Menu
Data Multi-Column List
Data Table
Data Tree
DataLayer.Cached
Default Values
Email List
Extra Grid Layer
Extra Scatter Layer
Gauge.Angular
Gauge.Arc
Gauge.Balloon Bar
Gauge.Bar
Gauge.Bullet Bar
Gauge.Indicator
Gauge.Needle
Gauge.Number
If Data Error
Input Checkbox List
Input Radio Buttons
Input Select List
Interactive Data View Applet
Join
Json Data
Local Data
Lookup
Marker Band
Marker Line
Pattern Block
PDF Form
Procedure.Data
Procedure.Run Datalayer Rows
Right
Right From Role
Rights From DataLayer
Series.Area
Series.Area Range
Series.Area Spline
Series.Area Spline Range
Series.Bar
Series.Bar Range
Series.Box Plot
Series.Bubble
Series.Funnel
Series.Heatmap
Series.Line
Series.Pie
Series.Pyramid
Series.Scatter
Series.Spline
Series.Waterfall
Series.Whiskers
Sparkline.Area
Sparkline.Bar
Sparkline.Line
Sparkline.WinLoss
Text Cloud
User Roles
Word Form
Xml Data
XOLAP Cube
XslFo Data


CHILD ELEMENTS

Click element to drill down for more information.

Aggregate Column
Analysis Filter Insert
Calculated Column
Change Case
Color Range Column
Color Spectrum Column
Compare Columns
Compare Filter
Comparison Filter
Condition Filter
Contain Filter
Contains Filter
Convert Units
Crosstab Filter
Data Layer Link
Data Layer Plugin Call
DeDuplicate Filter
DeDuplication Filter
Difference Column
Ends With Filter
File Column
Forecast.Current Time Period
Forecast.Regression
Forecast.Time Series Decomp
Formatted Column
Geocode Columns
Group Filter
HierarchicalLookup.SP
HierarchicalLookup.SQL
HierarchicalLookup.WebService
If Data Error
Incremental Append
Insert String
Join
Lookup
Lookup.SP
Lookup.SQL
Lookup.WebService
Moving Average Column
Pad String
Percent of Total Column
Plugin Parameters
Predicted Column
Range Filter
Rank Column
RegEx Filter
Relevance Filter
Remove Columns
RenameColumns
Replace String
Replace Value
Reverse Geocode Columns
Running Total Column
Security Filter
Sequence Column
Sort Filter
Starts With Filter
Substring
Switch Column
Time Period Column
Trim String
UnCrosstab Filter
Unit Conversion Column
Unpivot
Validate Date
Validate Number
Validate RegEx
Validate String


 Back to top


 Chart Debug