Unable to Add Snippet

0
Issue Summary: We're experiencing issues adding snippets to the Atlas_Default layout in Mendix version 10.17.0. Key Details: The issue occurs even after adding the snippet to a data container, such as a data view, list view, or template grid. The same functionality worked in version 9.6.0. An error message indicates that the snippet call needs to be moved into a data container. Error Message Screenshot: Current Status: We've tried adding the snippet to a data grid/container, but the issue persists. Request Assistance: Could you please help us resolve this issue and provide guidance on how to successfully add snippets to the Atlas_Default layout in Mendix version 10.17.0?
asked
3 answers
0

Hello Lokesh,

 

Drag a dataview and move that snippet into the dataview. 

 

image.pngimage.png

answered
0

You don't want to be directly editing Marketplace module such as Atlas Core. This makes it very difficult to upgrade as when you install the latest version, you loose your changes. Instead, you should create a local copy of what you want to change in a new module. In this case, copy the Atlas Default layout to your new module and make the changes there. You can then use the App -> Tools -> Batch Update Layouts... option to change your pages to use your new layout.

 

For your specific problem, it looks like the SNIP_User_Session is expecting some parameters to be passed to it. Have a look in the snippet, and see what those parameters are. Then, in your layout, pass those parameters in a DataView (or List View or Template Grid depending on your requirements).

 

Good luck!

answered
0

Lokesh, Follow below steps:

1.Click on parameter in snippet and remove that parameter.

  image.png 

2. If you passing any parameter in microflow MF_User_Session remove that parameter.

image.png

 

Check issue will resolve.

image.png

answered