SeedCodeCalendar12

Jump To My Event

SeedCodeCalendar12.JumpToMyEvent History

Hide minor edits - Show changes to output

August 07, 2010, at 12:38 AM by 76.22.123.157 -
Changed lines 15-25 from:
Note that you may end up having one of these scripts for each [[multiple sources | source]] as each will have their own detail layout.
to:
Note that you may end up having one of these scripts for each [[multiple sources | source]] as each will have their own detail layout.

!! What if my layout is in another file?

If you want to see the event in a mini window first, and *then* jump to the layout in your file, you can use our script "Jump to Event in My Layout ( Event ID )" to call a script in your file, passing the event iD as a script parameter. The script in your file would then go to the right layout and perform a find for the eventID.

That is the easiest way.

If you want them to go right to the layout in your file when you first click on an event, you'll still write the same script in your file to find the event by event ID, but you'll call that script from within our script "Click in / Drag Event". If you have only one source in the calendar, you can replace everything between the comment "----------------  Else, display the selected record  ----------------" and the comment " > > End If Mixed Sources" with a call to the script in your file, the script parameter containing the event ID would be $sc_UID

If you have more than one source this is trickier, and we can build this for you as a custom modification
.
July 22, 2010, at 04:34 AM by 76.22.123.157 -
Changed line 15 from:
Note that you may end up having one of these scripts or each [[multiple sources | source]] as each will have their own detail layout.
to:
Note that you may end up having one of these scripts for each [[multiple sources | source]] as each will have their own detail layout.
February 03, 2010, at 03:36 PM by 76.22.123.157 -
Changed lines 13-15 from:
That's it.
to:
That's it!

Note that you may end up having one of these scripts or each [[multiple sources | source]] as each will have their own detail layout
.
February 03, 2010, at 04:30 AM by 76.22.123.157 -
Changed lines 11-12 from:
SetField [SampleEvents::_id; Get ( ScriptParameter )]
to:
-> SetField [SampleEvents::_id; Get ( ScriptParameter )]
January 20, 2010, at 02:07 AM by 76.22.123.157 -
Added lines 1-13:
!! Can I click a button in the calendar to see the event in one of my layouts?

Absolutely.

When you click on an event in the calendar it comes up in the Event Details mini window. We already have a script written that will close this window and take you to the event record in another layout in your solution.

So add a button to the Event Details window, and add the script "Jump to Event in My Layout ( Event ID )" to this button: add the field containing the primary key (unique ID) of your event as the script parameter. For example, this would be SampleEvents::_id in the sample events table that comes with the calendar.

Now edit the script "Jump to Event in My Layout ( Event ID )" and you'll see two areas that need you to modify them: the first specifies the layout you'd like to see you event in, and the second is a SetField that probably says Field Missing: you'll need to point that at the sample events field in your table so it looks something like this:

SetField [SampleEvents::_id; Get ( ScriptParameter )]

That's it.
(855) SEEDCODE
[email protected]
Follow us: