Notifications
Announcements
No record found.
Hi all,
Maybe, someone has found how to use regular expressions in Metadata Search. It will be useful, isn't it?
Thank you in advance.
*This post is locked for comments
Hi Hidden developer,
Why would you want to use regular expressions in your searches? Can you give an example what you want to achieve? Regular expressions are useful for patterns. If you do a search, in my opinion you are looking for a certain given keyword and where it has been used.
For example, I want to find a following code statement: "update_recordSet * where" or something like that.
Did you try following syntax ?
code:"update_recordSet" type:class
I am just searching in class but you can search by just specifying comma like class,form,table. If you are looking for general syntax you can get it through web search as well.
The publicly available code is all available on local drive of DEV VM. You can use AngentRanSack to search any piece of code. I totally agree with André that, there is no need of Regex Expression. Those are used for needs such as for example if you want to validate email address format.
Regular expressions are indeed useful when look for strings with particular patterns; validations (such as the validation of e-mail address mentioned before) is just one category of such searches.
Regarding AX, I use regular expressions in ApplicationExplorer every day. For example, if you look at names starting with Cust and ending with contract, the pattern ^Cust.*Contract$ will match them.
But I don't have a solution for the question regarding metadata search. If you can use regular expressions in the code: directive, I'm not aware of how. It may require other tools searching directly the content of underlying .xml files.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 4 Most Valuable Professional
Priya_K 4
MyDynamicsNAV 2