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

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

Recommended Posts

Posted

Sorry if "Portals" is not the correct forum for this question (For some users, that's better important than help us) maybe belongs to Scripts 

 

I have a layout with some portals to calculate a Statement, and I want to have scripts to add new portal row to an especific portal.

The original layout is named "Enterprise"
The portals shows info from "Statement" Table

This is the script for the "Sales" Portal on "Enterprise" layout:

Set variable [$StatementID; Value Enterprise::Statement_ID]

Go to Layout ["Statement" (Statement)]
New Record/Request
Go to Layout (Original)

Go to portal row [Last]

Set Field [statement::id_edo_result; $StatementID]

 

it works, but not so well, starts from "date" field

 

if I make another script for "Costs" Portal with "Costs" field, it returns a new portal for the "Sales" Portal 
how can I to do it for each one ?


This is the file, I can't attach it 

https://www.dropbox.com/s/okceur6b6cdl6ua/Estado-Resultados%20%28copia%29.fp7.rar?m

Posted

In the Inspector palette, give each portal an object name.

In your script, use the Go to object( yourPortalName ) before the go to portal row step.

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