After release of Design Studio 1.4, as a first blog I want to pick up the scenario "online composition" and link it to the functions which are used for this scenario.
Online Composition - Scenario
The scenario describes new end user workflows which can be achieved in this release. The scenario allows saving of fragments (see definition below) of the application and construct new views (compose) in different application (using the Fragment Gallery component).
Fragment - what is it?
A fragment is a bit more than a visible area of an application. A fragment can be defined by selection of one container - and this containers, including all children are part of the fragment. In addition, all linked data sources which are used by those components, are also part of the fragment.
In short a fragment contains,
View on a fragment (including Data Source)
What is Saved in above Scenario?
The fragment bookmark does not differ to a normal bookmark from the content perspective, it contains all properties of the included objects like size, position, scripts in events. For data source the complete metadata are saved - including variables and filter values, of course also the drill down state. you can refer to the bookmark blog on detailed content - Insides on Bookmarking.
Important: if you select a panel for saving as fragment, I recommend you to assure that this panel is placed in a parent container with following size settings: width/height on "auto", all margins on "0". This assures that you can move the position of the container later on.
Portable Fragment Bookmarks
Some words on the portable fragment bookmarks - same infrastructure content wise, but those can be assigned to a key - which is unique per system. By this key it is possible to load such bookmarks in different application. Keep in mind it is unique per system, so better either use application name in it or control the namespaces in detail.
Other components for Online Composition
Besides the fragment bookmarks, which are saving the content - for the online composition you should have a look also on 2 components which are new:
Both components are designed to work together in one application - and are supporting drag & drop between them. Using those components, the user can place bookmarks into the split container, which extends itself depending of the drop position.
Example Application
you can download the example application and try it out. See the Aplication DEMO_EMB_BOOKMARK_SENDER in GitHub (ZIP contains this app):
Release DEMO_EMB_BOOKMARK_SENDER · KarolKalisz/DesignStudioBiAppRepository · GitHub
In this application you can check following areas:
Possible Scenarios
The online composition opens a lot of scenarios which allow more flexibility in the application definition, here is a short list as an overview:
Current Scope
Last Words
I would recommend you to use portable fragment bookmarks as those have keys which allow you differentiation on loading (as the Script API requires key when loading a list).
Scripting API to look at
Refer to the documentation, the script API is located in the object "Bookmark", eg. "Bookmark.PortableFragmentBookmark...".
In next days I will post an example of an application using portable fragment bookmarks to visualize how this behaves.
for more details, see Design Studio 1.4: Portable Fragment Bookmarks & Reuse in Applications.
I have placed a blog on NON-BASICS ;-_)
Community SDK: First Functional Application with SDK Components (Online Composition)
Have fun in trying out!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
38 | |
19 | |
13 | |
13 | |
11 | |
10 | |
10 | |
10 | |
8 | |
8 |