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

How to change the styling of chart js from filled graphs to just lines?

$
0
0

Hi guys,

 

I am making use of the ChartJS module and want a simple css change.

I just need to show  the lines, without filled colors on the graph ...

 

Since I am not familiar with mendix widgets, and just know that it is a mix of html css javascript... When I inspect it is a canvas so totally no idea how do this...

Anyone an idea?


Scheduled events do not take daylight saving time into account

$
0
0

Hi all,

 

Last weekend in the netherlands daylight saving time started, which means the clock moved back an hour. However, the scheduled event still runs at the same time it previously ran. The scheduled event was set to server time and UTC does not observe daylight saving time.

This scheduled event sent a push notification at 10 o'clock in the morning. If it suddenly arrives at 11 o'clock would be strange for our users. So my question is: How do I make sure the scheduled events take daylight saving time into account?

Serialise JSON in REST call using the "Call Rest" action

$
0
0

Is there a way to see the JSON being submitted while using the Rest action within Mendix 7

 

I am trying to submit the following JSON string via post

{"key": "sfdsdfsdfsdfds"
}

Within the action I interpret it as  where index 1 is the $Key string value.

"key":"{1}"

 

The response i get, however is: 

{"status":"error","code":-1,"name":"ValidationError","message":"You must specify a key value"}

Debug shows the $Key variable is populated correctly. 

 

I would like to see the actual JSON being submitted so that I can see what the exact problem is. 

Drop Down Search Field - Mystery

$
0
0

I have a datagrid displaying several attributes.

  • One of these attributes is from an associated entity - lets say that the datagrid is orders and the associated entity is customer
  • In the datagrid, customer name is displayed with no problem
  • When I add a Comparison search field to the datagrid pointing to Customer Name, I can successfully search using part or all of the customer name.
  • However, when I add a drop down search field to the datagrid pointing to Customer Name, there are no values in the drop down.

I have tried several different things to resolve this, and can't seem to figure it out. Hopefully, someone in the forum will be able to spot my (stupid) error.

Does Mendix support Azure SQL Database?

$
0
0

We are working with Mendix 7 and want to deploy an application to Azure, using Pivotal Cloud Foundry. 

For datastore we want to use Azure SQL Database. 

The documentation (https://docs.mendix.com/refguide5/system-requirements#SystemRequirements-Databaseserver) does not specifically mention this database, but is toes mention SQL Server and higher. Both MS SQL environments resemble a lot, but have distinct differences as discussed here (https://docs.microsoft.com/en-us/azure/sql-database/sql-database-cloud-migrate). 

My queston is: Is Azure SQL database currently supported, and if not, what is estimated timeframe it will be? 

Filter entities based on selection on previous page

$
0
0

 

I've created a page with a listview of Proces entities. With OnClick, it'll open a page that should list all the services from that specific proces. That page will in turn open a page with Servicepakket from the selected Service, etcetera.

This is my microflow. It passes Proces to the next page.

What can I change to the microflow? And how should I set up the next page such that I only see services from proces A instead of from proces A, B, and C?

Xpath Question - Process Core

$
0
0

I'm trying to create a microflow that I can then select from a particular reference selector but I'm not getting the correct input parameter.

 

[MxModelReflection.Microflows_InputParameter/MxModelReflection.Parameter/MxModelReflection.Parameter_MxObjectType/MxModelReflection.MxObjectType/ProcessCore.Process_MxObjectType_ProcessInstance/ProcessCore.Process/ProcessCore.Condition_Process = '[%CurrentObject%]']

 

What exactly is this asking for?

 

 

Mendix Marquee Scroller

$
0
0

Hi

I am new to Mendix development. 

I have downloaded the Marquee Scroller but can not work out how to add the data source. Please can you help?


What is the 'ProfileData' that is send when the KeepAlive function is called?

$
0
0

Our PEN-tester has requested information about the KeepAlive function that is called within our Mendix App.

In particular, he wants to know what the 'profiledata' involves and to what extend this information can be considered sensitive.

 

Thanks in advance.

 

 

Data snapshot on Cloufoundry (Bluemix)

$
0
0

Hi all, 

We are currently experimenting with CloudFoundry on IBM Bluemix and running into trouble getting the data snapshot to work. 

According to the documentation of the build pack https://github.com/mendix/cf-mendix-buildpack#configuring-custom-runtime-settings, it should be possible to use the data snapshot included with the MDA with setting environment variable USE_DATA_SNAPSHOT to "true".

When I run the ​app however, the DB is completely empty (when running local data is available).

Storage and DB services are connected to the app.

Anyone who knows how I might get this to work?

Changing cache TTL when running in the MendixCloud

$
0
0

Is it possible to configure the local cache TTL when running within the MendixCloud? Currently is set to a year if my math is correct.

The driving force behind this is that as I continue to develop my application, I will inevitably add a new widget, which a frequent user's local cache will not have, thus giving the "no connector" message. I know I can't avoid this entirely, but reducing the cache time to something more reasonable would be hugely beneficial.

Why I am not able to download the reports?

$
0
0

Hi,

In my application, I have reports generating from dataset using report charts. Here I placed the report chart in the Dataview. And I am able to filter the reports using the dropdowns. The reports are coming. But when I try to print my screen using Print Screen to PDF widget, the downloaded file having only the data part. It is not giving the reports into the pdf file. Below Images are the screen and downloaded file. 

 

Can I use any other tool for this?? 

 

 

connection error

$
0
0

i have pushed my app on  cloud foundry,using rest api in microflow.but when i hit the api it shows connection error

consume Complex soap service - using file

$
0
0

Hi,

 am to access SOAP service  by passing file instead of WSDL.

How to reterview the output of the service and associate it to a screen?

 

Many Thanks in Advance

Nanda

Lock on Mendix project

$
0
0

Hi,

I am constantly getting error on opening up my project in modeler: the working copy file is locked by my id, SharpSvn.SvnWorkingCopyLockException: .

The project is not open in any other system, i have tried closing all mendix apps and rebooting the system.

Suprisingly, i am able to open the project in modeler from another system but not on the system where i actually started developing it.

Can anyone help me resolve this?


Project Locked SVN Issue

$
0
0

SharpSvn.SvnWorkingCopyLockException: Working copy 'D:\Users\xxxxx\Documents\Mendix\Project name' locked. ---> SharpSvn.SvnWorkingCopyLockException: 'D:\Users\xxxxx\Documents\Mendix\project name' is already locked. --- End of inner exception stack trace --- at SharpSvn.SvnClientArgs.HandleResult(SvnClientContext client, SvnException error, Object targets) at SharpSvn.SvnClient.Update(ICollection1 paths, SvnUpdateArgs args, SvnUpdateResult& result) at SharpSvn.SvnClient.Update(String path, SvnUpdateArgs args) at Mendix.Modeler.VersionControl.SvnConnector.ClientDo[T](Func2 action) in C:\jenkins\workspace\AppStudio-Modeler\src\Mendix.Modeler.Core\VersionControl\SvnConnector.cs:line 136 at Mendix.Modeler.VersionControl.RevUpdater.SvnUpdate(RevUpdateState state, IProgressInfo info, Int64& oldRevision, Int64& newRevision) in C:\jenkins\workspace\AppStudio-Modeler\src\Mendix.Modeler.Core\VersionControl\RevUpdater.cs:line 236

Moving out of Mendix

$
0
0

Hi,

 New to the community; not sure, if this question is already address (apologies if repetation)

 

I want to move out of mendix, say after 2 years after using Mendix, Is it possible to retreview the app source code from  Mendix, to Java stack or .NET stack?

 

Many Thanks

Nanda

(s) Low performance on filehandling after upgrade

$
0
0

After converting an app from Mx6.6.0 to 6.10.3 (running on premise, windows with sql server db), users experience a slow performance. Simple overview pages and the upload/download/delete can take minutes.

A testrobot is executing basic functionality in the app (login,upload,search,delete) to gain performance statistics. The statistics point out that the performance of uploading a file  (using dropzone) is reduced from 1250ms to 6000ms exactly after converting to Mx6.10.3. Also deleting a file is slower (3500ms to 7000ms). The performance of the other basic functionalities stay stable, so my conclusion is that the something has changed in the filehandling in Mendix that causes to slow performance of the app. The release notes between Mx6.6.0 and Mx6.10.3 only mention performance improvements....

 

(buying and implementing an performance tool will not be a customer's choice)

 

Does anyone has experience and advice with this problem?

 

Edit: The console does not show strange behaviour during uploading multiple documents via Dropzone. The app is being moved from on-premise to Mendix cloud and there is a good chance this solved to performance issue's.

KVK API How to deserialise ?

$
0
0

Hi,

I have a problem deserialising the JSON content from the Dutch KVK Search API.

I am able to GET the body info, (See below) but not able to deserialise it in my model.

Can someone please give me a push in the right direction ?

( I have tried the KVK Module in the APP Store, that one does not seem to work anymore)

Thanks !

Onco

 

===========

The model:

The Flow:

 

 The body info:

=====================================

{
  "apiVersion": "2.0",
  "meta": {},
  "data": {
    "itemsPerPage": 10,
    "startPage": 1,
    "totalItems": 13,
    "nextLink": "https://api.kvk.nl/api/v2/search/companies?q=mendix&user_key=XXXXXXXXXX&startPage=2",
    "items": [
      {
        "kvkNumber": "24380476",
        "branchNumber": "000017452910",
        "rsin": "814621570",
        "tradeNames": {
          "businessName": "Mendix Technology B.V.",
          "shortBusinessName": "Mendix Technology B.V.",
          "currentTradeNames": [
            "Mendix Technology B.V."
          ],
          "currentStatutoryNames": [
            "Mendix Technology B.V."
          ]
        },
        "hasEntryInBusinessRegister": true,
        "hasNonMailingIndication": false,
        "isLegalPerson": false,
        "isBranch": true,
        "isMainBranch": true,
        "addresses": [
          {
            "type": "vestigingsadres",
            "street": "Gedempte Zalmhaven",
            "houseNumber": "4",
            "houseNumberAddition": "K",
            "postalCode": "3011BT",
            "city": "Rotterdam",
            "country": "Nederland"
          }
        ],
        "websites": [
          "www.mendix.com"
        ]
      },
      {
        "kvkNumber": "24379726",
        "branchNumber": "000018877206",
        "rsin": "814621296",
        "tradeNames": {
          "businessName": "Mendix B.V.",
          "shortBusinessName": "Mendix B.V.",
          "currentTradeNames": [
            "Mendix B.V."
          ],
          "currentStatutoryNames": [
            "Mendix B.V."
          ]
        },
        "hasEntryInBusinessRegister": true,
        "hasNonMailingIndication": false,
        "isLegalPerson": false,
        "isBranch": true,
        "isMainBranch": true,
        "addresses": [
          {
            "type": "vestigingsadres",
            "street": "Gedempte Zalmhaven",
            "houseNumber": "4",
            "houseNumberAddition": "K",
            "postalCode": "3011BT",
            "city": "Rotterdam",
            "country": "Nederland"
          }
        ],
        "websites": [
          "www.mendix.com"
        ]
      },
      {
        "kvkNumber": "24380474",
        "branchNumber": "000011762845",
        "rsin": "814622240",
        "tradeNames": {
          "businessName": "Mendix Holding B.V.",
          "shortBusinessName": "Mendix Holding B.V.",
          "currentTradeNames": [
            "Mendix Holding B.V."
          ],
          "currentStatutoryNames": [
            "Mendix Holding B.V."
          ]
        },
        "hasEntryInBusinessRegister": true,
        "hasNonMailingIndication": false,
        "isLegalPerson": false,
        "isBranch": true,
        "isMainBranch": true,
        "addresses": [
          {
            "type": "vestigingsadres",
            "street": "Gedempte Zalmhaven",
            "houseNumber": "4",
            "houseNumberAddition": "K",
            "postalCode": "3011BT",
            "city": "Rotterdam",
            "country": "Nederland"
          }
        ],
        "websites": [
          "www.deltalogica.com"
        ]
      },
      {
        "kvkNumber": "24449045",
        "branchNumber": "000018795676",
        "rsin": "820225782",
        "tradeNames": {
          "businessName": "Mendix International B.V.",
          "shortBusinessName": "Mendix International B.V.",
          "currentTradeNames": [
            "Mendix International B.V."
          ],
          "currentStatutoryNames": [
            "Mendix International B.V."
          ]
        },
        "hasEntryInBusinessRegister": true,
        "hasNonMailingIndication": false,
        "isLegalPerson": false,
        "isBranch": true,
        "isMainBranch": true,
        "addresses": [
          {
            "type": "vestigingsadres",
            "street": "Gedempte Zalmhaven",
            "houseNumber": "4",
            "houseNumberAddition": "K",
            "postalCode": "3011BT",
            "city": "Rotterdam",
            "country": "Nederland"
          }
        ]
      },
      {
        "kvkNumber": "24380474",
        "rsin": "814622240",
        "tradeNames": {
          "shortBusinessName": "Mendix Holding B.V.",
          "currentStatutoryNames": [
            "Mendix Holding B.V."
          ]
        },
        "hasEntryInBusinessRegister": true,
        "hasNonMailingIndication": false,
        "isLegalPerson": true,
        "isBranch": false,
        "isMainBranch": false
      },
      {
        "kvkNumber": "24380476",
        "rsin": "814621570",
        "tradeNames": {
          "shortBusinessName": "Mendix Technology B.V.",
          "currentStatutoryNames": [
            "Mendix Technology B.V."
          ]
        },
        "hasEntryInBusinessRegister": true,
        "hasNonMailingIndication": false,
        "isLegalPerson": true,
        "isBranch": false,
        "isMainBranch": false
      },
      {
        "kvkNumber": "24449045",
        "rsin": "820225782",
        "tradeNames": {
          "shortBusinessName": "Mendix International B.V.",
          "currentStatutoryNames": [
            "Mendix International B.V."
          ]
        },
        "hasEntryInBusinessRegister": true,
        "hasNonMailingIndication": false,
        "isLegalPerson": true,
        "isBranch": false,
        "isMainBranch": false
      },
      {
        "kvkNumber": "24379726",
        "rsin": "814621296",
        "tradeNames": {
          "shortBusinessName": "Mendix B.V.",
          "currentStatutoryNames": [
            "Mendix B.V."
          ]
        },
        "hasEntryInBusinessRegister": true,
        "hasNonMailingIndication": false,
        "isLegalPerson": true,
        "isBranch": false,
        "isMainBranch": false
      },
      {
        "kvkNumber": "55621600",
        "rsin": "851790252",
        "tradeNames": {
          "shortBusinessName": "Stichting Administratiekantoor ESOP Mendix",
          "currentStatutoryNames": [
            "Stichting Administratiekantoor ESOP Mendix"
          ]
        },
        "hasEntryInBusinessRegister": true,
        "hasNonMailingIndication": false,
        "isLegalPerson": true,
        "isBranch": false,
        "isMainBranch": false,
        "addresses": [
          {
            "type": "bezoekadres",
            "street": "Gedempte Zalmhaven",
            "houseNumber": "4",
            "houseNumberAddition": "K",
            "postalCode": "3011BT",
            "city": "Rotterdam",
            "country": "Nederland"
          }
        ]
      },
      {
        "kvkNumber": "54125286",
        "branchNumber": "000023938145",
        "rsin": "851176203",
        "tradeNames": {
          "businessName": "InShoring Pros Holding B.V.",
          "shortBusinessName": "InShoring Pros Holding B.V.",
          "currentTradeNames": [
            "InShoring Pros Holding B.V.",
            "Recourcing Pros",
            "Mobile Pros",
            "eCommerce Pros",
            "MyWebshopManager",
            "Mendix Pros",
            "Cloud Pros",
            "Testing Pros"
          ],
          "currentStatutoryNames": [
            "InShoring Pros Holding B.V."
          ]
        },
        "hasEntryInBusinessRegister": true,
        "hasNonMailingIndication": false,
        "isLegalPerson": false,
        "isBranch": true,
        "isMainBranch": true,
        "addresses": [
          {
            "type": "vestigingsadres",
            "street": "Bos en Vaartstraat",
            "houseNumber": "28",
            "houseNumberAddition": "RD",
            "postalCode": "2012LH",
            "city": "Haarlem",
            "country": "Nederland"
          }
        ],
        "websites": [
          "www.inshoring-pros.com"
        ]
      }
    ]
  }
}

 

=====================================

Add Product to shopping cart

$
0
0

We are creating an application where it's needed to add something to a shopping cart. We have created three entities, product, shoppingcart, shoppingcart_products.

To make the products visible, we have created an listview with entity product. The listview represent the name, image and the description of the product. Below all the information we have created an action button with the caption "Add to cart". What is the best way to make the button interact with the shoppingcart?

We have very low, to none experience with Mendix yet. Since we just started this as a schoolproject.

Thanks in advance!

Viewing all 83469 articles
Browse latest View live


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