Forum Replies Created

  • Jennifer
    Moderator
      Has successfully completed the online course Basics - 100.
    • Topics: 0
    • Replies: 46
    # 5 months ago
    Up
    1
    Down
    ::

    Hi Dimitri,

    Can you please update your Simplifier version to the latest 6.5 hotfix? With version 6.5.153-LTS.73, the app wizard bug that you have described has been fixed.
    In higher versions, the app wizard should be working fine again.

    Jennifer
    Moderator
      Has successfully completed the online course Basics - 100.
    • Topics: 0
    • Replies: 46
    # 5 months ago
    Up
    1
    Down
    ::

    Hi Dimitri,

    It’s difficult to debug this behaviour. To get further information on what could be the issue, you can do the following:

    – When loading the UI Designer, open your browser’s Debug Console (e.g., by pressing the F12 key). Is an error displayed in the console?
    – Check the Simplifier Logs. In our documentation, we show you how to retrieve log files: https://community.simplifier.io/knowledge/logs-and-monitoring-in-simplifier/ (Step 2) Can you see any error in the log file for the respective time when you have opened the UI Designer?
    – Which Simplifier version are you using?
    – Which OpenUI5 version are you using in your application?

    Maybe with this additional information, we can find out what the issue is here.

    Jennifer
    Moderator
      Has successfully completed the online course Basics - 100.
    • Topics: 0
    • Replies: 46
    # 6 months ago
    Up
    0
    Down
    ::

    Hi Christian,

    You have to format the data that comes from the connector call. You can do this in your business object (that’s why you have to use the connector call inside a business object: to format the data coming from the connector for the chart widget). Here is an example that simply converts the values of a dataset into datapoint objects:

    var oData = {
        "datasets": [{
            "color": "#00AF00",
            "label": "Tenant 1",
            "value": 1
        }, {
            "color": "#ff0000",
            "label": "Tenant 2",
            "value": 2
        }, {
            "color": "#cc33ff",
            "label": "Tenant 3",
            "value": 3
        }],
        "labels": [{
            "label": "Status_Open"
        }]
    };
    
    // write the value into a datapoints object for each dataset
    oData.datasets.forEach(function(oDataset) {
        oDataset.datapoints = [{
            value: oDataset.value
        }];
    });
    
    output.datasets = oData.datasets;
    output.labels = oData.labels;

    When the datasets and labels are mapped to a bar chart, the resulting chart will look like the chart in the attachment.

    Attachments:
    You must be logged in to view attached files.
    Jennifer
    Moderator
      Has successfully completed the online course Basics - 100.
    • Topics: 0
    • Replies: 46
    # 6 months ago
    Up
    0
    Down
    ::

    Hi Christian,

    You can avoid the nested datasets object by adding the path (‘.datasets’) to the connector call in your business object.

    So, in line 6 (image ‘BO_Ansicht.jpg’), write:

    datasets: Simplifier.Connector.Dashboard.getAll().datasets

    Now, the output should only contain the array ‘datasets’.

    Jennifer
    Moderator
      Has successfully completed the online course Basics - 100.
    • Topics: 0
    • Replies: 46
    # 6 months ago
    Up
    0
    Down
    ::

    Hi Christian,

    To visualize data with the charts widget, it does not matter from which data source (SQL, SAP, REST, …) the data is loaded. However, the data needs to have a certain structure (depending on the charts type that you want to use, typically an array of ‘labels’ and an array of ‘datasets’ with ‘datapoints’) so that the charts widget can work with it.

    In our knowledge base, we have an article that describes how to use the charts widget, and you can also see the necessary data structure there: https://community.simplifier.io/knowledge/using-the-charts-widget/

    So in your case: you need to format the data after retrieving it from the SQL connector. You can call the SQL connector directly in a Server Side Business Object and then format the output so that it’s suitable for the charts widget.

    Or you can format the data that you have stored in the global variable using a script or a Client Side Business Object.

    Let us know if you need further help on this topic.

    Jennifer
    Moderator
      Has successfully completed the online course Basics - 100.
    • Topics: 0
    • Replies: 46
    # 8 months ago
    Up
    0
    Down
    ::

    Hello Ishant,

    This error seems to occur because you are binding the tab items via a global variable (an array of objects). When pressing the ‘x’ button of a tab item, the ‘itemClose’ function (which is defined in the widget ‘TabContainer’) is triggered and removes the tab item.

    But when you remove the corresponding object from the global variable manually (by subscribing to the ‘itemClose’ event of the TabContainer in the Process Designer), the ‘itemClose’ function is triggered once again and produces the error because it cannot find the item since it has been removed before.

    So what you could do: in the widget ‘TabContainer’, adapt the ‘itemClose’ function.

    Instead of this part:

    if (this.fireItemClose({item: oRemovedItem})) {
    this.removeItem(oRemovedItem); // the tabstrip item will also get removed
    }

    add this code:

    this.fireItemClose({
    item: oRemovedItem
    });

    With this change, the binding via a global variable should work fine.

    Jennifer
    Moderator
      Has successfully completed the online course Basics - 100.
    • Topics: 0
    • Replies: 46
    # 10 months ago
    Up
    0
    Down
    ::

    Hey Gabriel,

    Just in case this wasn’t clear before:

    Please make sure to create a new method in a new Client Side Business Object and change the code in this new method (from ‘this.getView().getId()’ to ‘variableHolder’). Do not change the code in the method from the ‘ITIZ_Utilities’ Business Object because this Business Object is part of our Standard Content and therefore may be overwritten, e.g. when you re-import the Standard Content.

    Also, other apps on your instance using the ITIZ_Utilities Business Object can be affected when you change the method. So the best solution is to create a new Business Object.

    Jennifer
    Moderator
      Has successfully completed the online course Basics - 100.
    • Topics: 0
    • Replies: 46
    # 12 months ago
    Up
    1
    Down
    ::

    I know that this is an old post, but since Simplifier version 6.0.138-LTS.141, SQL statements with a dynamic WHERE clause are possible.
    The WHERE clause needs to be added as a parameter in the Connector call. Inside the WHERE clause, statements like ‘id IN (1,2,3)’ or ‘name LIKE “John”‘ can be specified.
    Connector calls with a dynamic WHERE clause can only be executed inside a Server Side Business Object for security reasons. Also, words like ALTER, CREATE, DELETE, DROP, EXEC(UTE), INSERT (INTO), MERGE, SELECT, UPDATE, UNION (ALL) are not allowed inside a dynamic WHERE clause.

    Attachments:
    You must be logged in to view attached files.
    Jennifer
    Moderator
      Has successfully completed the online course Basics - 100.
    • Topics: 0
    • Replies: 46
    # 1 year ago
    Up
    1
    Down
    ::

    Hello Klaus,

    the feature request has been created, but it now has to be reviewed by our core developer team first and then assigned to a release. So for now, it’s not possible for us to estimate when this feature will be available. As soon as it is assigned to a release, we can generally estimate a date since we plan to launch new releases every 6 months (approximately).

    Jennifer
    Moderator
      Has successfully completed the online course Basics - 100.
    • Topics: 0
    • Replies: 46
    # 1 year ago
    Up
    0
    Down
    ::

    Hallo Timo,

    Hast du überprüft, ob im Output des Business Objects Daten zurückkommen?
    Und ob das Format der Daten passt, damit sie gemapped werden können?
    Generell ist es schwierig, das Problem aus der Ferne zu finden, da ich keinen offensichtlichen Fehler in der Konfiguration erkennen kann.
    Eine Enabling-Session, in der wir uns das Problem gemeinsam auf eurer Instanz anschauen, wäre hier wohl die beste Lösung.

    Viele Grüße
    Jennifer

    in reply to: Pictures in Carousel
    Jennifer
    Moderator
      Has successfully completed the online course Basics - 100.
    • Topics: 0
    • Replies: 46
    # 1 year ago
    Up
    1
    Down
    ::

    Hello Niklas,

    Unfortunately, Simplifier 4.5 does not support CLOB types in OracleDB.
    In the current version 6.0, the SQL connector logic has been adapted, so please consider updating your system to the latest Simplifier version to avoid this error.

    Jennifer
    Moderator
      Has successfully completed the online course Basics - 100.
    • Topics: 0
    • Replies: 46
    # 1 year ago
    Up
    1
    Down
    ::

    Hi Reinhold,

    Which browser are you using? I checked the button’s functionality (on both Chrome and Microsoft Edge) and it’s working as intended.
    Are you sure that your user is not temporarily blocked? This happens when you have entered the wrong password three times. The user’s IP address is then blocked for a couple of hours. Is the login working for you?

    Jennifer
    Moderator
      Has successfully completed the online course Basics - 100.
    • Topics: 0
    • Replies: 46
    # 1 year ago
    Up
    0
    Down
    ::

    Hallo Timo,

    Bei Umstellung der UI5-Version kann es leider passieren, dass Widgets nicht mehr kompatibel sind bzw. nicht mehr so funktionieren wie vorher.
    Zu deinem Problem: wenn in der ComboBox (1.60) die Eigenschaft ‘itemsTemplate’ angehakt ist, sollte das Binding via Skript wieder durchgeführt werden können.

    Jennifer
    Moderator
      Has successfully completed the online course Basics - 100.
    • Topics: 0
    • Replies: 46
    # 1 year ago
    Up
    0
    Down
    ::

    Hello Patrick,

    As you could see, we restructured the Dashboard in Simplifier 6.0 to reduce clutter for the user.  However, the restructuring process is currently still in progress since it involves major changes, especially in the backend.

    So in 6.0, you basically see an intermediate state of the Dashboard. There will be more UI changes in future versions, so stay tuned!

    in reply to: Simplifier release 6.0
    Jennifer
    Moderator
      Has successfully completed the online course Basics - 100.
    • Topics: 0
    • Replies: 46
    # 1 year ago
    Up
    0
    Down
    ::

    Hello Klaus,

    You can access an application element from within a module via code, e.g.:

    var oButton = sap.ui.getCore().byId('Screenname--ButtonId');

    In your module, just add a script shape after the event that you are listening to in the Process Designer and add the code there.

     

Viewing 15 posts - 16 through 30 (of 46 total)