on 04-07-2017 1:52 PM
Hello everybody,
I was searching the web for a possibility
executing script when opening a shared or saved Fragment Bookmark URL
but could not find any information about that (it seems that no startup
event is raised).
Use case:
Imagine we have an application for
analyzing data that is displayed in a simple Crosstab or as an Infochart by using filter and navigation possibilities.
Now users
would like to share or save their results (especially the data source
structure and filter values) in the browser favorites and reopen it
later on with latest data and updated informations (i.e. for different
regular reports).
Issue:
We tried to use a Fragment Bookmark for that use case which can be shared by URL or saved as a favorite in the browser.
However,
once the Fragment Bookmark is opened again it will display exactly the
same data / view that exist during bookmark creation without performing
any event (neither On Startup nor any other).
Now I am missing a possibility for updating the data or any components. Do you know if this is intend
behavior?
Alternative scenario / issue:
Instead
of using a Fragment Bookmark, we tried to pass the navigation status as
well as the filter values as an URL parameter which works fine.
However, due to the open document functionality it is not possible to
(easily) store the link as a favorite to the browser since the URL
containing the application ID as well as the parameters will change
after execution:
http://<server>:<port>/BOE/OpenDocument/opendoc/openDocument.jsp?sIDType=CUID&iDocID=AeC.7HydqiFEk.y...
will be changed to
http://<server>:<port>/BOE/OpenDocument/1703290709/OpenDocument/opendoc/openDocument.faces?logonSucc...
which cannot be stored as a favorite.
Any help or information would be highly appreciated. Thank you in advance!
Regards,
Matti
Hi Matti,
Please see my comments below:
"However, once the Fragment Bookmark is opened again it will display exactly the same data / view that exist during bookmark creation without performing any event (neither On Startup nor any other).
Now I am missing a possibility for updating the data or any components. Do you know if this is intend behavior?"
What you have described is the intended behaviour. Loading a bookmark does not trigger the On Startup event, for the very reason of preventing actions which may influence the loading of the bookmark state. It sounds like you are expecting any changes made to a bookmark AFTER it was created to be REMEMBERED the next time the bookmark URL is launched. Only the original creator of the bookmark can achieve this by using the toOverwrite parameter and RESAVING the same bookmark.
In comparison, when bookmarks are shared, if a user other than the original creator of the bookmark makes any changes, then those changes need to be saved as a NEW bookmark. One user cannot make updates to a bookmark created by another user.
Regards,
Mustafa.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Matti - would the personalization option fit the requirement? See https://archive.sap.com/documents/docs/DOC-55516
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.