XPATH snippets - Mendix Forum

XPATH snippets


Currently Mendix promotes reusability of code by providing page snippets and microflows, you can centralize your business logic and use it in multiple places. However to make full use of e.g. datagrids, you need to specify the XPATH retrieve on the grid itself. 


It would be great if it was possbile in Mendix to save XPATHs and reuse them. Then it would be possible to save the main XPATH and simply add one or two simple contraints in places where a further subset is needed.

2 answers

Have had this idea ever since snippets came out! So brilliant idea :-)


I 100% agree on this, we end up creating multiple snippets just because of lack of this feature. Its still a half baker feature without it