No parameter dialog for scripts beginning with Parameter block

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 3 years and 9 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
alexayr
Posts: 18
Last visit: Tue Mar 26, 2024 10:14 am

No parameter dialog for scripts beginning with Parameter block

Post by alexayr »

To help you better we need some information from you.

*** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. ***

Product: PowerShell Studio 2020 (64 Bit)
Build: v5.7.179
OS: Windows 10 Enterprise (64 Bit)
Build: v10.0.17763.0

*** Please add details and screenshots as needed below. ***

DO NOT POST LICENSES, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM

The parameter dialog (that allows for the entering of values for script parameters) does not appear when executing scripts that begin with a parameter block. Up until recently I hadn't had an immediate need to pass parameters to my scripts, but used it extensively in Powershell Studio 2019. Is there a way to restore this capability?
User avatar
brittneyr
Site Admin
Posts: 1674
Last visit: Thu Apr 18, 2024 12:55 pm
Answers: 39
Been upvoted: 31 times

Re: No parameter dialog for scripts beginning with Parameter block

Post by brittneyr »

There was known issues with this in build 178 that were supposedly resolved in 179. I do get some strange behavior that I have reported to the development team, but I have no issues with the parameter dialog appearing. Did you use the Edit Parameters dialog to add the parameters or did you manually type them in?
Brittney
SAPIEN Technologies, Inc.
User avatar
alexayr
Posts: 18
Last visit: Tue Mar 26, 2024 10:14 am

Re: No parameter dialog for scripts beginning with Parameter block

Post by alexayr »

Build: v5.7.179 seems to have resolved the problem.

Q: Did you use the Edit Parameters dialog to add the parameters or did you manually type them in?
A: Manually typed them in.
User avatar
brittneyr
Site Admin
Posts: 1674
Last visit: Thu Apr 18, 2024 12:55 pm
Answers: 39
Been upvoted: 31 times

Re: No parameter dialog for scripts beginning with Parameter block

Post by brittneyr »

Can you please attach your script or upload it here:
https://www.sapien.com/support/upload
Brittney
SAPIEN Technologies, Inc.
This topic is 3 years and 9 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.