I have created a UX app in TRIRIGA, and I’m routing a page, but it’s giving me an error while loading the routed page. It’s showing an undefined data source. I have created the data source in TRIRIGA, but I’m still getting the following error:
I would like to know if it is possible to use a UX login template, created as a UX view and accessed with the WebViewSync.jar, as the ALTERNATE_INDEX_HTML. Currently, I have this configuration in the TRIRIGAWEB.properties:
- ALTERNATE_UX_LOGIN_VIEW: cstMeetingRoomsManagerViewAutoLogin
I would like to use the same login page in both places, accessing classic TRIRIGA normally, and also accessing a UX application. Can I set something like this?
- ALTERNATE_INDEX_HTML: cst-meeting-rooms-manager-autologin.html
- ALTERNATE_RESOURCE_DIRECTORY: /root/tririga/p/web
Currently, TRIRIGA does not support using a UX login view as the ALTERNATE_INDEX_HTML. That’s because of the dependency from UX views to Polymer libraries and UX components.
[Admin: To see other related posts, use the Alternate tag.]
I have a couple of software development life cycle (SDLC) questions about Perceptive apps using the TRIRIGA UX Framework:
- How do you export changes to Perceptive app components from one environment to another, without exporting the whole application? Example components include web view files and data sources. Currently, if we only change and test a data source or web view in Dev, we cannot figure out how to export them from the Dev environment and import them into the system integration testing (SIT) environment.
- How do you add an existing data source to an existing model? We only found an Add button to add a new data source. We would like to associate a pre-defined data source to a model.
TRIRIGA currently supports exporting of the whole app, so you cannot export only a data source. For web view files, you have the option to use the WebViewSync tool to pull the files from one environment and push them into another.
About adding an existing data source, the data sources were designed to be part of a model and that’s why there is no button to add an existing data source to a model. However, you can manually associate them by using the Association tab.
[Admin: To see other related posts, use the UX Framework tag.]
I have a problem. I have developed a UX app for a client, but it is totally necessary that the session is kept alive. I have tried different ways to do it, but I haven’t had any success. So I came here a little bit desperate, looking for new ideas to try.
- (1) First Solution: Using <triplat-login> into the application. The login control was developed as follows… Normally, the application reconnects automatically and correctly. But sometimes it doesn’t, and it returns to the login webpage or gets stuck. So this solution is not valid.
- (2) Second Solution: Using alternative UX login webpage. The next solution was working with the alternative login webpage for UX applications, because the problem of the first solution was that it sometimes returns to the login webpage… When the application returns to the alternate UX login page, it normally reconnects correctly. But sometimes it doesn’t, and it returns an error into the console…
- (3) Third Solution: Force logout and login again. The third and last solution was a mix of the previous two solutions, but also adding the <triplat-signout-button>… This solution has the same problem as the second solution. Normally, it works. But sometimes it returns an error…
Sorry for the very long text. Any new ideas to try?
Have you tried to increase the HTTP session timeout?
[Admin: This post is related to the 04.20.17 post about setting the TRIRIGA session expiration warning in the portal. To see other related posts, use the Timeout tag.]
I noticed a problem with the <triplat-graphic> component recently. I created a dialog to show the floor plan. The first time I open the graphic, it displays correctly. But if I close the dialog and open it again, the graphic becomes very small. I have attached a screenshot of the first time and second time I opened the dialog. Can you explain why this is happening?
In Space Assessment, when creating a new assessment, I want to be able to save the floor plan on <triplat-graphic> as a PDF. Is it possible to do so?
There is no TRIRIGA UX feature to export a floor plan to PDF at the moment. One possible way of doing this is to create a page containing only the floor plan and use the browser (for example, Chrome) to export the page to PDF…
Is it possible to add attachments in the Space Management app? For example, if I click a button on the website, then a form opens for me to choose some file from my local PC. Then I can upload the file to the server. I can also check the file later. If it’s possible, which component should I use?
Yes, it is possible. Use the <triplat-file> component available for the UX Framework. It is used for uploading, downloading, and displaying binary files. You can read more on the <triplat-file> and other components from the documentation pages on your TRIRIGA server: http[s]://[tririga-hostname:port][/context_path]/p/web/doc.
The <triplat-file> component was introduced in TRIRIGA 10.5.2. Here is a link to the release notes. Some UX apps that are currently in development for a future release will make more use of this component, for example, to upload images or photos on comments.
[Admin: This post is related to the 03.08.16 post about modifying the Space apps, and the 12.21.16 post about Space Assessment documentation.]