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

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

Recommended Posts

Posted

Hi, need a script step(s) to paste the contents of the clipboard to the next unused row in a portal.

Which, I suppose, is by definition also creating a new record in the related table.

In this case, my portal contains only one field. Both the portal and the field are from the same table.

But as long as we're on the subject, I'd also know how to do the same thing if I were to have to specify a particular field because the portal contained more than one field.

TIA!

Posted

I'm not sure where the data is coming from, but you usually want to use the "Set Field" step instead of "Paste". Either way, this is how you create a record via a portal (with "allow creation of related records" enabled on the relationship):

  1. Make the portal, or a field/object in the portal active. This can be done many ways, but I often use a "go to field" step.
  2. Go to last portal row
  3. Set the contents of your field, and if the relationship was setup properly, a related record will be created
Posted

Perfect, thanks! It works with "Paste" too.

I'm not sure where the data is coming from

The data comes from the operator manually having selected and copied a text string from someplace, such as from within a text field or some other document.

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