Forum Discussion
christopher_gillis
8 years agoNew Member
Hello,
If you disable "Use Wildcards", it is possible to search for an asterisk if you search for the full string containing it. For example, you can find a Part named '* test' if you search for exactly '* test'.
To the best of my knowledge it is not possible to use search for an asterisk using the built-in search modes if you have wildcards enabled.
Please note that it is possible to search for an asterisk directly through AML if you use the where attribute like the sample below.
<AML>
<Item type="Part" action="get" where="[part].item_number like '%*%'"/>
</AML>
One thing you could try is to create your own custom search mode. You can find an example of this on the Aras Labs GitHub here. You create an AML query from your user's input and use the values inside of a where clause like above to allow them to search for asterisks as expected.
Chris
___________________________________
Christopher Gillis
Aras Labs Software Engineer