Quantcast
Channel: SCN : Popular Discussions - SAP BusinessObjects Design Studio
Viewing all 1411 articles
Browse latest View live

Design Studio 1.4 CSS of SDKs is not loaded correctly on Mobile BI App

$
0
0

Hi Design Studio friends,

 

after migration of Design Studio 1.3 SP0 to Design Studio 1.4 SP0 Patch 1 we get the following issue.

 

When executing any application via SAP Mobile BI App (on iPhone or iPad) the CSS information of our SDK components are not loaded correctly.

When execution the same application on BIP via Web-Browser everything looks fine.

 

Do you have any idea if there is something to do in our SDK components or is it a bug of the Mobile BI App.

With the BIP AddOn Design Studio 1.3 SP0 all of our SDK components work correctly on iPhone or iPad.

 

We are using BIP 4.1 SP4.

 

Many thanks for your support and any ideas

 

Kind regards

 

Patrick


Maximum Result Set

$
0
0

Does anyone knoe if the limitation of

"The result set has a fixed limit of 5000 rows or 50000 data cells." When working over Universe is still valid in 1.4?

Any ideas if it is something that is going to be changed?

 

Shlomi

Convert Integer to String Function

$
0
0

I am trying to convert integer to string, but there is no such function. Or at least, I couldn't find one. There is conversion from float to string functions. However, there is no int to string.

 

Do you know how?

 

I found a workaround, but I am not sure if this is the right approach.

 

var int_tst = Convert.stringLength(string_tst);

var float_tst = int_tst + 0.0;

 

TEXT_2.setText(Convert.floatToString(float_tst,"#0"));

 

 

Thanks.

Bex Query without Measures

$
0
0

Hi,

 

   I trying to build an requirement in DS 1.3. Attached is the bex query structure i have..there is no measures in bex query

 

   I have one dimension filter Title in my filter Panel and one load button.

 

- Scenario 1: Whenever i didnt choose any title in my dimension filter

 

  Output Display dyanically in ListBox not in Table/GridLayout:

 

   On startup i wrote:

 

     LISTBOX_1.getSelectedValue(""); //  Iam doing something wrong here..

 

- Scenario 2: Whenever i choose specific/multiple title in my dimension filter

   Output Display in ListBox not in Table/GridLayout:

 

    On startup i wrote: to get the selected titles

 

     var kpi1=ds_1.getMembers("Ytitle", 20);

     kpi1.foreach(func(element, index)) {

     list.additem(kpi1.text);

    });  // where in list box display all titles/ rather selected title item..Iam doing something wrong here..

 

- Scenario 3: Whenever i choose specific/multiple title in my dimension filter

   Output Display in ListBox not in Table/GridLayout:

 

On startup i wrote: to get the selected titles description

 

     var kpi1=ds_1.getMembers("Ydes", 20);

     kpi1.foreach(func(element, index)) {

     list.additem(kpi1.text);

    });  // where in list box display all title desc/ rather selected title's desc..Iam doing something wrong here..

 

The final Output is:

 

Desc

Title1

Title2

 

 

Expected Output is:row after row filter selected titles and its desc  from Bex query as attached.

 

Title1

  Desc1

Title2

  Desc2

.

.

.

.

 

Kindly guys throw some light on this possibly iam doing wrong in coding the list and looping it separately i guess rather everthing in one set of code but not sure i have todo at onstartup as well dimension filter on apply event or button load, i have to frame a format like the expected output with some space in description display..

 

Thanks,

Dinya.

Total vs Detail Trend line Graph in Design Studio

$
0
0

Hi DS gurus,

 

 

I'm using Design Studio 1.2 version and have a requirement to show/compare a trendline graph of total values w.r.t detail values of different category. Here are the attached my Trendline graph and Data sets.

 

This is how the requirmenet goes

1) I have a drop down of various categories like Vendor, Equipement, Material (refer dataset attachment)

2) The trendline graph needs to compare total values (of all categories) w.r.t a selected category (value from drop down). refer the graph attachment.

3) I have only one measure in my data set. I want to display that as two different data points in the trendline graph(one for Total and one for the selected category).

 

When I select a value from the downdown, the total also changes accordingly. I like to keep the total values unchanged when I select a category. Is there any way we can do that in DS ?

 

It's easy in WebI, where we can create a variable measure for a the selected category and we can use the total and the variable in the graph as two measures.

 

Please let me know if you have further question.

 

Regards
Saubhagya

Styling a chart in Design Studio

$
0
0

I have been looking into this issue for days already and I am hoping someone could help me on this.   I have a dashboard with a line chart and I am truying to set the font size and the color for the axis labels as well as the legend fonts.   I have so far found no class on the css libraries that I can use for that purpose and using the dev tools on chrome, found that the font size and colors seems to be determined on the HTML code itself rather than coming from a CSS class.   Has anyone successfully managed to customize the fonts of charts?

 

Thanks,

 

manuel

sap.designstudio.sdk.Component

$
0
0

Hi,

 

I am learning the SDK. I see that we are subclassing the sap.designstudio.sdk.Component object. In all the examples, we are to copy existing components and modify them to our needs. This is great, but where are the details on how the environment behaves? What are the methods and properties of sap.designstudio.sdk.Component? I see that init, afterUpdate and other functions get called, but what are all of the functions that get called? What properties are available?

 

I hope that some of these questions can be answered.

 

Thanks and happy New Year.

Filter between Bar chart and line chart series colors

$
0
0


Hi,

 

I have requirement in design studio dashboard as follows -

 

I have two charts first one is horizontal bar chart with 10 materials for current week and second one is line chart with same materials for last five weeks trend. when I select one material from bar chart only that material should get filter in the second line chart and which is working good but the issue is with colors.

 

Whatever the material I select in first bar chart only one color is getting in the second line chart for all the materials even they are different in first bar chart, for example if I select blue color material in first one, blue color is coming in line chart and if I select yellow color material bar still blue (first color in the bar chart as default) color is coming. I want same color as in the first chart.

 

Currently showing as                                          Required as Below

 

Bar Chart       Line Chart                                   Bar Chart       Line Chart

 

Blue        --->  Blue                                             Blue        --->  Blue

 

Yellow    --->   Blue                                             Yellow    --->   Yellow

 

Orange  --->   Blue                                              Orange  --->   Orange

 

 

This one can we directly  do in design Studio or we need to do through CSS?

 

 

Thanks,

Ap


PIE / Donut Charts Formatting

$
0
0

Hi All,

 

I have been reading most of the post on Design Studio (even if some are still a bit to advanced for me on the SDK side) but I am still struggeling with one thing in particular with PIE Charts.

 

If you use the standard functionality I haven't been able to find a way to format the Data Labels on a pie chart. When you look at the image below the

text of the Measure is displaying with the Value.

 

Is there any way to format the chart (either through css or another) to display only the percentage or value? I have seen posts where everything was calculated manually and then spaced based on custom math, but this would only work for me if I had prior knowledge of every group that would come into the dataset.

 

PIE.png

 

I have been able to format the text, make it bigger, smaller etc but that doesn't really solve the problem.

 

Any input would be greatly appreciated.

 

Regards

Jaco Richards

Loop List using API Methods

$
0
0

Hi All,

 

My Bex Query Structure(With No KF'S) :

                                  

 

PRODUCTS ID         PRODUCTS NAME           Words1                 Words2

 

  1                            wax                                  asdsad                  wrffvbv

 

 

  2                            lighter                               sadadas                rgergbg

 

 

  3                            candle                              asdasds                wvvxdsd

 

 

In DS 1.3, i am stuck up in the below steps itself.

 

var arr_products = DS_1.getMembers("PRODUCTS", 30);   

var arr_words1 = DS_1.getMembers("Words1", 30);

var arr_words 2 = DS_1.getMembers("Words2", 30);

 

I got the values to get stored in array from above.

I am trying to achieve like below. Get the list in an array and loop over that array and concatenate the text values .

 

Expected Output like below in ListBox when selection of wax and lighter in product dimension filter :

 

wax

asdsadwrffvbv   < - Concatenate both words and show as one word

lighter                          

sadadasrgergbg   < - Concatenate both words and show as one word    

 

Hope it should be understandable for everyone and need your solution guys.

 

Thanks,

Dinya. 

SDK and Images

$
0
0

Hi,

 

I have a couple of questions about images:

  1. I have an image in the res folder, but when I refer to it in code SRC = "res/image.png", it shows as a broken link. When I test it in Chrome and use Google tools, it shows that it is looking for the image in the images folder.
  2. When we use the image component, we are able to upload an image using a dialog. How can I use this dialog to upload images to my control at runtime?

 

Thanks.

Extracting Dimension Values from a Data Source

$
0
0

I wanted to create a control that would extract all of the dimensions from a data source, and then create a single string with comma separated values.

 

I started with the simple table sample and kept the following component:

<property
id="column1"
title="Column X"
type="ResultCellList"
group="DataBinding">
<option name="includeFormattedData" value="true"/>
<option name="includeMetadata" value="true"/>
</property>

 

I then modified the afterUpdate function to:

this.afterUpdate = function() {

   if(JSON.stringify(this.metadata()).length){

      try{

         for(i=1; i < this.metadata().dimensions[1].members.length-1; i++){

            if(i==1){

               commaStr = this.metadata().dimensions[1].members[i].text;

            }

            else{

               tempStr=commaStr;              

               commaStr = tempStr + ', ' + this.metadata().dimensions[1].members[i].text;

            }

         }

      alert(commaStr);

      }catch(e)

         {

      }

   }

};

 

This does give me the output that I want:

string_1, string_2, string_3, string_4, ...

 

My questions are:

  • Currently, I have to assign a data source through Data Binding: Data Source and Column 1, in the Design Studio interface.
    • I want to only assign the data source, since I am not showing the data selected in Column 1.
  • I am using ResultCellList, should I be using ResultSet? If so, then how would my code change?
  • Are there definitions somewhere that explains exactly how to use the ResultSet, ResultCellList, and others?
  • After assigning the Data Source, the AfterUpdate function gets called. What is passed to the AfterUpdate function? Is there a way to access the data source and its contents in this AfterUpdate call?

 

Thanks,

Robert

Styling a chart in Design Studio

$
0
0

I have been looking into this issue for days already and I am hoping someone could help me on this.   I have a dashboard with a line chart and I am truying to set the font size and the color for the axis labels as well as the legend fonts.   I have so far found no class on the css libraries that I can use for that purpose and using the dev tools on chrome, found that the font size and colors seems to be determined on the HTML code itself rather than coming from a CSS class.   Has anyone successfully managed to customize the fonts of charts?

 

Thanks,

 

manuel

Publishing a dashboard

$
0
0

Hello all,

 

Happy new year!

 

I am currently working on the final version of my dashboard using design studio and I have 2 questions:

 

1) How did you manage the space of the dashboard? Meaning, how did you plan for it to be on a canvas 8 x 11 or something smaller? I fear that when it gets published, it will be too big for the space it gets published too so I want to make sure I stay within a limited space.

 

2) Does anyone know some best practices when it comes to publishing a dashboard? Can it be published on the BOBJ portal or another way using HTML? Can it be done using PPT or another Microsoft Office tool? I've read many different answers but none seem to be repeating so I don't know where I can find a single source of truth for publishing a dashboard.

 

Thanks so much,

Nikki

how to create multiple filter in Design Studio?

$
0
0

Hi,

 

I have COUNTRY in 1st drop-down and STATE in 2nd drop-down. When I select COUNTRY it should show the corresponding State's which belongs to that country.

 

Now I'm get the list of Countries in 1st drop-down and list of State in 2nd drop-down.

 

Can somebody help to do this dynamic filter.

 

Thanks,

Naresh


Message "Failed to create Java Virtual Machine" after starting Design Studio 1.2 SP1

$
0
0

Hi experts,

 

after I installed the SP1 of Design Studio 1.2 I become the Message "Failed to create java virtual machine" and I´m not able to start the Design Studio.

 

failed to create java virtual machine.png

 

My java version is 1.7

 

java_version.png

 

My SapDesignStudio.ini File (C:\Program Files\SAP BusinessObjects\Design Studio) looks like as follow:

 

-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20130521-0416
-name
SAP
BusinessObjects
Design
Studio
-vmargs
-Xmx1024m
-Xms256m
-XX:PermSize=32m
-XX:MaxPermSize=512m
-XX:+HeapDumpOnOutOfMemoryError
-Dfile.encoding=UTF-8
-Dosgi.requiredJavaVersion=1.6
-Djava.net.preferIPv4Stack=true
-Djdk.xml.entityExpansionLimit=0
-Djavax.net.ssl.trustStoreProvider=SunMSCAPI
-Djavax.net.ssl.trustStoreType=Windows-ROOT
-Dorg.osgi.framework.os.name=win32

Any ideas or experiences?

 

Many thanks and regards,

Michael

Passing Parameters with OpenDocument in SAP Design Studio

$
0
0

Hello everybody,

 

I have built 2 Design Studio dashboards. One Design Studio dashboard should act as an overview, the other Design Studio dashboard should act as a more detailed view. The detailed view is based on a BEx Query, which contains several mandatory variables. Now I want to jump from the overview to the detailed view an pass the chosen parameters from the overview dashboard to the detailed dashboard by setting the mandatory query variable with an OpenDocument link. I know that this works fine with other BusinessObjects tools like Web Intelligence, but I was not able to set the mandatory BEx Query variables using OpenDocument in Desing Studio. Does anyone know if this works yet, or maybe in further releases?

 

Thank you in advanced.

 

Best regards

 

Stephan Bucher

Result set is too large; data retrieval restricted by configuration Universe Connection

$
0
0

Result set is too large; data retrieval restricted by configuration. I am getting the following error while running queries on universe. How do i solve this?

Unable to Publish SAP Design Studio dashboard to BI Platform

$
0
0

Hi Experts,

 

I am unable to publish on BI Platform from SAP Design Studio 1.3 and getting the below error. I am able to execute locally but not on BI Platform.

  1. Open Design Studio
  2. Application - > Desktop Browser
  3. Drag and drop a Bar Chart
  4. Execute Locally
  5. It execute successfully without any issue
  6. Repeat the steps a-c and Execute on BI Platform throws the following error.

 

Version:

 

SAP Design Studio 1.3

SAP BIP level is 4.1 SP3 Patch1

 

 

 

 

 

 

 

Unknown Error

While processing the current request, an exception occurred which could not be handled by the application or the framework.

Log ID:12fe7e64-3089-429d-840f-362ca900be72

 

Unable to process request. Contact your system administrator.
To facilitate analysis of the problem, keep a copy of this error page

 

 

We are sorry for the inconvenience

Design Studio 1.4 CSS of SDKs is not loaded correctly on Mobile BI App

$
0
0

Hi Design Studio friends,

 

after migration of Design Studio 1.3 SP0 to Design Studio 1.4 SP0 Patch 1 we get the following issue.

 

When executing any application via SAP Mobile BI App (on iPhone or iPad) the CSS information of our SDK components are not loaded correctly.

When execution the same application on BIP via Web-Browser everything looks fine.

 

Do you have any idea if there is something to do in our SDK components or is it a bug of the Mobile BI App.

With the BIP AddOn Design Studio 1.3 SP0 all of our SDK components work correctly on iPhone or iPad.

 

We are using BIP 4.1 SP4.

 

Many thanks for your support and any ideas

 

Kind regards

 

Patrick

Viewing all 1411 articles
Browse latest View live


Latest Images