How can I fix the CE1571 Error: No argument has been selected for parameter Token and no default is available.Please select an argument manually.

0
Hello Mendix Developers, I'm relatively new to Mendix development and I encountered an error in Mendix in the EmailTemplate_NewEdit Snippet when I wanted to use the Email Connector module in my project. I have no clue how can I fix this. You can examine the problem in the following screenshot. I would greatly appreciate any advice, tips, or insights that you can offer. Thank you so much for taking the time to assist us with my question.  
asked
3 answers
3

Hi Altay, I hope you managed to solve the problem on your own

I'm new to Mendix development, and I was having the same issue.

I managed to solve it by editing the on click action and choosing "None" in the selection pop-up and hitting ok.

Then I reopened the Edit button properties and selected again the Token_NewEdit page.

 

I have no idea why this worked, but it did. Hope this helps!

answered
0

Hello Altay,

 

It looks like one of the functions in your application need a parameter that is token.

This parameter need to be provided by you(your application) in order to execute the function.

Based on your error and your screenshot probably it is the microflow behind the edit button or the page behind the edit button that expects the parameter.

You can navigate to the on click action of the edit button and see what the function is and you can check in the left top corner the parameters that are necessary for the page and if it is a flow you can check the yellow floating blocks that are the parameters for your flow.

 

If you cannot provide the parameter on the page or in the flow you can do different things:

 

Remove the parameter and retrieve it in the flow if it is a microflow

or remove the parameter and retrieve in a separate datawidget if it is a page

or instead of directly calling the page use a flow to retrieve the parameter and call the page with the parameter via the flow.

 

Hope this helps!

 

Good luck!

answered
0

Hello Altay, 

I had the same issue and was able to figure it out. When editing the properties of the button, specifically the on-click action, it wants you to specify the property that is selected. 

 

To do this you must select "edit" for Events > Page Settings. Then there will be a "Page Arguments Field" dropdown which you must select which selected item is being edited. 

 image.png

 

answered