Clear a Portal
6 posts
• Page 1 of 1
Posts: 15
Joined: Fri May 01, 2009 2:54 pm Location: Oregon |
I have a window that shows attendees at a specific event. The problem is that the end users tend to duplicate the events to make it easier to fill the calendar, but they do so AFTER they add the list of attendees, so I have attendees listed on future activities. Is there a way to script a button to clear not just a portal ROW, but the entire portal on these events? Please help!
|
Hi Kyra,
How do you have the attendees tied to the event? Is it through a relationship, a repeating field, or some other way? -Jason |
|
Posts: 15
Joined: Fri May 01, 2009 2:54 pm Location: Oregon |
Hi Jason,
I'm using the seedcode calendar (not the newest one, however) and the portal is on the mini window - activities layout, and it's pointed at the CalDailyApptContactsTo table. Does that mean anything to you? |
Ah, the old calendar!
The old calendar was set up to have a one to one relationship between events and contacts. It sounds like you have it customized so one event can have multiple contacts. Make sure you backup your file before making any changes, just in case you get into trouble! Try making sure the field ApptContactID_kf is cleared in the duplicate, and doesn't copy the value from the original. In the script "Edit Appointment - Dupe" add a script step after the "Duplicate Record" step that clears it: SetField[CalDailyAppointments::ApptContactID_kf; ""] Let me know if that works. |
|
Posts: 15
Joined: Fri May 01, 2009 2:54 pm Location: Oregon |
I have purchased the new calendar, but haven't integrated it yet... is what I'm trying to do going to be easier with the new calendar?
|
Hi Kyra,
The current calendar still starts with their only having one contact per event. It sounds like you've customized yours to allow for multiple contacts per event, so you would need to make that modification in the new calendar as well, and will have the same issues...so basically, no, the new calendar won't make this any easier. Am I right about the customization, or am I missing something? |
|
6 posts
• Page 1 of 1
Who is online
Users browsing this forum: Google [Bot] and 3 guests