Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Passing a -script parameter in XSLT: possible?


This topic is 7114 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Is it possible to pass a -script parameter directly from an XSLT query? In other words, when using the '-script' in a query, is it possible to include a parameter which can then be used in the script by invoking the 'Get( ScriptParameter )' function?

Thanks for the help,

Adrien

Posted

No, there isn't a possibility. That's one of the main drawbacks of -script that existed also in the CDML times. It's besides other reasons the reason why I never use -script in my solutions. -script is only coupled loosely to the WPE by either the found set it can act on or on the result set that exists when one uses -script.prefind .

Posted

I also avoid -script. Usually there are other ways to do the same thing.

This topic is 7114 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.