Design Studio 1.x bookmarks in Lumira 2.x
In Lumira 2.0 Designer, the old ways of creating bookmarks have been depreciated. If you upgrade a 1.x application to 2.x, your existing 1.6 style bookmarks will still be there. 1.x bookmarks and scripts that interact with bookmarks will function exactly in 2.0 as they did in 1.x, however the old bookmarking framework is deprecated.For example, if you create a new app in Design Studio 1.6, using the Generic Analysis template, it comes with extensive bookmark handling (in the 1.x style).
This means:
- Script functions related to the old bookmarks no longer show up in autocomplete.
- They are not documented in the 2.x documentation.
- Existing script commands related to bookmarks show up in the 2.x script editor with a strikethrough as seen below (this is the loadBookmarks() global function from the 1.6 Generic Analysis template)
If you export it and them import it into the 2.x Designer, it will be migrated and still use the old infrastructure. Bookmarks created in Lumira 2.x should use the new bookmark technical object and if you create the app using the 2.x version of that template, it will use the new bookmarks technical object.
Hi Dave,
I'm a little bit confused now. As I understood from the discussion in the following blog, if a DS 1.x application with bookmarks is upgraded to 2.x, then all existing bookmarks would be invalidated:
https://blogs.sap.com/2017/06/14/extend-your-existing-investments-to-new-opportunities-with-sap-lumira-2.0/
Can you clarify?
Thanks,
Mustafa.
Hello Mustafa,
Ramu's bog and answer to your question was mainly about Lumira 1.x bookmarks. Design Studio 1.x bookmarks are fully supported - as almost all other Design Studio 1.x features (e.g. common-mode app, InfoCharts,...). But as David wrote it is recommended to upgrade to the newer Lumira Designer 2.0 features.
Best regards,
Reiner.
Hi Reiner,
Thanks for the follow-up. I understand that Design Studio 1.x bookmarks will still behave as normal on Lumira 2.0 when you DO NOT upgrade the app to Lumira 2.0. However, there still seems to be some confusion about whether bookmarks created in a Design Studio 1.x app can still be loaded AFTER the app has been upgraded to Lumira 2.0, as per the following discussion:
https://answers.sap.com/questions/361141/what-happens-to-bookmarks-of-ds-1x-when-we-migrate.html
Can you shed any light on this?
Thanks,
Mustafa.
Hello Mustafa,
exactly - existing apps will work and existing bookmarks can be still read.
There is also not really something like "upgrading and app to Lumira 2.0". You could still edit old common-mode apps in old BIP mode. You could even convert the old app to M-mode and still it should support the old bookmarks - except the fact that the old bookmark technology is generally very sensitive to changes.
However I don't think that the old bookmarks would work for apps in LUMX documents -regardless if you created the app from scratch of converted and old using Export/Import. Reason is that the old booksmarks strongly depend on CUID of Biapp-Info-Objects - which in Document mode does simply not exist anymore.
Regards,
Reiner.