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

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

Recommended Posts

Posted

Go to layout (leftValues(get(scriptParameter);1))

Does anyone know why this script step doesn't work? I have tested and pretty sure that leftValues(get(scriptParameter);1) returns the exact layout name that the script step "Go to Layout, layout name by calculation" supposed to display. It simply doesn't go there at all.

Very strange frown.gif

Posted

I haven't used this, but reading the help, it looks like LeftValues gets values from a list separated by carriage returns, and I believe script parameters are passed as single strings.

Try LeftWords instead, or perhaps try manually inserting the paragraph marker as your parameter delimiter while using LeftValues.

Dan

Posted

I need to use leftValues because I passed 2 parameters, one is the layoutName to go to and the other is the accessPrivilege for that account.

I found the solution for the problem. Apparently leftValues also includes the carriage return. That's why it didn't work before. This is the script:

Go to layout ( Substitute(LeftValues(Get(ScriptParameter);1);

This topic is 7438 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.