Skip to Content

Here are the steps to create prompt window in Xcelsius:


  1. Open the dashboard in which you want to add a prompt window.

1 Open Dashboard_1.jpg

  

   2. Take a Background component on the canvas and make its size equal to the size of canvas so that it hides all other components on the dashboard.

2 Take Background component_1.jpg

3 Change Size_1.jpg

   3. Go to the properties window of the Background component, set its transparency approximately to 20% and select ‘Block Mouse Events’.

4 Set transparency to 20%_1.jpg

   4. Now take a Panel Container and place it above the Background component.

5 Take Panel Container_1.jpg

   5. Take Label, Input Text and Push Button component on the Panel Container.

6  Take Label Input Text Push Button_1.jpg

   6. Go to the properties window of the Push Button component and change its Label to OK. Similarly change label for Label component to Enter Title.

7 Change Push Button Label to OK_1.jpg

7 Change Label Component Label to Enter Title_1.jpg

7. Under the properties window of the Input Text component, navigate to General -> data Insertion, check ‘Insert Data On Load’ and map Destination with Excel cell Sheet1!$B$8.

8 Map Input Text Component_1.jpg

   8. In the Object Browser window select Background component and Panel Container and group them.

9 Group Background n Panel Container_1.jpg

   9. Set Dynamic Visibility for the group so that Group Background component and Panel Container will be visible initially when we open the dashboard. Bind Status for group with Cell Sheet1!$B$9 and specify Key as 1. In the cell Sheet1!$B$9 enter default value 1.

10 Set Dynamic Visiability for Group_1.jpg

   10. Bind Destination of push button with cell Sheet1!$B$9. Now whenever user clicks on OK Push Button blank value is inserted into the cell cell Sheet1!$B$9 which will hide Background component and Panel Container.

11 Use Push Button to Hide Group_1.jpg

   11. Preview the dashboard, enter some value in the Input Text component and click the OK Push Button.

12 Go To Preview_1.jpg

13 Preview Enter Title_1.jpg

   12. Notice that the value that we entered in the Input Text component gets inserted into the Excel cell Sheet1!$B$8 and appears as a Dashboard Title. (The excel cell Sheet1!$B$8 is mapped with the Dashboard Title Label component) We can pass this value to a live data connection prompt.

14 Final Preview_1.jpg


You can download sample dashboard (PromptWindowXcelsius.xlf and PromptWindowXcelsius.swf) from following link:

https://docs.google.com/open?id=0B-ddLjgW8MHoN0dUZXRqY2tHUTA



To report this post you need to login first.

1 Comment

You must be Logged on to comment or reply to a post.

Leave a Reply