on 01-13-2020 3:39 PM
Hello,
I tried to implement the App State Saving feature as described in this Guide:
But when I try to save the new state of the App with the code shown at the end of this post I will get an 403
error in Service /sap/opu/odata/UI2/INTEROP/GlobalContainers. It says that the CSRF-Token Validation failed.
So in the comments somone suggested to turn on option ‘Save App State Data’ under Fiori Launchpad Administrator Page -> Settings -> System Settings.
But I cannot find these Settings anywhere in transaction /UI2/FLPD_CUST.
So can please anyone help me finding these Settings to persist the current application state in the INTEROP service?
Any help is appreciated and please let me now if you need further information to help me.
this.oAppStateHref = sap.ushell.Container
.getService("CrossApplicationNavigation")
.createEmptyAppState(this.getOwnerComponent());
this.oAppStateHref.setData(this._oAppState);
this.oAppStateHref.save();
Another thing i found while debugging is that the error is thrown at the popover open event and not on the navigation itself.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
It is a HTTP 403 which means authorization denied. Did you check that ?
Regards,
Joseph
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey thanks for the hint.
Yes I already checked it and it says that the CSRF-Token Validation failed for the service.
Do i have to transport the CSRF-Token to the target Apllication for the navigation? Didn't see anything like this in Blogposts for app-state saving. Any other (self-developed) OData Request can be executed normally without any token issues.
User | Count |
---|---|
82 | |
11 | |
10 | |
8 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.