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

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

Recommended Posts

Posted

Put your button in the first portal row where the fields are, and use the Script Step Go To Related Record (GTRR). You can find that step either in the Button Format window, or in the Script Steps in ScriptMaker.

HTH

Lee

cool.gif

Posted

Thanks Lee, but I might be doing something very wrong...I did the thing you told me to, but still takes me to the wrong layout frown.gif.

My goal: Is to make the button go to a specific record/ layout

I have a record which I called it portal- it contains all the buttons that go to the specific records. In addition I have a record with different layouts where some information is confidential to others. So the purpose of the button, is to send the user to the specific layout.

I might of done this in a complicated way. Any other ideas of doing it, would be greatly appreciated smile.gif. Thanks.

Posted

Because you need two steps here, you will need to write a script.

Go into the Scripts menu and choose scriptmaker.

Create a new script.

You need to add two commands.

Go To Related Record [ychoose the portal relationship from the options]

Go To Layout [choose the correct layout from the options]

Now, come out of scriptmaker and in Layout mode, double click on your button in the portal.

Choose the Perform Script step and then in the options choose the correct script.

This should now go to that record AND change layout for you.

HTH

Posted

Hello Andy,

I did what you told me to. But on

"Go To Layout [choose the correct layout from the options] "

it doesn't let me specify the specific layout(I mean it doesn't show the layout i want it to go to).

Posted

I bet the problem is that he needs to go to a specific layout in the RELATED file.

Ronnie, you will need to create a 2nd script in the related file that has a "goto layout" step. Then in your first script, call your new script in the related file.

Posted

hello Ted,

Could you give a little more details, cause i might be doing something wrong. Because from what I understood of what to do, the related file doesn't even open frown.gif.

Thank you smile.gif

Posted

The main script:

Go to Related Record [show only related, "Style Costing"]

Perform Script [External, related file, "Go to Layout"]

The external "Go to Layout" script:

Go to Layout [style Costing]

Toggle Window [Maximize]

Posted

Ok, I did that but on the external- because on the goto layout command, I can't specify "Go to Layout[style Costing]

on the specify option, it just give me 5 options:

1-layout 1

2-layout 2

3-layout 3

----------

layout # from field

original layout

It doesn't give me the option for

"style costing"

sorry, for the struggle frown.gif

Posted

I just used Style Costing as an example. You will use whichever name is appropriate for the layout you want to display.

Posted

I understand that you used style costing for example; and that is where i wish i was at (have style costing: layout #5,or 4 or 3 in my specified option) but I don't have that option: any ways here are the file: Please take a look...

Posted

That doesn't appear to be a valid zip file. Edit your message and try attaching it again.

Posted

2nd file: i am trying to link sales: to style costing last layout

from main gate to style costing

If you see these two files: I am trying to click on the <price button> which takes me to <related-record(style costing)/layout $ales>

on the script (1-main gate)

I input as described on past posts:goto layout

and subscript is: goto sales

please ignore the other parts.... database is not fully complete, I gotta figure somethings out before i procceed smile.gif

Posted

Your TOLAYOUT1 script already has it. Just call that script in your other file, after the Go to Related Record step, using Perform Script, select External, navigate to the file, select it, then select its TOLAYOUT1 script.

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