Click here to Skip to main content
16,023,224 members

Comments by ImfeldC (Switzerland) (Top 1 by date)

ImfeldC (Switzerland) 2-Nov-23 11:03am View    
Yes, I asked the same question two years ago in Microsoft forum and didn't get an answer. In this forum I got an answer within 15' .... Wouw! :-)

I would like to use the same script to retrieve several different custom values (approx. 10-15 values). The retrieval process is for all values the same, as they are retrieved from same website/API. The decision what to retrieve would be done with this parameter.
Workaround is, to create one main script and create for each custom value an own separate script, which calls the main method (loaded from main script). Creating 10-15 scripts is cumbersome, it would be much easier to just pass a parameter to the script, when setting-up custom value.

Anyhow, many thanks for your answer.