How can I choose a specific Search Mode when opening a Search Dialog via Method?
Hi community,
I use following code to open a classic Part search dialog.
[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:e11e18e7-06f2-4dd3-8697-899cd4f649c4:type=javascript&text=const%20param%20%3D%20%7B%0A%20%20%20%20aras%3A%20aras%2C%20%0A%20%20%20%20type%3A%20%27SearchDialog%27%2C%0A%20%20%20%20dialogWidth%3A%201200%2C%0A%09dialogHeight%3A%20500%2C%0A%20%20%20%20itemtypeName%3A%20%27Part%27%2C%20%20%0A%20%20%20%20defaultSearchMode%3A%20%22AML%22%2C%20%20%2F%2F%20%3F%3F%3F%3F%3F%3F%0A%7D%3B%0A%0Aconst%20topWnd%20%3D%20aras.getMostTopWindowWithAras%28%29%3B%0AtopWnd.ArasModules.MaximazableDialog.show%28%27iframe%27%2C%20param%29.promise.then%28callback%29%3B]
Is it possible to pre-select the used search mode?
Typically the "Simple" (Einfach) search mode is preselected. I have an additional custom search mode that is similar to Simple, but allows users to search for all generations of a Part.
In my use case user shall be able to search and select previous Part versions. So it would be convenient if my custom search mode would be selected automatically when the search dialog is opened.
I guess this is currently not possible. But maybe somebody has an idea?
Thanks!
Angela