Framework:GetElementProperty

From CoPlanner 11
Revision as of 09:47, 7 May 2013 by Admin (talk | contribs)

(diff) ← Older revision | Approved revision (diff) | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Function

GetElementProperty(<Dimension>,<ElementID>,<PropertyName>)

Parameter Description
Dimension Name of dimension
ElementID ID of the element
PropertyName Name of the attribute to be read

This function belongs to client-side functions.

Result

Returns the value of the attribute.

Example

GetElementProperty(Products,2,COPSYS_PID)
Result: 1

Access to a table Lookup

'GetElementProperty(Lookup table, [Alias],Fieldname)'

(Single quotation marks are necessary for the expression)


Parameter Description
Lookup table Name of the Lookup table
[Alias] Alias of the field in the current table
Fieldname Name of the field at the lookup table which should be displayed