Quantcast
Channel: Mendix Forum Questions
Viewing all 83469 articles
Browse latest View live

How to create a microflow for searching and filtering depending on dates imported from excel sheet?

$
0
0
Why does this microflow not work?

Resizing textbox

$
0
0
Hello Everyone,   I have to make the size of highlighted textbox equal to size of other text areas shown for (References,etc) ... How to do this as I have apply custom css ?

Done before?

$
0
0
I need a funtion to compare text/html fragments, Did someone work with tools like https://github.com/wickedest/Mergely

Master/Detail: How to make arrow button functional?

$
0
0
I am using the standard Master/Detail page template (Studio pro beta 2): The list view on the left provides a selection, to which the data view on the right is listening. Clicking on a list view item changes the detail view. So far, so good. However, it does not work when the user clicks on the > Button. Clicking on the button does not propagate to the list view, so the selection does not change. How would one fix the button? I see that the onClick handler in the mendxui immediately calls `stopPropagation` on the event – which explains the observed issue. Using plain JS, I would just not stop propagation. Another solution would be to manually change the selection model in the onClick action. How would one do that? Are there other options? This also seems like a bug in the page template. Should I just wait until it is fixed (where to report)?

Logout in microflow

$
0
0
Hi everyone, How can you logout the current user in a Microflow? Greetings  Jonas

Do you use 32-bit Windows?

$
0
0
Hello all, Do you use a 32-bit version of Windows to run the Desktop Modeler on?  In April 2015, we added 64 bit support to the Modeler but we still supported 32 bit, too. Supporting 32 bit costs us time and it increases the size of a Modeler installation by 130MB so, if possible, we would like to get rid of it. My question to you is: do you still rely on 32 bit support? Thanks Update: In Mendix 8, Studio Pro only supports 64 bit Windows. The Modeler in Mendix 7 still runs fine on 32 bit Windows and will be supported for a long time.

Error: 'Attribute cannot have write rights'

$
0
0
Hello everyone, I have one small issue and i cant fix it. I have an entity with some attributes and one of them is attribute called ‘Number’ and the type of that attribute is ‘Autonumber’.  When i want to publish my app, the error occurs like below: “Attribute ‘Number’ cannot have write rights because it is an auto-generated number’.  Do you guys know how to solve this problem?  

Problems at implementing TabSwitcher widget from App store

$
0
0
Unfortunately, I couldn’t complete to implement the TabSwitcher widget from App store. Could you please say me what my mistake is?  These are the relevant screenshots of the project – I thought I’ve implemented it as described in the documentation of the widget. But as it seems I did not. What have I configured incorrectly? Maybe the TabIndex fields within the tabs?  That’s the input page:  Do you need any further screenshots or information?  Best regards, Robert

Component bundles are not loaded

$
0
0
Hi, has anyone ever had the error "Component bundles are not loaded" when you run the version 5.1.1 of the modeler? If there's a solution to this please help. This happens every second time when I try to run the modeler after making changes to the project. The log node is M2EE and the message is Component bundles are not loaded. Thanks.

Custom d3 tree widget, Tree click option is not working

$
0
0
The below one is set of my piece of code , when i use this code in tree widgets first level of child only displaying and after that i cant able to expand the next child and also next levels are not expanding.         I am mentioning my code here : can any one help me how it will work    function (declare, _WidgetBase, _TemplatedMixin, dom, dojoDom, dojoProp, dojoGeometry, dojoClass, dojoStyle, dojoConstruct, dojoArray, lang, dojoText, dojoHtml, dojoEvent, _jQuery, widgetTemplate, d3) { "use strict";   // var $ = _jQuery.noConflict(true);   var d3 = window.d3;   // Declare widget's prototype. return declare("Mxwidget.widget.Mxwidget", [_WidgetBase, _TemplatedMixin], { // _TemplatedMixin will create our dom node using this HTML template. templateString: widgetTemplate,   body: null, widgetBase: null,   // Internal variables. _handles: null, _contextObj: null,   constructor: function () { this._handles = []; },   postCreate: function () { // logger.debug(this.id + ".postCreate"); },   update: function (obj, callback) { logger.debug(this.id + ".update");   this._contextObj = obj; this._updateRendering(callback); if (typeof callback !== "undefined") { callback(); }   var margin = { top: 20, right: 120, bottom: 20, left: 120 }, width = 960 - margin.right - margin.left, height = 800 - margin.top - margin.bottom;   var root = { "name": "Top Level", "parent": "null", "children": [ { "name": "Level 2: A", "parent": "Top Level", "children": [ { "name": "Son of A", "parent": "Level 2: A" }, { "name": "Daughter of A", "parent": "Level 2: A" } ] }, { "name": "Level 2: B", "parent": "Top Level" } ] };   var i = 0, duration = 750, rectW = 100, rectH = 50; var zm; var tree = d3.layout.tree().size([1000,700]); var diagonal = d3.svg.diagonal() .projection(function (d) { return [d.y + rectW / 2, d.x + rectH / 2]; });   var svg = d3.select("body").append("svg").attr("width", 1000).attr("height", 1000) .call(zm = d3.behavior.zoom().scaleExtent([1, 3]).on("zoom",redraw)).append("g") .attr("transform", "translate(" + 350 + "," + 20 + ")");   //necessary so that zoom knows where to zoom and unzoom from   zm.translate([350, 20]); root.x0 = 0; root.y0 = height / 2; var my = 0;   function collapse(d) { console.info("hello my ") if (d.children) { d._children = d.children; d._children.forEach(collapse); // d._children.forEach(lang.hitch(this,function(i){this.collapse(i);})); d.children = null; } } root.children.forEach(collapse); update(root);   d3.select("body").style("height", "800px");   function update(source) {   // Compute the new tree layout. var nodes = tree.nodes(root).reverse(), links = tree.links(nodes);   // Normalize for fixed-depth. nodes.forEach(function (d) { d.y = d.depth * 180; });   // Update the nodes… var node = svg.selectAll("g.node") .data(nodes, function (d) { return d.id || (d.id = ++i); });   var tem1; // Enter any new nodes at the parent's previous position. var nodeEnter = node.enter().append("g") .attr("class", "node") .attr("transform", function (d) { tem1 = d; console.info("AADHI"); return "translate(" + source.y0 + "," + source.x0 + ")";}) .on('click', lang.hitch(this,function(d) { // block collapse & expand behavior when onClickMF is defined if (!this.onClickMF){ this._click(d); } }));   nodeEnter.append("rect") .attr("width", rectW) .attr("height", rectH) .attr("stroke", "black") .attr("stroke-width", 1) .style("fill", function (d) { return d._children ? "lightsteelblue" : "#fff"; }).on('click', lang.hitch(this,function(d) { // block collapse & expand behavior when onClickMF is defined if (!this.onClickMF){ this._click(d); } }));   nodeEnter.append("text") .attr("x", rectW / 2) .attr("y", rectH / 2) .attr("dy", ".35em") .attr("text-anchor", "middle") .text(function (d) { return d.name; }).on('click', lang.hitch(this,function(d) { // block collapse & expand behavior when onClickMF is defined if (!this.onClickMF){ this._click(d); } }));   // Transition nodes to their new position. var nodeUpdate = node.transition() .duration(duration) .attr("transform", function (d) { return "translate(" + d.y + "," + d.x + ")"; });   // var nodeUpdate = node.attr("transform", d => "translate("+ d.y + "," + d.x + ")").transition().duration(duration);   nodeUpdate.select("rect") .attr("width", rectW) .attr("height", rectH) .attr("stroke", "black") .attr("stroke-width", 1) .style("fill", function (d) { return d._children ? "lightsteelblue" : "#fff"; });   nodeUpdate.select("text") .style("fill-opacity", 1);   // Transition exiting nodes to the parent's new position. var nodeExit = node.exit().transition() .duration(duration) .attr("transform", function (d) { return "translate(" + source.y + "," + source.x + ")"; }) .remove();   nodeExit.select("rect") .attr("width", rectW) .attr("height", rectH) .attr("stroke", "black") .attr("stroke-width", 1);   nodeExit.select("text");   // Update the links… var link = svg.selectAll("path.link") .data(links, function (d) { return d.target.id; });   // Enter any new links at the parent's previous position. link.enter().insert("path", "g") .attr("class", "link") .attr("x", rectW / 2) .attr("y", rectH / 2) .attr("d", function (d) { var o = { x: source.x0, y: source.y0 }; return diagonal({ source: o, target: o }); });   // Transition links to their new position. link.transition() .duration(duration) .attr("d", diagonal);   // Transition exiting nodes to the parent's new position. link.exit().transition() .duration(duration) .attr("d", function (d) { var o = { x: source.x, y: source.y }; return diagonal({ source: o, target: o }); }) .remove();   // Stash the old positions for transition. nodes.forEach(function (d) { d.y0 = d.y; d.x0 = d.x; }); }   // Toggle children on click.   console.info("passed function click(d)")   //Redraw for zoom function redraw() { console.info("redraw = "+ d3.event.translate + " " + d3.event.scale) svg.attr("transform", "translate(" + d3.event.translate + ")" + " scale(" + d3.event.scale + ")"); } },   resize: function (box) { logger.debug(this.id + ".resize"); },   uninitialize: function () { logger.debug(this.id + ".uninitialize"); },   _updateRendering: function (callback) { logger.debug(this.id + "._updateRendering");   dojoStyle.set(this.domNode, "display", "block");   this._executeCallback(callback, "_updateRendering"); },   _click: function(d) { console.info("passed custom function click ") if (d.children) { d._children = d.children; d.children = null; } else { d.children = d._children; d._children = null; } update(d); },  

Range Search Field related

$
0
0
I have created DateSearch as non persistent entity having attributes start date and end date. I want to use range search field to retrieve dates between two dates. How to provide upper bound and lower bound for this??   This is my domain module and I want to retrieve dates from user entity.

AnyChart update from version 1.1.1 to 1.2.0

$
0
0
I need to use the newest Plotly version. In order to do that, I tried to update AnyChart from version 1.1.0 to 1.2.0, but I cannot do it from the Mendix Modeler and by placing AnyChart_BuildingBlocks.mpk manually. Doing a deeper investigation, the package.xml at AnyChart.mpk (available at AnyChart_BuildingBlocks.mpk) claims to be version 1.1.1 (instead of 1.2.0). How should I proceed to update update Plotly version? Just by AnyChart update? When the AnyChart version will be available? Here follows some screenshots.

How to configure my mendix application to point it to SQL Server locally?

$
0
0
Hi all, I have an application running locally (which uses HSQLDB as default database). Now I want to change the database to MS SQL Server. I tried it by adding new database connection under configurations in Project Settings. But, somewhere I am missing the configuration. I know that we have some static configuration to connect with MS SQL Server. Can anyone please provide me the configuration. Thank you.

Videoplayer Apple devices

$
0
0
Which (videoplayer) widget works on Apple devices? Iphone. Currently im using  the widget “videoplayer” but the video's do not play.

Is there a way to show the caller why a Rule returns False

$
0
0
Rules are very useful for implementing all kinds of business-rules. Is a customer creditworthy? Is the order allowed? Is this person allowed to use this tool?  The only thing missing is when the rule returns False. When False is returned the caller usually want to know “for what reason is it False?” Is there any way to get more information returned from a Rule?

Unable to sort columns in data grid

$
0
0
Hello, Is anyone having the problem where you are able to sort some columns but not others in a data grid. I have a random selection of columns which are unable to sort and i cant work out why this is

How to connect an existing SQL database?

$
0
0
Hello, I've created a database in SQL Express 2008. I would like to connect it to my app. For example the database is about a hotel, and I want to share the tables to the app, also if I'll complete records in the app the table in SQL database to be updated and saved. How can I do this?

Connecting to an External Database

$
0
0
Is it possible to connect to an external database from mendix?

File browse look

$
0
0
Hi, I’m trying to make file browse look different than default. Any ideas how to make it look different, because css doesn’t have any effect on it on mobile devices, only in browser ?  

How to call views created in SQL Server from Mendix application?

$
0
0
Hi all, I have created some views in MS SQL Server Database. Now I want to access them from my application. How can I do that? Please help me. Thank you.   - Venkat
Viewing all 83469 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>