3 weeks ago
Hi,
We are using stories with optimized design experience. We want to set them in Embed mode. We did that in
Unfortunately, when we apply and save the story, the embed parameter is reset to view and story is launched in view mode.
Have I missed something ?
Thanks in advance
Mat
Hi anthonysc,
I believe the screenshot you show is for you to set the toolbar in different mode, it's not setting the story to be opened in embed mode by default. To open story in embed mode, you either can put embed keyword into URL or open the story in embed mode via script.
Best regards, William
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi William,
It doesn't work.
Here is the original url :
Https://xxxxxxxxxxxxxxxxxxx/story2&/s2/F1688E05A19DBEA8166F710B4AB88BB4/?mode=view
If I replace ?mode=view by ?mode=embed the system overwrites it and the url remains Https://xxxxxxxxxxxxxxxxxxx/story2&/s2/F1688E05A19DBEA8166F710B4AB88BB4/?mode=view.
If I replace ?mode=view by ?shellMode=embed the system overwrites it and the url becomes Https://xxxxxxxxxxxxxxxxxxxxxstory2&/s2/F1688E05A19DBEA8166F710B4AB88BB4/?shellmode=embed&mode=view
Best regards
Hi William, you are right it works if I put shellMode before S2 instruction :
https://xxxxxxxxxxxxxxxx/app.html#/story2?shellMode=embed&/s2/storyID
thanks
Dear @anthonysc,
you can use script in the onInit() function of your story to reload it in mode embed
if (Application.getMode() !== ApplicationMode.Embed){
NavigationUtils.openApplication(Application.getInfo().id, UrlParameter.create("mode", "embed"), false);
}
I hope this helps.
Best regards
Susanne
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@anthonysc did you set the parameter as described in the SAP Help portal?
Display Parameters
User | Count |
---|---|
78 | |
10 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.