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

Adding Files to a Portal Row


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

Recommended Posts

Posted

Hi Folks,

I have a contacts/events managment database. I have a layout for event information on which I have a portal that displays event materials - in this case files. I created a script to add files to this portal but all of a sudden it's not working. What happens is:

1) The script doesn't work if the portal is empty (i.e. a new event record)

2) It overwrites the last file added

Here's the script:

Set Variable [$eventid; Value: Events: Event_ID]

Go to Field [Event_Materials::Title]

Go to PortalRow [select;Last]

SetField [Event_Materials::Title;1]

SetField [Event_Materials::Title;""]

SetField [Event_Materials::For_ID;$eventid]

Instert File [Event_Materials::File]

SetField [Event_Materials::Title;Event_Materials::File]

Go to Field[]

Please help!

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