How to show a maintenance page when mendix app is down
↧
How to show a maintenance page when mendix app is down
↧
redirecting to page URL after SAML/SSO login?
I have a URL /mypage configured to a page in my app. When I give this URL to a user https://myapp.com/p/mypage .. the user rightfully gets redirected to SSO login page but instead of going to /mypage the user lands on home page of the app. How do I configure SAML module to honor /p handler and get it to /mypage after user logs in.
↧
↧
Show Maintanence screen for Deep links
Hello All, I have an application and we have a custom maintanance screen. Once the admin enable the Application is Under Maintenance boolean value, the maintanance screen will be displayed to all the users. Admin can flip it back once the maintanance is over. I have handled this by adding logic in the microflow of default home page. And all working good. Now the problem is we have deep links. While users are trying to access through deep links they received from the mails, they are able to access the application. How can I redirect deep link also to maintenance screen? =============Update================= I do have page URLs with Id as paramenter also in the application as below. Is this can be controlled?
↧
OCR Module in PWA Offline Applications
Hi all, I would like to know if it is possible to use OCR within a PWA offline application. I am aware of the Tesseract OCR module and was considering using it, but I am unsure if it can function without an internet connection. Does anyone have any ideas or suggestions on how I could achieve this? Thanks in advance!
↧
Navigation to Web targeted page from Native app
Hi, I want to navigate from a native application to a specific web page of the same app. However, the issue is that instead of landing on the intended page, the user is redirected to the login page of web app. Ideally, when the user navigates to the web page, they should be automatically logged into the web app, but currently, they are being taken to the login page instead. I have created java action to logging to web app also tried using the marketplace module 'Login' but it all takes to the login page and does not automatically log user into the app. Thanks in advance
↧
↧
Removal off deployment folder error
Hi, Sometimes I want to throw away my deployment folder because I want to start fresh. In the past the clean deployment folder did not work so now I remove the deployment folder entirely. Even if I have shut down studio pro this folder gives me an error that a file is still being used. I've noticed that I need to terminate node.js and watchman and most of the times I can throw it away after that. Sometimes a file in native is being used but don't know what to kill then and the only solution is restarting my PC. Does anyone know all the files that needs to be killed and why these processes are still running even after I close studio pro?
↧
OPC Router marketplace availability
Hello, We have noticed that there is an OPC Router application for IED, as mentioned on the OPC Router website and in the Siemens documentation. However, when I search for this application in the Siemens Industrial Edge marketplace, it is not listed, and the link from the documentation page is also broken. I receive an error message stating that '3PINRAY0002 is not a valid product.' Can anyone explain why these third-party apps are being marketed but are not available for purchase on the Siemens marketplace? https://www.opc-router.com/opc-router-and-siemens-industrial-edge/ https://docs.industrial-operations-x.siemens.cloud/r/en-us/industrial-edge-platform-operation-intro/build-your-use-case/edge-apps-overview/o/opc-router-enterprise-edition-by-inray-industriesoftware-gmbh Thanks. Best regards, Petr
↧
Export a file in .xlsx format
Olá a todos. Quero exportar um modelo de conjunto de dados no formato .xlsx e o arquivo formatado da mesma forma que a imagem. Alguém que já trabalhou com isso pode me ajudar?
↧
How to rectify the "JAVA action complilation" error coming during importing the ''Microflow Scheduled Event Manager Module'' from version 9.24.16 to version 10.12.0?
Since this module is not available for Mendix Version 10. I downloaded it in version 9.24.16 and exported from there. Then tried to import it in version 10.12.0 and run the application(in V10.12.0). But it is throwing the following error: C:\Users\Acer\Mendix\Advance Pagination_ZHO-main\javasource\scheduler\actions\AquireAdministrativeLock.java:79: error: cannot find symbol context.rollbackTransAction(); ^ symbol: method rollbackTransAction() location: variable context of type IContext C:\Users\Acer\Mendix\Advance Pagination_ZHO-main\javasource\scheduler\actions\GetApplicationSettings.java:46: error: cannot find symbol context.rollbackTransAction(); ^ symbol: method rollbackTransAction() location: variable context of type IContext C:\Users\Acer\Mendix\Advance Pagination_ZHO-main\javasource\scheduler\impl\ScheduledJob.java:47: error: cannot find symbol context.rollbackTransAction(); ^ symbol: method rollbackTransAction() location: variable context of type IContext Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 3 errors FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':compile'. > Compilation failed; see the compiler error output for details. * Try: > Run with --scan to get full insights. BUILD FAILED in 5s
↧
↧
Streaming Excel module skips empty rows in xlsx file, so the app cannot get the physical rows number.
Streaming Excel is very lightweight and fast and works well in our app. However, it skips empty rows in the xlsx file, so the app can't get the physical row number of each row. I know this is because POI XSSF Eventmodel skips empty rows in xlsx files. But this is bothering us because our app needs to tell the user exactly which row in the xlsx the data came from. In the POI XSSF Eventmodel, you can get the exact physical row number by using attributes.getValue("r") in 'case "row"' in the startElement method of DefaultHandler. Therefore, I think that the physical row number obtained here can be inserted as the first column just before adding the row data to the row buffer in ''case "row"' in the endElement method. Of course, it would be good to make this function selectable as an optional function with a flag parameter. I have implemented this modification in our app and confirmed that it works well, but I hope that it will be adopted as a standard in the Streaming Excel module. How about you guys? I would be happy if the author Taner san sees this post and agrees with it.
↧
Issue with Opening 'Opcenter Execution Foundation Starter Kit' Application
Hi Team, I recently downloaded the latest version of the Opcenter Execution Foundation Starter Kit application from the following link: https://marketplace.mendix.com/link/component/208792 The application is running on Mendix version 10.12.9. However, after running the application, clicking on "View App" does not open the app in the browser. I am using the built in database for my app Could someone please assist me in resolving this issue?
↧
How to usee API to send emails and emails with attachments
How to usee API to send emails and emails with attachments
↧
The server failed to start. How do I fix this issue?
I removed my app from my one drive and the issue still persist
↧
↧
Excel template is provided to download it and upload the file in our application, once user uploads a excel template few columns which have chars and numbers is converting by excel and the same converted is data is getting disaplyed in the Dashboard
Excel template is provided to download it and upload the file in our application, once user uploads a excel template few columns which have chars and numbers is converting by excel and the same converted is data is getting displayed in the Dashboard, How to change the format of excel. So that user can download correct format and upload template with correct format.
↧
Microflow Scheduled Event Manager
I could see Microflow Scheduled Event Manager has been disconnected from Mendix Studio Pro version 10. Is there any other alternative module that could be used in instead. Thanks in advance. EDIT: While trying to run locally, it shows compilation error. Can you help how to resolve that since there are no new versions to update the module??
↧
Mapping entity
Hi, I just want to ask about mapping. I have already checked the following entities in data migration for import and export mapping, but every time I test it in the application, it always says "ERROR, please contact the system administrator" or something similar. Could you please correct this? does it have something to do with the microflow?
↧
Unknown Widget Error in React custom widget
// 1. ChoroplethMap.jsx
import { createElement, useRef, useEffect, useState } from "react";
import * as d3 from "d3";
import "../ui/ChoroplethMap.css";
export function ChoroplethMap({ jsonData }) {
const mapRef = useRef();
const [tooltip, setTooltip] = useState({ visible: false, x: 0, y: 0, data: null });
useEffect(() => {
const width = 660;
const height = 600;
d3.select(mapRef.current).select("svg").remove();
const svg = d3.select(mapRef.current).append("svg").attr("width", width).attr("height", height);
const color = d3
.scaleThreshold()
.domain([10, 50, 100, 500, 1000, 5000, 10000])
.range(["#f2e5ff", "#d9b3ff", "#bf80ff", "#a64dff", "#8c1aff", "#7300e6", "#5900b3", "#400080"]);
d3.json("https://raw.githubusercontent.com/adarshbiradar/maps-geojson/refs/heads/master/india.json")
.then(india => {
if (!india || !india.features) {
throw new Error("Invalid GeoJSON format: 'features' not found");
}
const sampleData = JSON.parse(jsonData);
const dataMap = {};
sampleData.forEach(d => {
dataMap[d.state] = {
sarfesiCount: d.sarfesiCount || 0,
chequeBounceCount: d.chequeBounceCount || 0
};
});
india.features.forEach(d => {
const stateData = dataMap[d.properties.st_nm] || { sarfesiCount: 0, chequeBounceCount: 0 };
d.properties.sarfesiCount = stateData.sarfesiCount;
d.properties.chequeBounceCount = stateData.chequeBounceCount;
});
const projection = d3
.geoMercator()
.scale(1000)
.center([78.9629, 22.5937])
.translate([width / 2, height / 2]);
const path = d3.geoPath().projection(projection);
svg.selectAll(".state")
.data(india.features)
.enter()
.append("path")
.attr("class", "state")
.attr("d", path)
.attr("fill", d => color(d.properties.sarfesiCount))
.attr("stroke", "#aaa")
.attr("stroke-width", 0.5)
.on("mouseover", function (event, d) {
d3.select(this).attr("opacity", 0.8);
setTooltip({
visible: true,
x: event.clientX,
y: event.clientY,
data: {
name: d.properties.st_nm,
sarfesiCount: d.properties.sarfesiCount,
chequeBounceCount: d.properties.chequeBounceCount
}
});
})
.on("mousemove", function (event) {
setTooltip(tooltip => ({
...tooltip,
x: event.clientX,
y: event.clientY
}));
})
.on("mouseout", function () {
d3.select(this).attr("opacity", 1);
setTooltip({ visible: false, x: 0, y: 0, data: null });
});
})
.catch(error => {
console.error("Error loading GeoJSON:", error);
alert("Error loading the map data.");
});
}, [jsonData]);
return (
;
}
//4. LawyerMap.xml
Lawyer Map Interactive Choropleth Map using D3.js library. JSON Data Provide the JSON data for the choropleth map.
//5.package.xml
i have created a custom widget on react, but when i am using it is showing me this error whyy ???? code has no problem
{tooltip.visible && (
);
}
//2. LawyerMap.editorPreview
import { createElement } from "react";
export function preview({ jsonData }) {
return {tooltip.data.name}
SARFAESI:{" "} {tooltip.data.sarfesiCount}
ChequeBounce:{" "} {tooltip.data.chequeBounceCount}
)}
SARFAESI:{" "} {tooltip.data.sarfesiCount}
ChequeBounce:{" "} {tooltip.data.chequeBounceCount}
Choropleth Map Preview
;
}
export function getPreviewCss() {
return require("./ui/ChoroplethMap.css");
//3. LawyerMap.jsx
import { createElement } from "react";
import { ChoroplethMap as MapComponent } from "./components/ChoroplethMap"; // Avoid name conflict
import "./ui/ChoroplethMap.css";
export function ChoroplethMap({ jsonData }) {
return ↧
↧
Performance Issues with huge OQL tables & filters
Hi everyone, in our App we are often required to show 200-300 objects in a table or gallery (kanban board for example) and have advanced filters options that go beyond just simple text searches in a column (e.g. searching for an attribute in an associated object). In order to make that possible we use an OQL query as a string, that gets updated depending on the set filters by the user. When redirecting from that page (by clicking on a row or an object of the result) the page is increasingly slow, due to many non-persistent objects loaded in the cache/runtime. This has to do with the retrieval via the OQL. The redirection and overall performance of those tables/views have gotten so slow, that we have to do somthing about it. Anyone with a similar problem or different approach how to handle those types of overview pages with advanced filtering? Any suggestion is appreciated! BR Markus
↧
Databus "Application Not Available" Page Issue
We are trying to install and use Databus and Databus Configurator applications with our IEM and IEDs. However, we are unable to reach to the interface of “Databus Configurator” on IEM. Also, we couldn’t find any additional information about this issue on the documentation. We would like to reach below interface given below This is the image from the documentation which we would like to reach This picture represents what we get Databus Configurator: V 2.2.0-4 Databus: V 2.2.0-3 IEMA Version: 1.13.10 If you need any additional information, please feel free to ask us. Thanks in advance for your help.
↧
Save Default Filter in DataGrid 2 (Equal, not equal, contains etc)
Hey Mendixer, is there a way to save the Default Filters in Datagrid 2 ? So when the User use the Equal Filter, the value should be saved and when he/she comes back to the Page, the Equal Filter should be there again. We already implemented that a User can save the Search Values & Column Width. Search Values can be saved by default Value. Column Width in the Tab Personalization → Configuration → Attribute. In this Attribute is this string value : f Would it maybe be possible to save the Default Filters somewhere here? Best Regards
↧