XLCubed is now FluenceXL. The new wiki can be found here: https://help.fluencexl.com/ |
Difference between revisions of "XL3SetProperty"
(→Parameters) |
|||
Line 32: | Line 32: | ||
! Object Name | ! Object Name | ||
! Property | ! Property | ||
+ | ! Description | ||
! Value | ! Value | ||
|- | |- | ||
| "Writeback" | | "Writeback" | ||
| "SpreadMethod" | | "SpreadMethod" | ||
− | | Sets the formula spread method. Valid values are "USE_EQUAL_ALLOCATION", "USE_EQUAL_INCREMENT", "USE_WEIGHTED_ALLOCATION", "USE_WEIGHTED_INCREMENT" | + | | Sets the formula spread method. |
+ | | Valid values are "USE_EQUAL_ALLOCATION", "USE_EQUAL_INCREMENT", "USE_WEIGHTED_ALLOCATION", "USE_WEIGHTED_INCREMENT" | ||
|} | |} | ||
+ | |||
+ | ==Grid== | ||
+ | |||
+ | {| class="wikitable" | ||
+ | ! Property | ||
+ | ! Description | ||
+ | ! Value | ||
+ | |- | ||
+ | | "RemoveEmptyColumns" | ||
+ | | Sets the columns to hide or show members with no data. | ||
+ | | TRUE or FALSE | ||
+ | |- | ||
+ | | "RemoveEmptyRows" | ||
+ | | Sets the rows to hide or show members with no data. | ||
+ | | TRUE or FALSE | ||
+ | |- | ||
+ | | "HierarchiesOnColumns" | ||
+ | | Sets hierarchies on columns. Will move hierarchies as required. | ||
+ | | Hierarchy name or names. | ||
+ | |- | ||
+ | | "HierarchiesOnRows" | ||
+ | | Sets hierarchies on rows. Works as HierarchiesOnColumns. | ||
+ | | Hierarchy name or names. | ||
+ | |- | ||
+ | | "MergeRepeatingCells" | ||
+ | | Merge cells containing the same member in cross-joins. | ||
+ | | TRUE or FALSE | ||
+ | |- | ||
+ | | "MemberSelectionType" | ||
+ | | Sets the selection type of the members, e.g. children, parent, descendants etc. | ||
+ | | See the [[#MemberSelectionType]] section for more details. | ||
+ | |} | ||
+ | |||
+ | ===MemberSelectionType=== | ||
+ | something here | ||
==See Also== | ==See Also== |
Revision as of 10:35, 24 March 2011
This function updates XLCubed objects in the workbook such as grids, slicers and small multiples.
You can use this to update some setting from the properties screen or move hierarchies.
Syntax
XL3SetProperty( ObjectType, ObjectName, Property, Arg1, [Arg2],…, [Arg27] )
Parameters
Parameter | Description |
---|---|
ObjectType | Object Type to update. Valid values are "Workbook", "Grid", "Slicer" and "SmallMultiple". |
ObjectName | Name of the object to update. You can not update an object unless you have given it a name in its properties screen. |
Property | Name of the property to update. Valid names depend on the object type. Details for each are below. |
Arg1, [Arg2],…, [Arg27] | Value or values to set the property to. Valid values depend on the object type. Details for each are below. |
Workbook
For workbook level properties the object name refers to the area of the product being updated.
Object Name | Property | Description | Value |
---|---|---|---|
"Writeback" | "SpreadMethod" | Sets the formula spread method. | Valid values are "USE_EQUAL_ALLOCATION", "USE_EQUAL_INCREMENT", "USE_WEIGHTED_ALLOCATION", "USE_WEIGHTED_INCREMENT" |
Grid
Property | Description | Value |
---|---|---|
"RemoveEmptyColumns" | Sets the columns to hide or show members with no data. | TRUE or FALSE |
"RemoveEmptyRows" | Sets the rows to hide or show members with no data. | TRUE or FALSE |
"HierarchiesOnColumns" | Sets hierarchies on columns. Will move hierarchies as required. | Hierarchy name or names. |
"HierarchiesOnRows" | Sets hierarchies on rows. Works as HierarchiesOnColumns. | Hierarchy name or names. |
"MergeRepeatingCells" | Merge cells containing the same member in cross-joins. | TRUE or FALSE |
"MemberSelectionType" | Sets the selection type of the members, e.g. children, parent, descendants etc. | See the #MemberSelectionType section for more details. |
MemberSelectionType
something here