Skip to content

Instantly share code, notes, and snippets.

@cgillis-aras
Created May 31, 2018 19:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cgillis-aras/64e506dcfa11630836b794f65a65c569 to your computer and use it in GitHub Desktop.
Save cgillis-aras/64e506dcfa11630836b794f65a65c569 to your computer and use it in GitHub Desktop.
Example of how to use a standard search filter from an onSearchDialog event in Aras Innovator
// Example of the standard way to set a Filter in an onSearchDialog event
var Filter = {};
Filter["name"] = { filterValue: "%Admin", isFilterFixed: false };
Filter["is_alias"] = { filterValue: "1", isFilterFixed: true };
return Filter;
@Speedriser
Copy link

How can i replace filterValue with a dynamic parameter that is passed from the javascript page that calls the search dialog?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment