on 2016 Apr 30 12:34 AM
Hello Experts,
I want to create a home button the user can set up at any point with the use of state personalization.
The user can set their initial view with a button and the script:
State.setPersonalization();
This functions correctly when the user first loads the application.
The home button I have tried uses the script from this source:
The Setting up the Reset section provides this script:
var ButtonState = State.isBackToStartAvailable(); if (ButtonState) { State.backToStart();}
The home button however does not set it back to the personalized set.
I am using DS 1.6 with HANA Views.
Thanks, Al
Hi Alex,
Your description is a little unclear to me. To help us assess the issue could you possibly provide the following?:
1) A screenshot of your application showing all the buttons associated with personalisation;
2) The exact script for EACH of the buttons associated with personalisation.
Thanks,
Mustafa.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Mustafa,
1. This is a screen shot of the basic application.
2. The Home Script could be something like:
State.backToStart();
The Personalization button:
State.setPersonalization();
I am able to set personalization button and close the application and reopen to the same radio button and filters (the application holds the same state as when I set personalization). My hope was to get a home button so when a user is altering the radio buttons or other filters he could go back to his set personalization state with a home button.
Thanks,
Alex
Hi Alex,
If you are setting any Datasource Filter in your screen after setting personalization state using the Home button?
If yes then try to clear all the set Datasource Filter, before calling Reset to see whether the expected functionality is working or not.
Rgds,
Sethu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Sethu, Why are you suggesting clearing the filters on the data sources? When I set personalization with all the data source filters I want, it loads properly on a full start up from the Launchpad with all the filters I had on. I just want a button in the application that mimics that. Is there a way to get all the filters that were saved from the personalization state? Thanks for your help, Alex
User | Count |
---|---|
68 | |
8 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.