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

setting fields not shown on the layout


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

Recommended Posts

Posted

hi, can somebody help me? i would like to set fields from the table according the current fields in the layout without showing them. but each script step i tried reqires to see the field on the layout

Posted

hmm... i didn't specify my problem enough... my problem can solve a portal, but i don't want to use portal i want to add related records without and on the new layout and there i need to copy id and then paste it on the other layout to the other field in other table

and... i tried to use set field in another script in a loop as a counter and it didn't work too, if it wasn't on a layout

Posted

Copying and pasting DO require fields to be on the current layout. Set Field[] does not, and neither does Set Variable[], so use those instead:

Set Variable [ $parentID; Value: Parent::ParentID ]

Go to Layout [ ]

New Record/Request

Set Field [ Child::ParentID; $parentID ]

# MORE SET FIELD STEPS HERE TO POPULATE THE CHILD VALUES

Commit Records/Requests

Go to Layout [ original layout ]

The script must start on a layout of the parent table. This will work even if both layouts are completely blank.

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