Button
This displays a button on a dashboard. Buttons can be used to initiate a variety of functions including business rules, dashboards, and file uploads.
Image
Image File Source Type
The image displayed on the button. You can choose from the following options:
-
Url: The image displayed on the button is based on a URL.
-
Workspace File: The image displayed on the button is in a file stored in the Workspace maintenance unit File section.
-
Application Database File: The image displayed on the button is in a file in the Application Database Share.
-
System Database File: The image displayed on the button is in a file in the System Database Share.
-
File Share File: The image displayed on the button is in the File Share.
Image Url Or Full Name File
The URL, file path, or file name for the displayed image. Review the following syntax examples:
-
Built-in OneStream Image: /OneS.ClientImages;component/Misc/ToolbarImage.png
-
Web Server: http://www.onestreamsoftware.com/img/onestream-logo.png
-
Database File System: Enter the path and file name, Documents/Public/TestImage.png
-
Workspace File: Enter the name of the file resource, TestImage.png
The following Excel properties are used to specify an Excel file from either an Extensible Document or Report Book to display it as an image or button.
Excel Page Number
Enter the page number of the Excel document to display.
Excel Sheet
Enter the name of the Excel worksheet to display.
Excel Named Range
Enter the named range from Excel to display. The named range must be in the specified Excel sheet in the Excel Sheet property, or the Excel Sheet property must be blank to use a named range. See Component Display Format Properties to position and align the Excel image as needed.
Button
Button Type
Specify the functionality assigned to the button. You can choose from the following options:
-
Standard: Displays a generic button that can have custom functionality assigned, such as display a dashboard or run a business rule.
-
File Explorer: This sets the button to display the File Explorer dialog box.
-
File Upload: This sets the button to display the File Upload dialog box.
-
Select Member: This sets the button to display the Select Member dialog box. This selection displays these Select Member properties:
-
Dimension Type: Specify the dimension type. This is required.
-
Use All Dimension for Dimension Type: When set to True, it overrides the Cube Restriction and displays all dimension types. When set to False, the dimensions are limited to defined dimension types.
NOTE: If no dimension type is defined, the selections revert to the default dimension type.
-
Dimension: Specify a specific dimension. This is optional.
Example: HoustonSalesRegionalBudget
-
Cube: Specify a cube. This is optional.
-
Member Filter: Specify a Member Filter. This is optional.
Example: U3#Root.TreeDescendantInclusive
-
-
Member Filter Builder: This sets the button to display the Member Filter Builder dialog box. This selection displays the Default Member Filter property.
-
Default Member Filter: Specify a default Member Filter to display upon opening. This is optional.
Example: E#[Total Golfstream]
-
-
Workflow: This sets the button for Complete and Revert Workflow, replacing the need for a custom business rule. This selection displays these workflow properties:
-
Workflow Button Action Type: Complete Workflow enables the complete action button. Revert Workflow enables the revert action button.
-
Workflow Button Image Type: Choose one of the standard button images. The Use Button Image option enables you to use a custom image set up in the Image properties.
-
Action
This section contains Action properties specific to the button component. For a full description of all Action properties, see Component Formatting and Action Properties.
Parameter Value for Button Click
The value or string to pass into the Bound parameter.
Save Action
Selection Changed Save Action
What occurs when the button is pressed. The following options are specific to the Button component:
-
Save Data for Components and Save Files: This saves the components modified by the dashboard components specified in the Selection Changed Save Arguments property and their files.
-
Prompt to Save Data for Components and Save Files: This asks the user if the modified data should be saved or not for the defined list of dashboard components and their files.
-
Save Data for All Components and Save Files: This saves all components modified by the dashboard components included in the dashboard and their files.
-
Prompt to Save Data for All Components and Save Files: This asks the user of the modified data should be saved or not for all dashboard components and their files.
-
Save All Files: This saves all modified file data within the dashboard excluding any modified component data.
NOTE: The Selection Changed Save Argument field is only active when you choose a Selection Changed Save Action that requires you to specify components.
You can use these Save Files properties to save edits made in Text Editor and Spreadsheet component files through a dashboard button.
Example: The user has a dashboard containing a spreadsheet and Button component, and the developer sets the Button component's Selection Changed Save Action property to one of the Save Files options. When the user edits the file data in the Spreadsheet component's file and then selects the dashboard button, all file changes are saved. The dashboard component changes will also be saved. Component changes are only not saved if the Save All Files property is selected, which only saves modified file data.
You can use these Save Files properties through Button components instead of having to navigate to File > Save in the component's toolbar to save file changes.
NOTE: Since Text Editor components cannot have nested components, the Save Data For Components And Save Files, Save Data For All Components And Save Files, and Save All Files options will only save the Text Editor component's file.
NOTE: When working in a Spreadsheet component embedded in a dashboard, the Save Files properties enable users to save nested components while also saving the spreadsheet file. When the dashboard button is set to Save All Files, only spreadsheet file modifications are saved.
This Use Case demonstrates the following situation:
-
Scenario: A user is in the Narrative Reporting solution, which uses a dashboard Text Editor component that displays the content of a specific file. The developer uses a Save File action to enable users to save their file edits by using the Check In button.
-
Role: Developer
-
Benefits: The developer can streamline the save process for users in Narrative Reporting by reducing the possibility of users checking in files without saving. When the user selects the Check In button, it performs the same save action as the Text Editor's File > Save toolbar button in the ribbon by saving all file modifications.
Save As
If the Text Editor or Spreadsheet components are not linked to or displaying an existing file, selecting a Button component with the Save File options opens the Save New File Options window. This enables users to save a new file in different locations and performs the same function as the component's File > Save As toolbar button action.
NOTE: If you have already used the Button component to Save As and have created a new file, when you select the same Button component again, the updates made in the dashboard component will save to that initially created file. It will not prompt the Save New File Options window to create a second new file until the you refresh or reload the dashboard.
Local Folder
Select a location on local computer or network to save a file to.
NOTE: The Save As File on Local Folder option is not available in the Modern Browser Experience.
OneStream File System
Select a location within OneStream File Explorer to save a file to.
Application Workspace File
Select an Application Workspace location to save a file to.
System Dashboard File
Select a System Workspace location to save a file to.