Skip to end of banner
Go to start of banner

Example 7 - (Video) - How to use argv["query"]

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Current »

Power Custom Fields PRO™ is becoming Power Custom Fields Premium™


Power Custom Fields PRO™ is being upgraded to Power Custom Fields Premium™. We are removing Power Custom Fields PRO™ from the market to focus resources on the combined app, Power Custom Fields Premium™ which has all the features of PRO™ and more. Existing Power Custom Fields PRO™ users can get 65% off their new Power Custom Fields Premium™ license by following the steps here.

You can use Power Custom Fields PRO for huge data sets. Still, showing all the options, without being able to select them by name can be a torture. So, you can limit the value count and filter them by name selecting the ones which contain those characters.


In order to do this, you can use argv["query"] only if you set the Filtering Strategy (from Autocomplete settings) to Datasource.

Video

See the following example for the routine usage:

 

Script details

The video used the following script:

string [] issues = selectIssues("created < now()");
string [] res;
for (string iss in issues) {
    if (contains(iss.summary, argv["query"])) {
        res = addElementIfNotExist(res, iss);
    }
}
return res;

See also

Data Source Configuration

  • No labels