Quantcast
Channel: SCN : All Content - SAP BusinessObjects Design Studio
Viewing all 4216 articles
Browse latest View live

ZTL Reference?

$
0
0

Hello All,

I am trying to wrap my head around the syntax and capability within a component's ztl file.  I've played around with it a bit and it seems to be a javascript implementation - objects/methods such as JSON.parse(), etc... are there.  It's certainly more fully featured than BIAL.  Should we assume that it is some flavor of ECMAScript?

 

Is it possible to create shared .js or .java libraries/classes which can be referenced within multiple ztl's?

 

Is there some object which contains the design studio application components within - I'd very much like to dynamically reference components, something like:

window['APPLICATION']. instead of APPLICATION.

or

datasources['DS_1']. instead of DS_1.?

 

Thanks.


Design studio 1.4 - launcing in SAP netweaver error

$
0
0

Hi,

 

In Design studio 1.4 ,I created few bookmarks icons to save,load & delete bookmarks.

These bookmarks are perfectly working when I am launching in local mode.

But when I am launching in SAP NetWeaver Portal,it is giving following error.

DS1.PNG

 

 

 

We are using Component -SAP_BW, Release 740, SP-Level 0009, Support package-SAPKW74009 SAP Business Warehouse.

 

Thanks & Regards-

Shashank gupta

Vertical scrolling - freeze rows

$
0
0

Hi all,

 

is there a way to freeze a certain number of rows in conjunction with vertical scrolling via css?

 

Thanks a lot for your ideas.

 

Mark

Is it possible to fill Universe Query Prompts via action script?

$
0
0

I have a query that has a beginning and ending date range that I've setup with prompts.  I would like to fill these prompts with action script based on a cleaner popup window that I will present to the user.  Is this possible?  I've checked to see if prompts get mapped as global variables automatically but they don't seem to.

 

Maybe there is a better way to do this but it seems to me that setFilter only handles = and inlist operations not ranges or inequalities so I was trying to fill the prompt which does support those operations.

 

Thanks,

Bob

Access Document Item/List similar to WAD

$
0
0

Hi,

 

is there any way to access documents saved in the BW via Design Studio?

 

In the Web Application Designer, there is components for this purpose available (see below). Is there any workaround or add-on (even third-party) for Design Studio?

The only possibility I currently see, is to jump via URL from the DS to a WAD application. But this could create difficulties for the SSO and the mobile ussage. I would like to stay in the DS application as much as possible.

 

 

Thank you very much in advance,

 

Philipp

KPI Tile component customization questions

$
0
0

Hello everyone,

 

I have set about in replicating a dashboard in design studio, My attempt for this requires me to add a background image to the KPITile (SDK component), I have created a number of tiles and I want to apply an image in the background, I am 99% sure that this is done through CSS, but I have no idea how to do this correctly (read further info about how I import pictures in components further down).

Here  is a picture of what I am trying to replicate:

kpitile background image.jpg

Also, what do I refer to in CSS to change KPITile heading background(ie. in the picture this is illustrated in the colour blue).

One Last thing that I need to think about and would like some ideas about. In my case whenever I added background images to text boxes or whatever, I did this with a URL because I have no idea how I would do it otherwise (since this is a clients machine..). Using URL for pictures has a few downsides, it requires a permanent host to hold all pictures, and re-sizing pictures in design studio from URL distorts them (I assume you can resize them accordingly with CSS?). Any suggestions on doing it otherwise?

 

Thank you in advance

-Stav

Transparent backgound color on KPI Tiles

$
0
0

Any quick tip on how to set the background color to transparent for the SDK KPI Tile?

 

Regards, Stein

Design studio how to print without Radiobutton group texts

$
0
0

Hello,

 

I need to print only Chart and Title of my application without any other elements (filters, buttons, etc.)

 

There is wonderfull solution how to hide undesirable elements, discribed in the topic:

How to Print in Design Studio 1.3

 

But there is a problem with RadiobuttonGroup element:

2015_03_23_17_29_50_DB_AVERAGE_EMPLOYEE_AMOUNT_01_Analysis_Application.png


Text elements remain visible:

2015_03_23_17_21_30_DB_AVERAGE_EMPLOYEE_AMOUNT_01_Analysis_Application.png

 

 

In this topic described how to change color of RbG textelement, but it's not exactly what i need

Custom CSS for Radio Button component

 

Any ideas?


setVariableValueExt and Data Refresh

$
0
0

I have seen discussions on topics similar to this, but i am hoping to get the absolute behavior.

 

From the User Guide:

Sets query variable values in external key format, then executes the data source query again.

 

I am using 1.4 hosted on SAP BI, universe data source, HANA models

 

I used to set up to five variables and then use the DS.loadDataSource() method to load the query. But this was taking a while. I now only set variables if needed.

 

Then, I eliminated the LoadDataSource() call, but the data sources did not always load after the variables are set.

 

I saw in another post where Karol said that if you set multiple variables, the data will not not, until all variables are set. How does it know that all variables will be set? What if I only set one of the three variables that a data source depends on? If it cannot know all the variables are set, then will it load data for set variable set? Do I have to set all variables for it to automatically relaod, and if I do not set all of the variables, then do I have to explicitly call loadDataSource? When the BI version, there is no reloadDataSource() - actually there is, but it doesn't do anything.

 

So to sum it up:

  1. If a data source has multiple variables, do I have to set all variables to cause an implicit data load?
  2. If I reset a variable that multiple data sources depend on, will all the data sources refresh?
  3. If I do not set all of the variables that a data source contains, will it implicitly refresh? And, when?

 

Thanks.

Data Source Initial View

$
0
0

It is very handy to set an Initial View within Design Studio at design-time.  Presumably, behind the scenes, the initial view is stored as some JSON string and used to initialize the Data Source.  I am wondering if its possible to take advantage of this functionality from an SDK component.

 

While the methods on the Data Source object are functionally complete - they are a bit cumbersome when trying to make a lot of changes to a Data Source's view.  I would much rather build an 'Initial View' JSON in the .ZTL and pass it directly to the Data Source to completely configure the view with a single function call.

 

For example I would like to set layout, filters, results display.  This is the only way I know to do this now:

DS_1.setFilter("DB7VSUP6QYPP3Q0B8VD7GTCH2", ['DB7VSUP6QYQGSCC2KESTJ8QQU']);

DS_1.moveDimensionToColumns("DB7VSUP6QYPP3Q0B8VD7GTCH2");

DS_1.moveDimensionToRows("0CALMONTH");

DS_1.setTotalsDisplay("0CALMONTH", TotalsDisplay.HIDE);

 

I would much rather do this (my own syntax, since I do not know the format for the Initial View object):

var myview = {

     layout: {

          columns: ['DB7VSUP6QYPP3Q0B8VD7GTCH2'],

          rows: ['0CALMONTH']

     },

     filters: {

          DB7VSUP6QYPP3Q0B8VD7GTCH2: ['DB7VSUP6QYQGSCC2KESTJ8QQU']

     },

     dimensions: {

          0CALMONTH: {totaldisplay: TotalsDisplay.HIDE}

     }

};

DS_1.setView(JSON.stringify(myview));

Design Studio 1.4 does not start

$
0
0

Hi,

After installing Design Studio 1.4 I get the following error message. Can anybody help?

I've Win7, 4GB RAM, Java 1.7, DS 1.4 32bit, IE 11,

Regards, Markus

 

Issue when use dropdown filter, bex query takes long time

$
0
0

Hello friends,

 

I have the following issue, i have a dropdown which have the following event on select:

 

DS_1.setFilterExt("0PLANT", DROPDOWN_1.getSelectedValue());

DS_4.setFilterExt("0PLANT", DROPDOWN_1.getSelectedValue());

DS_2.setFilterExt("0PLANT", DROPDOWN_1.getSelectedValue());

DS_3.setFilterExt("0PLANT", DROPDOWN_1.getSelectedValue());

DROPDOWN_10.setItems(DS_1.getMemberList("ZCMP_UGV", MemberPresentation.EXTERNAL_KEY, MemberDisplay.TEXT, 500,"UGV"));

DROPDOWN_2.setItems(DS_2.getMemberList("ZCMP_UGV", MemberPresentation.EXTERNAL_KEY, MemberDisplay.TEXT, 500,"UGV"));

DROPDOWN_3.setItems(DS_2.getMemberList("ZCMP_UGV", MemberPresentation.EXTERNAL_KEY, MemberDisplay.TEXT, 500,"UGV"));

 

when i select some value on dropdown, it takes long time, this problem its fixed when i delete the last three lines, which set items from others. dropdowns.

 

Can anyone help me?

overlap crosstab

$
0
0

Hi all,

 

i’m using two crosstabs one above the other like this:

 

Bild1.jpg

 

If I expand the upper crosstab, I want to slide the position from lower crosstab down automatically.In WAD it is a standard funcionality. I don’t want to overlap the crosstabs like this:

Bild2.jpg

Also I don’t want to get a scrollbar in the upper crosstab like this:

 

Bild3.jpg

It would be really great if someone has a solution for this!

    

Thanks and Regards

 

Gabriel Motor

Multiple Filters not working - Design Studio

$
0
0

Hello All,

 

I have seen some of the posts regarding this still no luck making my filter work. here is thh back ground. I have a calculation view created and it has company, Cost Centers, Count, Amt. My requirement is to display company codes and upon slection display appropriate cost centers. I am uning Design Studio 1.2

 

The calculation view is built on HANA Directly (side cart solution)

 

Created 2 data sources and 2 drop down (DROPDOWN_BUKRS, DROPDOWN_KOSTL)

       1. DS_BUKRS : BUKRS, KOUNT

       2. DS_KOSTL  : BUKRS, KOSTL, KOUNT  - Background filter - BUKRS

 

     On Startup - works fine

 

      DROPDOWN_BUKRS.setItems(DS_BUKRS.getMemberList("BUKRS", MemberPresentation.EXTERNAL_KEY, MemberDisplay.KEY, 10));

 

     On Selection (DROPDOWN_BUKRS)

 

      DS_KOSTL.setFilterExt("BUKRS", DROPDOWN_BUKRS.getSelectedValue());   - Applying the selected BUKRS as filter to DS_KOSTL

      DROPDOWN_KOSTL.setItems(DS_KOSTL.getMemberList("KOSTL", MemberPresentation.EXTERNAL_KEY, MemberDisplay.KEY, 1000));

 

When I select the company code first time it brings up some cost centers (Not Accurate, but brings some cost centers), When I change the company code I get an error 'All selections for dimnesion company codes are invalid and have been discared'

 

Quetions

 

1. Dynamic filter thru drop down box (Designedr 1.2) does it work with HANA version 1.0.7

2. how is the back ground filter works , that is defined in the Inial Edit view... (I am treating like a variable we use in BEx and passing teh value throu .setFilterExt)

 

 

Any help is appreciated.

 

Thanks,

Arthur.

     

Design Studio 1.4: Plotting a time series and a trend line

$
0
0

My goal is to plot a time series and the corresponding linear trendline in Design Studio. The data source is an calculation view in HANA. The trendline is calculated by a linear regression model. The problem is that the time series changes dependent on the user’s cascading selection of subcategories of the dataset e.g. via listboxes. 

 

The scenario could be: plot the turnover over time and

  1. select the country(ies) and
  2. then the product category(ies) that are sold in the country(ies) selected in I.).

 

Example1 (here with 2 listboxes and the selected categories highlighted in blue)

Unbenannt46.png

 

Example 2

Unbenannt45.png

 

 

There are so many possible combinations of Countries and Product categories that the regression cannot be calculated in advance. The calculation needs to be done given the selction of the user. How can I solve that?

 

As a Design Studio novice I have two ideas that do not work:

 

  1. Calculate the intercept and the slope of the line like it is shown here: http://en.wikipedia.org/wiki/Simple_linear_regression#Fitting_the_regression_line

          Then plot the line in Design Studio. That sounds simple, but there are two problems.

  • I do not know how to plot the line over the time series even when I know the intercept and the slope of the line as constant values.
  • This is not a good longterm solution. I could not do any other more complex calculations like an ARIMA model.

 

     2. Each time the user makes changes to his selection, a new calculation of the regression in HANA is triggered. The calculation view in HANA will fill the table/data source for the Design Studio with a new  vector that is plotted as a new trend line.

 

That sounds professional, but  I am unable to achieve that. I need to pass the selected variables to HANA in a way similar to the solution posted by James Rapp here: http://scn.sap.com/message/15228380#15228380

 

This does not work for me. I cannot generate dynamic variables and pass them to the calculation view in HANA. Probably I am missing something.

I am wondering because this seems to me like a fairly standard problem and I could not find any out of the box solution. I would be very thankful for your help!


How to sort value in arrays

$
0
0

Hi Supers,

 

If a have a float array, for ex. var Arry1=[8900,421,366.20,550.19], how can I sort the values in result like:

 

366.20, 421, 550.19, 8900

 

I know there's a for each for array, I tried some way but didn't work out,  how to code to sort them?

 

Thank you very much!

Delete all portable fragment bookmarks

$
0
0

Hi experts

 

I have a button in my dashboard that should delete all portable fragment bookmarks. I use the following script:

Bookmark.PortableFragmentBookmark.deleteAllBookmarks("OnlineCompBookmark");


The bookmarks has been created with the same group identifier "OnlineCompBookmark".


When i run the script i do not get any error messages and no bookmarks are deleted. Is this a known bug in DS 1.4 SP01? Anyone who knows a workaround?


Kind regards


Erik

Using Design Studio as a Dashboard

$
0
0

Hi All

 

So we all know that Design Studio is to be the replacement for Xcelsius, I for one welcome that replacement however there is one fundamental piece of functionality missing for me and I would like to know if anyone has managed to get around it!

 

So in Xcelsius we could set the refresh parameter to refresh the data however often we wanted which is great for creating dashboards to display on TV's around the business etc.

 

In Design Studio this is not so easy, I have come across a few problems which I shall list below.

1. No refresh parameters - It was suggested to use the Timer component from the SDK to trigger a refresh on the time event. There is a slight problem with this scenario because Universe Datasource connections cannot be refreshed using the DS_1.reloadData() command.

2. Content is published to the BI Portal (In xcelsius we could export to swf and do whatever we wanted with it!) Now I open this up via the Launchpad to display on a Business TV and leave it running to autorefresh after 5 minutes or so it gets hit by the Auto Timeout parameter set in the CMC.

 

My question to you all is have you found another way to do this with Design Studio?

 

It needs to be fully automated once its open, we don't expect users to have to click prompts to continue the session etc. Also it would be good if we could reload data from Universe's, I Will look on the ideas place and submit something if this is not already on there.

Timeout in Design Studio

$
0
0

Dear DS-Experts,

 

Concerning OSS note 2059761 there is no possibility to increase the timeout of DS reports.

Can anybody tell me

  • why the 30 min are hardcoded and
  • if there is really no other possibilty to increase timeout?

 

Best regards, Markus

Failed to obtain Assertion Ticket for connection "XX" Check the server-side SSO configuration for user"XXX"

$
0
0

I found other discussions with this error - but SSO to BW it is working on my BI Server with webi

and our bw system patchlevel is also high enought so that SSO with DS schould work too.

STS at APS server is present too:

 

But still when I want to use a BW connection with SSO this error appears:

 

Failed to obtain Assertion Ticket for connection "XX" Check the server-side SSO

configuration for user"XXX"

 

Any ideas what to check:?

 

Wobi

Viewing all 4216 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>