Get and give help with AIMMS WebUI
- 160 Topics
- 428 Replies
Hello, WebUI community :) WebUI performance (i.e., ensuring a snappy user experience) is a key focus area for the AIMMS WebUI development team. Early this year, we released a performance improvement like 'Smarter Delivery'. Many performance enhancements are triggered by your input during several sessions over the last year; thanks for that! The primary learning for us is that there is more to WebUI performance than merely measuring how long it takes to load a page in your browser, for example, how your end-user perceives your application. We want to continue with this effort this year by organizing regular (i.e., a few times a year) meetups (with a group of users). During such a meetup, we plan toshare success stories between customers on how they managed to improve the performance of their application and/or deep-dive into a specific, real-life, WebUI application to understand the reason for slowness and share tips.The outcome of such a meetup could be some tips on improving your app
Hi,I am dealing with the allocation problem where my result is a binary variable. In the application the result, the data filled in the variable, is presented in a nice way but I cannot get it to work in the WebUI. Is there a way to get this done ? When trying to display the binary variable in a table in the WebUI, no data is shown. Kind regards,Marie
I have a String parameter for BeginDateofCalendar which takes a string of date.I created a procedure for getting value for the above string parameter using DialogGetDate which gives me option to select a date from Calendar.But it only working in WinUI. When i am running the procedure in a page in WebUI its running but the calendar is opening in AIMMS App, not in WebUI.what should i do so that the calendar opens in WebUI and not in AIMMS App?
Experimental Features are pre-release versions that you can turn on and try out. We love when users share their experience and comments about these features. Based on usage and feedback, the feature(s) eventually become official in the WebUI. Alternatively, they might be removed if they don’t work well or do not add value to users. Check out the list of current experimental features. For instructions on how to enable or disable them, click here.
To easily recognize data items belonging to the same category, it helps to have:a good qualitative color palette, and a consistent use of that palette for charts on that page.This is why I wrote two corresponding How-To articles:Add color palettes This article is about using qualitative color palettes that can be obtained from the internet, and subsequently transcribed to a CSS file that can be used in conjunction with annotations for AIMMS Data Dependent Styling. This article comes with an AIMMS application that let you transcribe your own palettes. Consistent data coloring on an AIMMS WebUI page This article is about using the CSS files created in the first article to obtain a consistent use of the legend for all widgets on that page as shown in the following picture: I hope these articles will help you in setting up data visualization palettes for your own application.
I’m looking for help to extracting the first and last value of a given list. I have a binary parameter L(p,i) which will be given varios list of data.For example:List p=1: i=1 → 0i=2 → 1i=3 → 1i=4 → 0List p=2:i=1 → 1i=2 → 0i=3 → 1i=4 → 1I’m looking for a command which will extract the first i which is set to 1 on a given list. In this Example for the list p=1 it would be i=2 and for the list p=2 it would be i=1.I’m also looking for a command which will extract the last i which is set to 1 on a given list. In this example for the list p=1 it would be i=3 and for the list p=2 it would be i=4.I tried the “First” and “Last” command which always lead to using i=1 (for the command “First”) even though in the example p=1 the value of i=1 is 0 and not 1.Any help would be appreciated.
As you may know, in the map widget, the end-user can scroll horizontally and vertically, by just grabbing a point on the map widget and dragging it to the desired position. Zoomed out, scrolling horizontally, you'll view the entire globe.This how to article shows a small application with a route sailing across the globe. A set of waypoints with legs make up a route for sailing across the globe. By scrolling horizontally, the route adapts dynamically to the visible part of the map widget.For instance, the app opens with the following map widget:After scrolling to the other side of the planet, the sailing route is shown as follows:
I was wondering if it is possible to change the shape of the node on the map from a circle to something different, e.g. a square or triangle? I am already using color coding to indicate allocation of store locations to warehouses, the shape is intended to differentiate between 3 different types of stores.Using of icons or alterntative stroke colors doesn't really work, because the nodes need to be quite small. But I am also interested in any other suggestions to make it work.Thanks!
Hi all,my question relates to the font size of axis labels when enlarging the respective widget to full-screen mode. The font size is fine on the normal page when the widget is its standard size. However, when zooming the widget, the font size stays the same, making it very hard to read.Especially when making screenshots of the charts to use in e.g. business presentations, it would help if we can adjust the label size when enlarging a widget.Any suggestions as to how I can do this?Thanks in advance
I created a very simple pie chart using a parameter with one index with 2 elements, named “Actual and “Penalty”.I was expected that the pie chart showed me the names “actual” and “penalty” inside the wedges, like shown in the article: https://documentation.aimms.com/webui/pie-chart-widget.html I also tried an elementtextidentifier to the set I use, although I would expect this does not make sense since the element are already named.I can’t find anything related in the pie diagram options or do I miss something?
I would like to visualize the opening and end stock in one line. This means for exampleOpening Stock Week 1: 100 (t = 1)End Stock Week 1: 80 (t = 2)Opening Stock Week 2: 120. (t = 2) This means on the x-axis (t = 2) has 2 values 80 and 120. I would like to see this jump without creating dummy x-axis points which are very close to t = 2.Is this possible?
Since I am now missing the possibility of the outer index area, looking for other approaches to get similar functionality. From @Gertjan I already understood that you could create a couple of widgets and use widget actions to switch between them. This would be a possibility to precreate a couple of the possible layouts. However, if you have a 5 dim identifier, this becomes quite a bit already...I was wondering, is it maybe possible to change the pivot information from within AIMMS code? Than I could create a widget action that shows popup where you can re-arrange the pivot information (and also create the element parameter/sub index selections for the outer-index areas). I have not seen that many references to the widgets in the webui library, but maybe there is some way that this is possible?
I have a parameter over weeks with historic and forecast info. I want the historical week to be a dotted line and from the current week onwards a solid line. I use an annotation ‘dash’ and created a string parameter that have dash for the historic weeks. I added this as annotation the parameter, but if I use this all the weeks are dotted. (When I remove the annotation the whole is solid, as it should be). So is it possible to change the line over the axis?
Hi all, Quite new to this WebUI thing in AIMMS, not so new to AIMMS itself (have done some things with AIMMS before….. ). (Edit: after posting the question, I see the forum classifies me as an AIMMS newcomer …. ) I am starting to understand the whole concept with rows/columns in the layout, but not sure how to solve the following problem:I have set the maximum number of columns on the page to 11 I have created two selection boxes (each 2 columns) and two labels to describe the selection box (also each 2 columns) I then added a large table (10 columns) Finally, I added another label of 2 columns, defined after the tableBecause there are still 3 columns free after the combination of 4 widgets (2x selection and 2x label), AIMMS will place the final label not below the table, but still on the first row, behind the other widgets as you can see in the image below: Is it possible to work with ‘spacer’ widgets to ensure a certain logical placement of the widget? How can I ensure in the webui
Hello Community! We recently released AIMMS 4.75 which packs quite a punch and is feature-rich!We would love to hear your feedback on all the WebUI features and are curious to hear more about the Grid Layout.Creating a layout in the WebUI and arranging widgets is a somewhat time-consuming task. We believe the Grid Layout will save you time and also bring consistency in the way your application looks. Some of the features that are available in the grid layout are:10 standard layouts to choose from. Select a layout and just assign widgets areas. No need to size widgets anymore. The fit and adjust in the areas when assigned. Fits in a lot more resolutions. Moving towards responsiveness. Tablet friendly. Ability to create custom layouts, in case the standard layouts do not suffice. Centered layouts which eliminate defining a max columns.Here are some useful links to get started:Grid Pages - https://manual.aimms.com/webui/webui-grid-pages.html Creating Custom Layouts - https://manual.aimms.
I have a resolution type of issue in the WebUI. I have a linechart with 168 elements on the x-axis (all hours of the week), on a linechart of 12 colums. The data is visible in the chart, but the axis labels won't be displayed. If I reduce the number of x-elements to 150, the labels are visible again.I have tried modifying the element text of my domain set to a string parameter which only has a value every nth element, but that does not solve the issue.Is there a way in which I can show at least some labels on my x-axis when the widget size is insufficient to display them all?Thanks!
We’ve added a new page in documentation that outlines the various elements in the WebUI and what features each of them support. This gives a quick overview of the different features available in WebUI for data widgets, supporting widgets, UI components and different pages. Each feature is also linked to the respective topic for easy navigation. Check it out now: https://manual.aimms.com/webui/feature-alignment.html
Hi, For some time now we have been struggling with communicating error, warning, and info messages to the end users. We tried working with the dialogs (webui::requestPerformWebUIDialog) but found that unsatisfying because you have to be careful with the asynchronous workflow in the webui and you can not request a dialog when the user has a dialog open. So we tried to abuse the raise warning mechanism, only to discover the dark blue message displayed in developer mode (see screenshot) does not show in end-user mode. My question is: What's the best practice for communicating a simple message to the user? Like "Data saved”, "Order .. added, or "Invalid entry in field ...”. Thanks for your idea's!! --- Ps. Perhaps I'm looking for something like the good old WinUI dialogMessage()
AIMMS WebUI has evolved over the years based on new insights and customer demands. As a result, UIs developed using older versions of AIMMS need to be adapted to work with modern versions of AIMMS. This article covers changes in functionality of AIMMS WebUI and how to convert your UI to adapt to use these changes in your applications. Before you start Save a copy of your project before you start upgrading. A good practice is using a source code management (version control) system. Read more...
In 4.72 we introduced an experimental feature to allow you to detect the current page an end user is on. This was announced as WebUI State Support. We are introducing the CurrentPageID for WebUI feature so modelers can benefit from the location (i.e. current page/browser tab) of the user of the application and adjust e.g. the workflow accordingly or run specific validation routines. Initially, this will also be offered as an Experimental Feature so we can get feedback on the behavior. For more information see the documentation. Any experience/feedback you can share?
Already have an account? Login
Please use your business or academic e-mail address to register
Login to the community
No account yet? Create an account
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.